Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001283/0.001283, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001415/0.001415, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta")
translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 60.78 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2916, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01144/0.3031, allocations: 9.206 MB / 441.6 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006091/0.3092, allocations: 2.663 MB / 444.3 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.3098, allocations: 75.69 kB / 444.4 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00805/0.3179, allocations: 3.764 MB / 448.1 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002596/0.3204, allocations: 0.7801 MB / 448.9 MB, free: 6.406 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.3226, allocations: 0.9532 MB / 449.9 MB, free: 5.453 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004165/0.3267, allocations: 3.646 MB / 453.5 MB, free: 1.793 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.007947/0.3347, allocations: 5.879 MB / 459.4 MB, free: 11.83 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.3378, allocations: 2.139 MB / 461.5 MB, free: 9.688 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.3411, allocations: 2.383 MB / 463.9 MB, free: 7.297 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.3419, allocations: 0.5859 MB / 464.5 MB, free: 6.711 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.3434, allocations: 0.8279 MB / 465.3 MB, free: 5.883 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0009438/0.3443, allocations: 1.103 MB / 466.4 MB, free: 4.777 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002352/0.3467, allocations: 2.288 MB / 468.7 MB, free: 2.48 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008399/0.3551, allocations: 7.92 MB / 476.6 MB, free: 10.54 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3551, allocations: 0 / 476.6 MB, free: 10.54 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.184e-06/0.3551, allocations: 0 / 476.6 MB, free: 10.54 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.00013/0.3552, allocations: 0 / 476.6 MB, free: 10.54 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: 1104
 * Number of variables: 1104
