Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.00165/0.00165, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002864/0.002864, allocations: 181.5 kB / 23.71 MB, free: 4.695 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.546/1.546, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2295/0.2295, allocations: 38.54 MB / 346.3 MB, free: 2.098 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo)
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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units")
translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.88 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4463, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007977/0.4543, allocations: 6.257 MB / 0.5391 GB, free: 0.9453 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003884/0.4582, allocations: 1.975 MB / 0.5411 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.4586, allocations: 31.25 kB / 0.5411 GB, free: 15.35 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002071/0.4607, allocations: 0.722 MB / 0.5418 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4618, allocations: 378.8 kB / 0.5422 GB, free: 14.48 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.4632, allocations: 401.1 kB / 0.5425 GB, free: 14.2 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00169/0.4649, allocations: 0.9452 MB / 0.5435 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.4656, allocations: 341.3 kB / 0.5438 GB, free: 13.47 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.4664, allocations: 435.5 kB / 0.5442 GB, free: 13.23 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008943/0.4673, allocations: 0.5739 MB / 0.5448 GB, free: 12.89 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4674, allocations: 61.72 kB / 0.5448 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.4681, allocations: 254.9 kB / 0.5451 GB, free: 12.78 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.4686, allocations: 430.4 kB / 0.5455 GB, free: 12.52 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.4691, allocations: 428 kB / 0.5459 GB, free: 12.24 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001553/0.4707, allocations: 1.019 MB / 0.5469 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4707, allocations: 0 / 0.5469 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.4707, allocations: 1.031 kB / 0.5469 GB, free: 11.58 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.484e-05/0.4707, allocations: 0 / 0.5469 GB, free: 11.58 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 208
 * Number of variables: 208
Notification: Performance of Generate backend data structure: time 0.002437/0.4731, allocations: 1.009 MB / 0.5479 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/0.4732, allocations: 13.36 kB / 0.5479 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/0.4741, allocations: 143.1 kB / 0.548 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4753, allocations: 493.2 kB / 0.5485 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.4754, allocations: 56.72 kB / 0.5485 GB, free: 10.36 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4755, allocations: 80.55 kB / 0.5486 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.4777, allocations: 1.132 MB / 0.5497 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.4777, allocations: 6.875 kB / 0.5497 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.4778, allocations: 33.12 kB / 0.5498 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.952e-05/0.4779, allocations: 55.19 kB / 0.5498 GB, free: 9.488 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4794, allocations: 0.8637 MB / 0.5507 GB, free: 9.078 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.4862, allocations: 4.982 MB / 0.5555 GB, free: 4.672 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.487, allocations: 388.9 kB / 0.5559 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.4873, allocations: 193.7 kB / 0.5561 GB, free: 4.078 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.4874, allocations: 15.98 kB / 0.5561 GB, free: 4.062 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.4874, allocations: 42.5 kB / 0.5561 GB, free: 4.012 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=43): time 3.266e-06/0.4874, allocations: 3.938 kB / 0.5561 GB, free: 4.008 MB / 398.1 MB
Notification: Performance of matching and sorting (n=44): time 0.002279/0.4897, allocations: 1.081 MB / 0.5572 GB, free: 2.918 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.4898, allocations: 89.11 kB / 0.5573 GB, free: 2.812 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.4904, allocations: 0.49 MB / 0.5578 GB, free: 2.312 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.4905, allocations: 37.7 kB / 0.5578 GB, free: 2.27 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.4909, allocations: 467.2 kB / 0.5582 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.491, allocations: 162.7 kB / 0.5584 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.4913, allocations: 158.7 kB / 0.5585 GB, free: 1.488 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002293/0.4915, allocations: 366.8 kB / 0.5589 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.4919, allocations: 237.9 kB / 0.5591 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/0.4927, allocations: 0.6207 MB / 0.5597 GB, free: 88 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.494, allocations: 0.9418 MB / 0.5607 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.494, allocations: 4 kB / 0.5607 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.001465/0.4955, allocations: 0.8962 MB / 0.5615 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4955, allocations: 8 kB / 0.5615 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.4955, allocations: 16 kB / 0.5616 GB, free: 14.03 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.542e-05/0.4955, allocations: 16 kB / 0.5616 GB, free: 14.02 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.4963, allocations: 219.6 kB / 0.5618 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.4963, allocations: 23.94 kB / 0.5618 GB, free: 13.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.4968, allocations: 56.31 kB / 0.5619 GB, free: 13.72 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.4968, allocations: 44 kB / 0.5619 GB, free: 13.68 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 60
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (99):
 * Single equations (assignments): 99
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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.000475/0.4973, allocations: 313.2 kB / 0.5622 GB, free: 13.36 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4974, allocations: 55.62 kB / 0.5622 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4985, allocations: 0.5563 MB / 0.5628 GB, free: 12.75 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.4985, allocations: 11.98 kB / 0.5628 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4985, allocations: 4 kB / 0.5628 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4985, allocations: 0 / 0.5628 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.5008, allocations: 1.309 MB / 0.5641 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5008, allocations: 4 kB / 0.5641 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.5012, allocations: 115.8 kB / 0.5642 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.5012, allocations: 7.938 kB / 0.5642 GB, free: 11.22 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.5013, allocations: 8 kB / 0.5642 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.5013, allocations: 7.984 kB / 0.5642 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5013, allocations: 4 kB / 0.5642 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.5022, allocations: 0.6461 MB / 0.5649 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5023, allocations: 55.62 kB / 0.5649 GB, free: 10.45 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.5024, allocations: 19.92 kB / 0.5649 GB, free: 10.43 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.5026, allocations: 15.98 kB / 0.5649 GB, free: 10.42 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.5027, allocations: 35.88 kB / 0.565 GB, free: 10.38 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.5028, allocations: 20 kB / 0.565 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0004468/0.5032, allocations: 334.8 kB / 0.5653 GB, free: 10.04 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5032, allocations: 4 kB / 0.5653 GB, free: 10.04 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000772/0.504, allocations: 159.9 kB / 0.5655 GB, free: 9.879 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001387/0.5041, allocations: 107.2 kB / 0.5656 GB, free: 9.762 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009728/0.5051, allocations: 0.5834 MB / 0.5661 GB, free: 9.18 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.5051, allocations: 5.938 kB / 0.5661 GB, free: 9.176 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.5054, allocations: 219.4 kB / 0.5664 GB, free: 8.961 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.5061, allocations: 108.5 kB / 0.5665 GB, free: 8.859 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5085, allocations: 1.381 MB / 0.5678 GB, free: 7.414 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.5092, allocations: 1.003 MB / 0.5688 GB, free: 6.383 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0005201/0.5098, allocations: 233 kB / 0.569 GB, free: 6.152 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.5099, allocations: 55.42 kB / 0.5691 GB, free: 6.098 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.5099, allocations: 0 / 0.5691 GB, free: 6.098 MB / 414.1 MB
Notification: Performance of Templates: time 0.01306/0.523, allocations: 6.368 MB / 0.5753 GB, free: 15.77 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.795274226926267]