Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 370.9 MB, free: 9.312 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2385, allocations: 52.19 MB / 423.1 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01167/0.2502, allocations: 9.807 MB / 432.9 MB, free: 4.793 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00544/0.2556, allocations: 2.701 MB / 435.6 MB, free: 2.082 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.2564, allocations: 91.56 kB / 435.7 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00948/0.2659, allocations: 4.237 MB / 440 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003151/0.269, allocations: 0.9497 MB / 440.9 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2711, allocations: 0.8357 MB / 441.7 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00541/0.2765, allocations: 4.097 MB / 445.8 MB, free: 7.848 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.2869, allocations: 6.779 MB / 452.6 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.291, allocations: 2.404 MB / 455 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004428/0.2954, allocations: 2.655 MB / 457.7 MB, free: 11.88 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001428/0.2968, allocations: 0.6679 MB / 458.3 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.2989, allocations: 0.8787 MB / 459.2 MB, free: 10.33 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001184/0.3, allocations: 1.243 MB / 460.5 MB, free: 9.082 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003206/0.3033, allocations: 2.553 MB / 463 MB, free: 6.52 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3133, allocations: 8.918 MB / 471.9 MB, free: 13.57 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3133, allocations: 0 / 471.9 MB, free: 13.57 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.3133, allocations: 0 / 471.9 MB, free: 13.57 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0002106/0.3135, allocations: 0 / 471.9 MB, free: 13.57 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.01434/0.3279, allocations: 5.323 MB / 477.3 MB, free: 8.195 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3279, allocations: 12.02 kB / 477.3 MB, free: 8.184 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/0.3358, allocations: 1.321 MB / 478.6 MB, free: 6.859 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.3416, allocations: 2.598 MB / 481.2 MB, free: 4.23 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.342, allocations: 349.3 kB / 481.5 MB, free: 3.887 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.343, allocations: 452 kB / 482 MB, free: 3.445 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.3575, allocations: 6.098 MB / 488.1 MB, free: 13.3 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/0.3576, allocations: 3.953 kB / 488.1 MB, free: 13.3 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004619/0.3581, allocations: 188 kB / 488.3 MB, free: 13.12 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.3583, allocations: 193.5 kB / 488.5 MB, free: 12.93 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.369, allocations: 5.272 MB / 493.7 MB, free: 7.641 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03223/0.4012, allocations: 20.21 MB / 0.5019 GB, free: 2.797 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.4066, allocations: 2.109 MB / 0.5039 GB, free: 0.75 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.4076, allocations: 0.5961 MB / 0.5045 GB, free: 160 kB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.4077, allocations: 40.97 kB / 0.5046 GB, free: 116 kB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4078, allocations: 43.56 kB / 0.5046 GB, free: 64 kB / 414.1 MB
Notification: Performance of pre-optimization done (n=94): time 2.945e-06/0.4078, allocations: 0 / 0.5046 GB, free: 64 kB / 414.1 MB
Notification: Performance of matching and sorting (n=94): time 0.002482/0.4103, allocations: 1.44 MB / 0.506 GB, free: 14.62 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4103, allocations: 60.41 kB / 0.5061 GB, free: 14.54 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.4126, allocations: 1.458 MB / 0.5075 GB, free: 13.07 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.4127, allocations: 41.7 kB / 0.5075 GB, free: 13.03 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.4142, allocations: 2.045 MB / 0.5095 GB, free: 10.96 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.4146, allocations: 365 kB / 0.5099 GB, free: 10.61 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006624/0.4153, allocations: 471.9 kB / 0.5103 GB, free: 10.14 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002014/0.4155, allocations: 361.9 kB / 0.5107 GB, free: 9.777 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.4167, allocations: 0.8085 MB / 0.5115 GB, free: 8.965 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.419, allocations: 1.937 MB / 0.5134 GB, free: 6.473 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.4229, allocations: 2.923 MB / 0.5162 GB, free: 3 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/0.4229, allocations: 12 kB / 0.5162 GB, free: 2.988 MB / 430.1 MB
Notification: Performance of matching and sorting (n=283) (initialization): time 0.004617/0.4275, allocations: 2.794 MB / 0.519 GB, free: 192 kB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.4276, allocations: 24 kB / 0.519 GB, free: 168 kB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-05/0.4276, allocations: 40 kB / 0.519 GB, free: 128 kB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 6.355e-05/0.4277, allocations: 52 kB / 0.5191 GB, free: 76 kB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4294, allocations: 0.5342 MB / 0.5196 GB, free: 15.54 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001178/0.4295, allocations: 80.22 kB / 0.5197 GB, free: 15.46 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4308, allocations: 301.9 kB / 0.5199 GB, free: 15.16 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.431, allocations: 120 kB / 0.5201 GB, free: 15.05 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.002707/0.4337, allocations: 1.671 MB / 0.5217 GB, free: 13.36 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.434, allocations: 131.1 kB / 0.5218 GB, free: 13.23 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.4363, allocations: 1.349 MB / 0.5231 GB, free: 11.87 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001353/0.4377, allocations: 0.9319 MB / 0.524 GB, free: 10.93 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4377, allocations: 0 / 0.524 GB, free: 10.93 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4377, allocations: 7.922 kB / 0.5241 GB, free: 10.92 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2076/0.6452, allocations: 11 MB / 0.5348 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.6453, allocations: 19.67 kB / 0.5348 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/0.6461, allocations: 209.4 kB / 0.535 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.344e-05/0.6462, allocations: 29.64 kB / 0.535 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.6463, allocations: 46.23 kB / 0.5351 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-05/0.6463, allocations: 43.64 kB / 0.5351 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.111e-05/0.6463, allocations: 36.09 kB / 0.5352 GB, free: 101.3 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.649, allocations: 2.445 MB / 0.5376 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.6496, allocations: 260 kB / 0.5378 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6498, allocations: 49.19 kB / 0.5379 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/0.6504, allocations: 64.17 kB / 0.5379 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6506, allocations: 134.3 kB / 0.538 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.6507, allocations: 53.89 kB / 0.5381 GB, free: 100.5 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001214/0.6519, allocations: 0.9986 MB / 0.5391 GB, free: 100.1 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.6519, allocations: 0 / 0.5391 GB, free: 100.1 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002222/0.6541, allocations: 0.9484 MB / 0.54 GB, free: 100 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.000272/0.6544, allocations: 209.4 kB / 0.5402 GB, free: 99.89 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002073/0.6564, allocations: 1.795 MB / 0.5419 GB, free: 99.24 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6565, allocations: 3.938 kB / 0.5419 GB, free: 99.24 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.6571, allocations: 0.5565 MB / 0.5425 GB, free: 99.06 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.6591, allocations: 388.5 kB / 0.5429 GB, free: 98.95 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/0.6679, allocations: 6.95 MB / 0.5497 GB, free: 95.31 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.67, allocations: 3.076 MB / 0.5527 GB, free: 93.9 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001584/0.6715, allocations: 0.8044 MB / 0.5534 GB, free: 93.83 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.6718, allocations: 117.6 kB / 0.5536 GB, free: 93.82 MB / 446.1 MB
Notification: Performance of SimCode: time 9.22e-07/0.6718, allocations: 0 / 0.5536 GB, free: 93.82 MB / 446.1 MB
Notification: Performance of Templates: time 0.02898/0.7008, allocations: 20.21 MB / 0.5733 GB, free: 75.32 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.272132287733257]