Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001583/0.001583, allocations: 112.2 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.00203/0.00203, allocations: 180.9 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.516/1.516, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1973/0.1973, allocations: 38.54 MB / 346.3 MB, free: 2.129 MB / 270.1 MB
"
[Timeout remaining time 180]
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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d")
translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3988, allocations: 61.29 MB / 0.533 GB, free: 5.59 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.006906/0.4057, allocations: 7.737 MB / 0.5406 GB, free: 15.8 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006188/0.4119, allocations: 4.211 MB / 0.5447 GB, free: 12.42 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.4124, allocations: 16.91 kB / 0.5447 GB, free: 12.42 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002865/0.4153, allocations: 1.073 MB / 0.5458 GB, free: 11.59 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003142/0.4184, allocations: 1.118 MB / 0.5469 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4194, allocations: 304.6 kB / 0.5472 GB, free: 10.49 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002166/0.4216, allocations: 1.37 MB / 0.5485 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/0.4223, allocations: 342.4 kB / 0.5488 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.4235, allocations: 0.5652 MB / 0.5494 GB, free: 9.199 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.4245, allocations: 0.6492 MB / 0.55 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.4245, allocations: 36.06 kB / 0.55 GB, free: 8.82 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.4268, allocations: 1.017 MB / 0.551 GB, free: 8.223 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.4272, allocations: 281.7 kB / 0.5513 GB, free: 8.047 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.4276, allocations: 251.1 kB / 0.5515 GB, free: 7.891 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001781/0.4294, allocations: 0.8164 MB / 0.5523 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.4294, allocations: 9.094 kB / 0.5524 GB, free: 7.414 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.834e-06/0.4294, allocations: 0 / 0.5524 GB, free: 7.414 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.109e-05/0.4294, allocations: 0 / 0.5524 GB, free: 7.414 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: 101
 * Number of variables: 101
Notification: Performance of Generate backend data structure: time 0.001551/0.431, allocations: 0.7485 MB / 0.5531 GB, free: 6.809 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.431, allocations: 9.438 kB / 0.5531 GB, free: 6.809 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.4327, allocations: 129.9 kB / 0.5532 GB, free: 6.754 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.4334, allocations: 281.4 kB / 0.5535 GB, free: 6.516 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.4334, allocations: 33.28 kB / 0.5535 GB, free: 6.5 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.4335, allocations: 37.55 kB / 0.5536 GB, free: 6.488 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.4346, allocations: 0.5909 MB / 0.5541 GB, free: 6.035 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.4346, allocations: 5.219 kB / 0.5541 GB, free: 6.031 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.4346, allocations: 17.72 kB / 0.5542 GB, free: 6.02 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.4347, allocations: 37.41 kB / 0.5542 GB, free: 6.008 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.4354, allocations: 380.6 kB / 0.5545 GB, free: 5.828 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.4385, allocations: 2.549 MB / 0.557 GB, free: 3.293 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.4392, allocations: 410.9 kB / 0.5574 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.4395, allocations: 187.1 kB / 0.5576 GB, free: 2.676 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4395, allocations: 11.98 kB / 0.5576 GB, free: 2.664 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.4396, allocations: 34.55 kB / 0.5577 GB, free: 2.621 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.4396, allocations: 0 / 0.5577 GB, free: 2.621 MB / 398.1 MB
Notification: Performance of matching and sorting (n=33): time 0.001779/0.4414, allocations: 0.6852 MB / 0.5583 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.485e-05/0.4415, allocations: 106.8 kB / 0.5584 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.4418, allocations: 316.8 kB / 0.5587 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4419, allocations: 37.7 kB / 0.5588 GB, free: 1.434 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4421, allocations: 252.4 kB / 0.559 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.4422, allocations: 122.9 kB / 0.5591 GB, free: 1.062 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4423, allocations: 86.02 kB / 0.5592 GB, free: 0.9688 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000196/0.4425, allocations: 342.8 kB / 0.5595 GB, free: 0.625 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.4427, allocations: 132.8 kB / 0.5597 GB, free: 0.4961 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.4431, allocations: 271.5 kB / 0.5599 GB, free: 168 kB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.4438, allocations: 464 kB / 0.5604 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4438, allocations: 8 kB / 0.5604 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009398/0.4447, allocations: 0.5624 MB / 0.5609 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4447, allocations: 8 kB / 0.5609 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.4448, allocations: 4 kB / 0.5609 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.4451, allocations: 116.8 kB / 0.561 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.4454, allocations: 75.84 kB / 0.5611 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.4487, allocations: 2.473 MB / 0.5635 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.449, allocations: 39.67 kB / 0.5636 GB, free: 12.22 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.449, allocations: 20 kB / 0.5636 GB, free: 12.2 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 22
 * 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 (41):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,13,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003407/0.4494, allocations: 201.6 kB / 0.5638 GB, free: 12 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4495, allocations: 39.77 kB / 0.5638 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.4496, allocations: 52.02 kB / 0.5639 GB, free: 11.91 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4496, allocations: 4 kB / 0.5639 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.4496, allocations: 4 kB / 0.5639 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4496, allocations: 3.938 kB / 0.5639 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.4511, allocations: 0.9095 MB / 0.5648 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4511, allocations: 4 kB / 0.5648 GB, free: 10.92 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.4512, allocations: 35.92 kB / 0.5648 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.4515, allocations: 108.2 kB / 0.5649 GB, free: 10.78 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.4515, allocations: 8 kB / 0.5649 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.4545, allocations: 2.457 MB / 0.5673 GB, free: 8.191 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4545, allocations: 0 / 0.5673 GB, free: 8.191 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.4553, allocations: 0.6225 MB / 0.5679 GB, free: 7.539 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.4554, allocations: 43.69 kB / 0.568 GB, free: 7.496 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.4555, allocations: 11.94 kB / 0.568 GB, free: 7.484 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4556, allocations: 4 kB / 0.568 GB, free: 7.48 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.4557, allocations: 27.95 kB / 0.568 GB, free: 7.453 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.4557, allocations: 8 kB / 0.568 GB, free: 7.445 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002965/0.456, allocations: 227 kB / 0.5682 GB, free: 7.223 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.456, allocations: 0 / 0.5682 GB, free: 7.223 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0007637/0.4568, allocations: 159.8 kB / 0.5684 GB, free: 7.066 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * 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 (20):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,13,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.4569, allocations: 99.19 kB / 0.5685 GB, free: 6.961 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009553/0.4579, allocations: 0.5025 MB / 0.569 GB, free: 6.445 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4579, allocations: 1.25 kB / 0.569 GB, free: 6.445 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.4584, allocations: 354.1 kB / 0.5693 GB, free: 6.086 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.4589, allocations: 55.84 kB / 0.5694 GB, free: 6.031 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.4604, allocations: 0.8448 MB / 0.5702 GB, free: 5.152 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.4611, allocations: 0.8824 MB / 0.571 GB, free: 4.246 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001664/0.4612, allocations: 70.91 kB / 0.5711 GB, free: 4.172 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.4613, allocations: 19.44 kB / 0.5711 GB, free: 4.152 MB / 414.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.4613, allocations: 0 / 0.5711 GB, free: 4.152 MB / 414.1 MB
Notification: Performance of Templates: time 0.009381/0.4707, allocations: 4.166 MB / 0.5752 GB, free: 15.98 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.429379171691835]