Notification: Performance of Generate backend data structure: time 0.01235/0.3676, allocations: 4.869 MB / 481.5 MB, free: 5.609 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3676, allocations: 12.03 kB / 481.5 MB, free: 5.598 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007567/0.3752, allocations: 1.282 MB / 482.8 MB, free: 4.312 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.3797, allocations: 2.309 MB / 485.1 MB, free: 1.977 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.38, allocations: 316.4 kB / 485.4 MB, free: 1.664 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006912/0.3807, allocations: 408 kB / 485.8 MB, free: 1.266 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.3908, allocations: 5.485 MB / 491.3 MB, free: 11.73 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/0.3908, allocations: 4 kB / 491.3 MB, free: 11.72 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.3912, allocations: 172 kB / 491.5 MB, free: 11.55 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.3914, allocations: 180.6 kB / 491.6 MB, free: 11.38 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.3998, allocations: 4.808 MB / 496.4 MB, free: 6.551 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.4264, allocations: 18.53 MB / 0.5029 GB, free: 3.426 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.4302, allocations: 1.78 MB / 0.5046 GB, free: 1.688 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4314, allocations: 0.7145 MB / 0.5053 GB, free: 0.9727 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.4316, allocations: 56.92 kB / 0.5054 GB, free: 0.9141 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4316, allocations: 43.56 kB / 0.5054 GB, free: 0.8633 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=100): time 2.805e-06/0.4316, allocations: 0 / 0.5054 GB, free: 0.8633 MB / 414.1 MB
Notification: Performance of matching and sorting (n=100): time 0.002486/0.4341, allocations: 1.558 MB / 0.507 GB, free: 15.3 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4341, allocations: 64.34 kB / 0.507 GB, free: 15.22 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.436, allocations: 1.346 MB / 0.5083 GB, free: 13.86 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.4361, allocations: 41.7 kB / 0.5084 GB, free: 13.81 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4373, allocations: 1.819 MB / 0.5102 GB, free: 11.97 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.4376, allocations: 388.9 kB / 0.5105 GB, free: 11.59 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.4382, allocations: 455.6 kB / 0.511 GB, free: 11.14 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001817/0.4384, allocations: 349.9 kB / 0.5113 GB, free: 10.79 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.4396, allocations: 0.8356 MB / 0.5121 GB, free: 9.949 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.4417, allocations: 1.819 MB / 0.5139 GB, free: 7.645 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.4453, allocations: 2.802 MB / 0.5166 GB, free: 4.371 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/0.4453, allocations: 12 kB / 0.5166 GB, free: 4.359 MB / 430.1 MB
Notification: Performance of matching and sorting (n=273) (initialization): time 0.004352/0.4497, allocations: 2.743 MB / 0.5193 GB, free: 1.605 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.4497, allocations: 22.97 kB / 0.5193 GB, free: 1.586 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-05/0.4498, allocations: 36 kB / 0.5194 GB, free: 1.551 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-05/0.4498, allocations: 48 kB / 0.5194 GB, free: 1.504 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.4515, allocations: 0.5225 MB / 0.5199 GB, free: 0.9805 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.039e-05/0.4516, allocations: 67.73 kB / 0.52 GB, free: 0.9141 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4528, allocations: 294.3 kB / 0.5203 GB, free: 0.625 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4529, allocations: 124 kB / 0.5204 GB, free: 0.5039 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 154
 * 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 (272):
 * Single equations (assignments): 271
 * 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.002241/0.4552, allocations: 1.484 MB / 0.5218 GB, free: 15.01 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.4554, allocations: 127.2 kB / 0.522 GB, free: 14.88 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.4577, allocations: 1.458 MB / 0.5234 GB, free: 13.41 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001569/0.4593, allocations: 1.041 MB / 0.5244 GB, free: 12.36 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4593, allocations: 3.938 kB / 0.5244 GB, free: 12.36 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4593, allocations: 3.984 kB / 0.5244 GB, free: 12.36 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.4766, allocations: 11.07 MB / 0.5352 GB, free: 0.9297 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.4766, allocations: 24 kB / 0.5352 GB, free: 0.9062 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/0.4774, allocations: 223.6 kB / 0.5355 GB, free: 0.6875 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.31e-05/0.4775, allocations: 28 kB / 0.5355 GB, free: 0.6602 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.4776, allocations: 55.92 kB / 0.5355 GB, free: 0.6055 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-05/0.4776, allocations: 39.86 kB / 0.5356 GB, free: 0.5664 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.4776, allocations: 31.88 kB / 0.5356 GB, free: 0.5352 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1926/0.6702, allocations: 2.675 MB / 0.5382 GB, free: 94.85 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000527/0.6707, allocations: 264.8 kB / 0.5385 GB, free: 94.85 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.6709, allocations: 50.91 kB / 0.5385 GB, free: 94.85 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.6716, allocations: 66.48 kB / 0.5386 GB, free: 94.85 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.6718, allocations: 148.6 kB / 0.5387 GB, free: 94.82 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.6718, allocations: 59.33 kB / 0.5388 GB, free: 94.82 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001105/0.6729, allocations: 0.9072 MB / 0.5397 GB, free: 94.46 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.6729, allocations: 3.719 kB / 0.5397 GB, free: 94.46 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002017/0.675, allocations: 0.8831 MB / 0.5405 GB, free: 94.37 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 95
 * 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 (106):
 * Single equations (assignments): 105
 * 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.0002547/0.6752, allocations: 208.2 kB / 0.5407 GB, free: 94.23 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002149/0.6774, allocations: 1.832 MB / 0.5425 GB, free: 93.59 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6774, allocations: 2.75 kB / 0.5425 GB, free: 93.59 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.6781, allocations: 0.6252 MB / 0.5431 GB, free: 93.39 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.6798, allocations: 338.2 kB / 0.5435 GB, free: 93.3 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.6868, allocations: 6.449 MB / 0.5498 GB, free: 89.84 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.6884, allocations: 2.812 MB / 0.5525 GB, free: 88.52 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001253/0.6897, allocations: 0.7608 MB / 0.5532 GB, free: 88.46 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6899, allocations: 123.4 kB / 0.5534 GB, free: 88.44 MB / 446.1 MB
Notification: Performance of SimCode: time 6.51e-07/0.6899, allocations: 0 / 0.5534 GB, free: 88.44 MB / 446.1 MB
Notification: Performance of Templates: time 0.02572/0.7156, allocations: 19.04 MB / 0.572 GB, free: 72.47 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.216469965875149]