Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001791/0.001791, allocations: 205.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.89 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2526, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01131/0.264, allocations: 8.512 MB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005767/0.2697, allocations: 2.651 MB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2713, allocations: 91.5 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009872/0.2811, allocations: 3.896 MB / 447.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.2845, allocations: 0.7719 MB / 448.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.2873, allocations: 0.93 MB / 449.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00536/0.2927, allocations: 4.085 MB / 453.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.3029, allocations: 7.058 MB / 460.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.3062, allocations: 2.416 MB / 462.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.3105, allocations: 2.55 MB / 465.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.3118, allocations: 0.6641 MB / 466 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3141, allocations: 0.8865 MB / 466.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.3155, allocations: 1.239 MB / 468.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.3185, allocations: 1.988 MB / 470.1 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.3288, allocations: 8.968 MB / 479.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3288, allocations: 0 / 479.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3288, allocations: 0 / 479.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001979/0.329, allocations: 0 / 479.1 MB, free: 7.578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01402/0.343, allocations: 5.327 MB / 484.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.343, allocations: 11.98 kB / 484.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008216/0.3512, allocations: 1.317 MB / 485.8 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005683/0.3569, allocations: 2.606 MB / 488.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.3573, allocations: 353.3 kB / 488.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3583, allocations: 456 kB / 489.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.3711, allocations: 6.135 MB / 495.3 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.97e-05/0.3712, allocations: 4 kB / 495.3 MB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004701/0.3717, allocations: 184 kB / 495.5 MB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/0.3719, allocations: 193.5 kB / 495.7 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009946/0.3819, allocations: 5.268 MB / 0.4892 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.4105, allocations: 17.76 MB / 0.5065 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.4156, allocations: 2.074 MB / 0.5086 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.4166, allocations: 0.5962 MB / 0.5091 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.4167, allocations: 48.88 kB / 0.5092 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.4167, allocations: 43.56 kB / 0.5092 GB, free: 12.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.456e-06/0.4168, allocations: 0 / 0.5092 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002303/0.4191, allocations: 1.433 MB / 0.5106 GB, free: 11.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4191, allocations: 60.41 kB / 0.5107 GB, free: 10.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.4212, allocations: 1.531 MB / 0.5122 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.4212, allocations: 41.7 kB / 0.5122 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.4227, allocations: 2.037 MB / 0.5142 GB, free: 7.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.423, allocations: 365.1 kB / 0.5146 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/0.4236, allocations: 479.9 kB / 0.515 GB, free: 6.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4238, allocations: 353.9 kB / 0.5154 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.425, allocations: 0.8124 MB / 0.5162 GB, free: 5.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4271, allocations: 1.945 MB / 0.5181 GB, free: 2.836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.4306, allocations: 2.931 MB / 0.5209 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-05/0.4306, allocations: 11.98 kB / 0.5209 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004233/0.4348, allocations: 2.801 MB / 0.5237 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.4349, allocations: 23.98 kB / 0.5237 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/0.4349, allocations: 40 kB / 0.5237 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.465e-05/0.435, allocations: 52 kB / 0.5238 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.4366, allocations: 0.5426 MB / 0.5243 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.428e-05/0.4367, allocations: 79.66 kB / 0.5244 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.4379, allocations: 301.9 kB / 0.5247 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.4381, allocations: 124 kB / 0.5248 GB, free: 11.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002388/0.4405, allocations: 1.668 MB / 0.5264 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.4407, allocations: 135.1 kB / 0.5265 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.4428, allocations: 1.338 MB / 0.5278 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001312/0.4442, allocations: 0.9396 MB / 0.5288 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4442, allocations: 0 / 0.5288 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4442, allocations: 3.984 kB / 0.5288 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.209/0.6532, allocations: 10.18 MB / 0.5387 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/0.6532, allocations: 18.75 kB / 0.5387 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.6539, allocations: 218 kB / 0.5389 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/0.654, allocations: 24.78 kB / 0.539 GB, free: 95.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.654, allocations: 45.08 kB / 0.539 GB, free: 95.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.97e-05/0.6541, allocations: 37.41 kB / 0.539 GB, free: 95.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-05/0.6541, allocations: 29.75 kB / 0.5391 GB, free: 95.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.6566, allocations: 2.468 MB / 0.5415 GB, free: 93.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.6572, allocations: 254.5 kB / 0.5417 GB, free: 93.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6573, allocations: 48.59 kB / 0.5418 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.658, allocations: 64.41 kB / 0.5418 GB, free: 93.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6581, allocations: 139 kB / 0.542 GB, free: 93.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.6582, allocations: 59.11 kB / 0.542 GB, free: 93.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.6592, allocations: 0.9845 MB / 0.543 GB, free: 93.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6592, allocations: 3.875 kB / 0.543 GB, free: 93.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002198/0.6614, allocations: 0.9514 MB / 0.5439 GB, free: 93.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.6617, allocations: 200.3 kB / 0.5441 GB, free: 93.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.6638, allocations: 1.806 MB / 0.5459 GB, free: 92.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6638, allocations: 3.875 kB / 0.5459 GB, free: 92.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.6644, allocations: 0.5636 MB / 0.5464 GB, free: 92.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.6663, allocations: 384.6 kB / 0.5468 GB, free: 92.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/0.6746, allocations: 6.789 MB / 0.5534 GB, free: 88.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.6765, allocations: 2.45 MB / 0.5558 GB, free: 86.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.6769, allocations: 138.9 kB / 0.5559 GB, free: 86.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6769, allocations: 0 / 0.5559 GB, free: 86.06 MB / 446.1 MB Notification: Performance of Templates: time 0.04094/0.7178, allocations: 40.51 MB / 0.5955 GB, free: 46.55 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.2817530981265]