Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001596/0.001596, allocations: 112 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.001687/0.001687, allocations: 180.8 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.541/1.541, 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.2617/0.2617, allocations: 38.54 MB / 346.3 MB, free: 2.133 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.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop")
translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 64.12 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3743, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007947/0.3822, allocations: 7.585 MB / 0.5404 GB, free: 15.89 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007923/0.3902, allocations: 4.459 MB / 0.5448 GB, free: 12.33 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.391, allocations: 17.28 kB / 0.5448 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00307/0.3941, allocations: 1.081 MB / 0.5459 GB, free: 11.49 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005415/0.3995, allocations: 1.213 MB / 0.5471 GB, free: 10.55 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.401, allocations: 316.7 kB / 0.5474 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00317/0.4041, allocations: 1.404 MB / 0.5487 GB, free: 9.562 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4052, allocations: 462.6 kB / 0.5492 GB, free: 9.277 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.4069, allocations: 0.6269 MB / 0.5498 GB, free: 8.91 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4082, allocations: 0.7433 MB / 0.5505 GB, free: 8.469 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.4083, allocations: 62.5 kB / 0.5506 GB, free: 8.469 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.4116, allocations: 1.38 MB / 0.5519 GB, free: 7.688 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00074/0.4124, allocations: 497.2 kB / 0.5524 GB, free: 7.387 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.413, allocations: 441.9 kB / 0.5528 GB, free: 7.109 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00335/0.4164, allocations: 1.458 MB / 0.5542 GB, free: 6.246 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4164, allocations: 1.406 kB / 0.5542 GB, free: 6.246 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.763e-06/0.4164, allocations: 0 / 0.5542 GB, free: 6.246 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.601e-05/0.4164, allocations: 0 / 0.5542 GB, free: 6.246 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: 203
 * Number of variables: 203
