Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001808/0.001808, allocations: 106 kB / 21.18 MB, free: 0.5586 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.002232/0.002232, allocations: 187.7 kB / 24.46 MB, free: 3.934 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar")
translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 52.39 kB / 347.7 MB, free: 9.641 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01037/0.2882, allocations: 10.14 MB / 407 MB, free: 2.207 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005867/0.2941, allocations: 2.842 MB / 409.8 MB, free: 200 kB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.2961, allocations: 71.94 kB / 409.9 MB, free: 180 kB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01058/0.3067, allocations: 4.255 MB / 414.1 MB, free: 13.54 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004887/0.3116, allocations: 1.069 MB / 415.2 MB, free: 12.69 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.3144, allocations: 0.8479 MB / 416 MB, free: 12.03 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006942/0.3213, allocations: 4.314 MB / 420.4 MB, free: 9.352 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.3355, allocations: 6.812 MB / 427.2 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.3401, allocations: 2.513 MB / 429.7 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005227/0.3453, allocations: 2.807 MB / 432.5 MB, free: 15.56 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001735/0.347, allocations: 0.6758 MB / 433.2 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.3502, allocations: 0.8943 MB / 434.1 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00182/0.352, allocations: 1.325 MB / 435.4 MB, free: 12.66 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004771/0.3567, allocations: 2.669 MB / 438.1 MB, free: 9.984 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3684, allocations: 9.109 MB / 447.2 MB, free: 0.8516 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3684, allocations: 0 / 447.2 MB, free: 0.8516 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.3684, allocations: 0 / 447.2 MB, free: 0.8516 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.0002293/0.3687, allocations: 0 / 447.2 MB, free: 0.8516 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1303
 * Number of variables: 1303
Notification: Performance of Generate backend data structure: time 0.01482/0.3835, allocations: 5.59 MB / 452.8 MB, free: 11.21 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3835, allocations: 11.98 kB / 452.8 MB, free: 11.2 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.3971, allocations: 2.417 MB / 455.2 MB, free: 8.773 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006072/0.4031, allocations: 2.38 MB / 457.6 MB, free: 6.359 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005221/0.4037, allocations: 365.9 kB / 457.9 MB, free: 6 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.4055, allocations: 476 kB / 458.4 MB, free: 5.535 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.4227, allocations: 6.643 MB / 465 MB, free: 14.86 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.4228, allocations: 7.953 kB / 465 MB, free: 14.85 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/0.4242, allocations: 196 kB / 465.2 MB, free: 14.66 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002751/0.4245, allocations: 234.1 kB / 465.5 MB, free: 14.43 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.4383, allocations: 6.114 MB / 471.6 MB, free: 8.301 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04306/0.4814, allocations: 21.53 MB / 493.1 MB, free: 2.121 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007751/0.4891, allocations: 3.094 MB / 496.2 MB, free: 15.21 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4906, allocations: 0.7368 MB / 496.9 MB, free: 14.47 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.005313/0.4959, allocations: 2.111 MB / 499 MB, free: 12.34 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4959, allocations: 30.56 kB / 499.1 MB, free: 12.3 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.4959, allocations: 0 / 499.1 MB, free: 12.3 MB / 414.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0006312/0.4965, allocations: 240.7 kB / 499.3 MB, free: 12.06 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.4966, allocations: 59.28 kB / 499.4 MB, free: 11.99 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/0.5005, allocations: 2.141 MB / 0.4898 GB, free: 9.84 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.5005, allocations: 25.7 kB / 0.4898 GB, free: 9.809 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00202/0.5025, allocations: 2.49 MB / 0.4922 GB, free: 7.293 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5027, allocations: 67.8 kB / 0.4923 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00093/0.5036, allocations: 0.555 MB / 0.4928 GB, free: 6.664 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001865/0.5038, allocations: 349.9 kB / 0.4931 GB, free: 6.316 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.5051, allocations: 0.8167 MB / 0.4939 GB, free: 5.496 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.5078, allocations: 2.231 MB / 0.4961 GB, free: 2.551 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.5114, allocations: 2.96 MB / 0.499 GB, free: 14.88 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-05/0.5115, allocations: 16.25 kB / 0.499 GB, free: 14.87 MB / 430.1 MB
Notification: Performance of matching and sorting (n=308) (initialization): time 0.005436/0.5169, allocations: 3.021 MB / 0.502 GB, free: 11.84 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.517, allocations: 27.98 kB / 0.502 GB, free: 11.81 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/0.5171, allocations: 56 kB / 0.5021 GB, free: 11.76 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 9.41e-05/0.5172, allocations: 68 kB / 0.5021 GB, free: 11.69 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.5191, allocations: 0.5731 MB / 0.5027 GB, free: 11.12 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001091/0.5192, allocations: 99.64 kB / 0.5028 GB, free: 11.02 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.5215, allocations: 413.6 kB / 0.5032 GB, free: 10.61 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.5217, allocations: 148 kB / 0.5033 GB, free: 10.47 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 229
 * 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 (307):
 * Single equations (assignments): 306
 * 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.003239/0.5249, allocations: 1.722 MB / 0.505 GB, free: 8.734 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/0.5254, allocations: 139.1 kB / 0.5051 GB, free: 8.598 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.526, allocations: 247 kB / 0.5054 GB, free: 8.348 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001338/0.5262, allocations: 97.55 kB / 0.5055 GB, free: 8.246 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5262, allocations: 4 kB / 0.5055 GB, free: 8.242 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5262, allocations: 0 / 0.5055 GB, free: 8.242 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.533, allocations: 3.048 MB / 0.5084 GB, free: 5.145 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.533, allocations: 0 / 0.5084 GB, free: 5.145 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5331, allocations: 15.98 kB / 0.5085 GB, free: 5.129 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5331, allocations: 0 / 0.5085 GB, free: 5.129 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.5331, allocations: 0 / 0.5085 GB, free: 5.129 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5331, allocations: 7.938 kB / 0.5085 GB, free: 5.121 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5331, allocations: 0 / 0.5085 GB, free: 5.121 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.5338, allocations: 387.2 kB / 0.5088 GB, free: 4.723 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.5342, allocations: 151.1 kB / 0.509 GB, free: 4.574 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.5345, allocations: 4 kB / 0.509 GB, free: 4.57 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.5351, allocations: 27.95 kB / 0.509 GB, free: 4.543 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.5351, allocations: 4 kB / 0.509 GB, free: 4.539 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.5351, allocations: 0 / 0.509 GB, free: 4.539 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002233/0.5373, allocations: 1.408 MB / 0.5104 GB, free: 3.137 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.5373, allocations: 3.938 kB / 0.5104 GB, free: 3.133 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.002882/0.5402, allocations: 1.004 MB / 0.5114 GB, free: 2.125 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (7):
 * Single equations (assignments): 6
 * 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.0003079/0.5405, allocations: 139.1 kB / 0.5115 GB, free: 1.977 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.002577/0.5431, allocations: 1.395 MB / 0.5129 GB, free: 0.5898 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5431, allocations: 0 / 0.5129 GB, free: 0.5898 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.5432, allocations: 39.92 kB / 0.5129 GB, free: 0.5508 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.5449, allocations: 330.1 kB / 0.5132 GB, free: 232 kB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.5585, allocations: 6.182 MB / 0.5193 GB, free: 10 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/0.5631, allocations: 3.136 MB / 0.5223 GB, free: 6.84 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002112/0.5652, allocations: 0.7945 MB / 0.5231 GB, free: 6.039 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.5655, allocations: 99.42 kB / 0.5232 GB, free: 5.941 MB / 446.1 MB
Notification: Performance of SimCode: time 1.172e-06/0.5655, allocations: 0 / 0.5232 GB, free: 5.941 MB / 446.1 MB
Notification: Performance of Templates: time 0.04352/0.609, allocations: 20.01 MB / 0.5427 GB, free: 1.895 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.140657423995435]