Notification: Performance of Generate backend data structure: time 0.002694/0.4191, allocations: 1.09 MB / 0.5553 GB, free: 5.262 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4191, allocations: 8.031 kB / 0.5553 GB, free: 5.254 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/0.4225, allocations: 395.9 kB / 0.5557 GB, free: 4.867 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4236, allocations: 425.7 kB / 0.5561 GB, free: 4.422 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.4237, allocations: 50.38 kB / 0.5561 GB, free: 4.375 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.4238, allocations: 80.31 kB / 0.5562 GB, free: 4.297 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.426, allocations: 1.18 MB / 0.5574 GB, free: 3.09 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.426, allocations: 0 / 0.5574 GB, free: 3.09 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.4261, allocations: 31.98 kB / 0.5574 GB, free: 3.059 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.4262, allocations: 69.95 kB / 0.5575 GB, free: 2.992 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.4282, allocations: 1.245 MB / 0.5587 GB, free: 1.746 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/0.4345, allocations: 3.412 MB / 0.562 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.4363, allocations: 0.9876 MB / 0.563 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.4374, allocations: 0.5862 MB / 0.5636 GB, free: 12.66 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.4375, allocations: 20.97 kB / 0.5636 GB, free: 12.63 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4375, allocations: 39.56 kB / 0.5636 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=91): time 3.357e-06/0.4375, allocations: 96 / 0.5636 GB, free: 12.59 MB / 414.1 MB
Notification: Performance of matching and sorting (n=92): time 0.007602/0.4451, allocations: 3.017 MB / 0.5666 GB, free: 9.559 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4452, allocations: 90.23 kB / 0.5666 GB, free: 9.453 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.4457, allocations: 357.7 kB / 0.567 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.4457, allocations: 41.7 kB / 0.567 GB, free: 9.051 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.446, allocations: 328.8 kB / 0.5673 GB, free: 8.723 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.4464, allocations: 325.2 kB / 0.5676 GB, free: 8.402 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.4466, allocations: 158.6 kB / 0.5678 GB, free: 8.242 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001963/0.4468, allocations: 374.7 kB / 0.5682 GB, free: 7.867 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007406/0.4476, allocations: 469.7 kB / 0.5686 GB, free: 7.406 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.4485, allocations: 0.5734 MB / 0.5692 GB, free: 6.805 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.4504, allocations: 1.105 MB / 0.5702 GB, free: 5.668 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4504, allocations: 0 / 0.5702 GB, free: 5.668 MB / 414.1 MB
Notification: Performance of matching and sorting (n=107) (initialization): time 0.002733/0.4531, allocations: 1.477 MB / 0.5717 GB, free: 4.184 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4531, allocations: 4 kB / 0.5717 GB, free: 4.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4532, allocations: 4 kB / 0.5717 GB, free: 4.176 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.4542, allocations: 328.8 kB / 0.572 GB, free: 3.852 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/0.4551, allocations: 187.7 kB / 0.5722 GB, free: 3.668 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.4613, allocations: 4.088 MB / 0.5762 GB, free: 15.44 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/0.462, allocations: 51.88 kB / 0.5762 GB, free: 15.39 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.4621, allocations: 35.98 kB / 0.5763 GB, free: 15.36 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (80):
 * Single equations (assignments): 79
 * 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
   {(2,26,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.4626, allocations: 289.6 kB / 0.5765 GB, free: 15.06 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4627, allocations: 59.62 kB / 0.5766 GB, free: 15 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.4659, allocations: 1.563 MB / 0.5781 GB, free: 13.43 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4659, allocations: 8 kB / 0.5781 GB, free: 13.42 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4659, allocations: 8 kB / 0.5781 GB, free: 13.41 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4659, allocations: 7.984 kB / 0.5781 GB, free: 13.4 MB / 430.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.4726, allocations: 2.991 MB / 0.5811 GB, free: 10.29 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.4726, allocations: 4 kB / 0.5811 GB, free: 10.29 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/0.4733, allocations: 164.2 kB / 0.5812 GB, free: 10.13 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000908/0.4742, allocations: 288.5 kB / 0.5815 GB, free: 9.844 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.4743, allocations: 27.98 kB / 0.5815 GB, free: 9.816 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006585/0.4809, allocations: 3.798 MB / 0.5852 GB, free: 5.891 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4809, allocations: 12 kB / 0.5852 GB, free: 5.879 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.4843, allocations: 1.59 MB / 0.5868 GB, free: 4.227 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.4846, allocations: 71.56 kB / 0.5869 GB, free: 4.156 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.4848, allocations: 24 kB / 0.5869 GB, free: 4.133 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.4854, allocations: 43.89 kB / 0.5869 GB, free: 4.09 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.4856, allocations: 80.78 kB / 0.587 GB, free: 4.012 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-05/0.4857, allocations: 39.98 kB / 0.587 GB, free: 3.973 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.000395/0.486, allocations: 267.1 kB / 0.5873 GB, free: 3.711 MB / 430.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.486, allocations: 3.938 kB / 0.5873 GB, free: 3.707 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001513/0.4876, allocations: 308 kB / 0.5876 GB, free: 3.406 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * 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 (82):
 * Single equations (assignments): 80
 * 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
   {(2,24,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002582/0.4878, allocations: 127 kB / 0.5877 GB, free: 3.273 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.002657/0.4905, allocations: 1.339 MB / 0.589 GB, free: 1.922 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4905, allocations: 0 / 0.589 GB, free: 1.922 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001395/0.4919, allocations: 0.797 MB / 0.5898 GB, free: 1.117 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.4927, allocations: 98.39 kB / 0.5899 GB, free: 1.02 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.4968, allocations: 1.823 MB / 0.5917 GB, free: 15.12 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.4979, allocations: 1.072 MB / 0.5927 GB, free: 14.02 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005508/0.4984, allocations: 184.6 kB / 0.5929 GB, free: 13.84 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.4987, allocations: 59.41 kB / 0.593 GB, free: 13.78 MB / 446.1 MB
Notification: Performance of SimCode: time 1.252e-06/0.4987, allocations: 0 / 0.593 GB, free: 13.78 MB / 446.1 MB
Notification: Performance of Templates: time 0.02574/0.5244, allocations: 11.31 MB / 0.604 GB, free: 2.477 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.815057499334216]