Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001364/0.001364, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.001528/0.001528, allocations: 188.2 kB / 23.72 MB, free: 4.711 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.475/1.475, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.187/0.187, allocations: 38.55 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.NetworkOpened,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.NetworkOpened")
translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,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.NetworkOpened") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.88 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4407, allocations: 61.3 MB / 0.533 GB, free: 5.793 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00836/0.4491, allocations: 7.851 MB / 0.5407 GB, free: 15.88 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007884/0.4569, allocations: 4.825 MB / 0.5454 GB, free: 12.02 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.4581, allocations: 17.22 kB / 0.5454 GB, free: 12.02 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003602/0.4617, allocations: 1.113 MB / 0.5465 GB, free: 11.17 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003882/0.4656, allocations: 1.279 MB / 0.5478 GB, free: 10.18 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.4669, allocations: 370.3 kB / 0.5481 GB, free: 9.902 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002484/0.4694, allocations: 1.461 MB / 0.5496 GB, free: 9.117 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008391/0.4702, allocations: 467.6 kB / 0.55 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.4715, allocations: 0.648 MB / 0.5506 GB, free: 8.449 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.4731, allocations: 0.7736 MB / 0.5514 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.4733, allocations: 66.59 kB / 0.5514 GB, free: 7.988 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.4776, allocations: 1.482 MB / 0.5529 GB, free: 7.148 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00111/0.4787, allocations: 0.5 MB / 0.5534 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.4796, allocations: 459.6 kB / 0.5538 GB, free: 6.551 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003965/0.4836, allocations: 1.545 MB / 0.5553 GB, free: 5.43 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4836, allocations: 0 / 0.5553 GB, free: 5.43 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.435e-06/0.4836, allocations: 0 / 0.5553 GB, free: 5.43 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.791e-05/0.4836, allocations: 4 kB / 0.5553 GB, free: 5.426 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: 212
 * Number of variables: 212
Notification: Performance of Generate backend data structure: time 0.00235/0.4859, allocations: 1.121 MB / 0.5564 GB, free: 4.27 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.486, allocations: 8.031 kB / 0.5564 GB, free: 4.262 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.4897, allocations: 411.9 kB / 0.5568 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.4908, allocations: 445.7 kB / 0.5573 GB, free: 3.395 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.4908, allocations: 58.36 kB / 0.5573 GB, free: 3.34 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.491, allocations: 72.36 kB / 0.5574 GB, free: 3.27 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.4934, allocations: 1.234 MB / 0.5586 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.4934, allocations: 7.953 kB / 0.5586 GB, free: 2 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4935, allocations: 31.98 kB / 0.5586 GB, free: 1.969 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.4936, allocations: 77.94 kB / 0.5587 GB, free: 1.895 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.4959, allocations: 1.308 MB / 0.56 GB, free: 0.5859 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006805/0.5027, allocations: 3.598 MB / 0.5635 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.5047, allocations: 1.015 MB / 0.5645 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/0.5056, allocations: 0.5771 MB / 0.565 GB, free: 11.28 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.056e-05/0.5057, allocations: 25.12 kB / 0.5651 GB, free: 11.25 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.5057, allocations: 43.56 kB / 0.5651 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=92): time 3.477e-06/0.5057, allocations: 0 / 0.5651 GB, free: 11.2 MB / 414.1 MB
Notification: Performance of matching and sorting (n=93): time 0.007656/0.5134, allocations: 3.072 MB / 0.5681 GB, free: 8.117 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.5135, allocations: 90.11 kB / 0.5682 GB, free: 8.012 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.514, allocations: 381.5 kB / 0.5686 GB, free: 7.633 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.5141, allocations: 41.7 kB / 0.5686 GB, free: 7.586 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.5144, allocations: 332.9 kB / 0.5689 GB, free: 7.254 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.5148, allocations: 337 kB / 0.5692 GB, free: 6.922 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.5151, allocations: 158.6 kB / 0.5694 GB, free: 6.762 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.000215/0.5153, allocations: 370.8 kB / 0.5697 GB, free: 6.391 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.516, allocations: 465.8 kB / 0.5702 GB, free: 5.934 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.5169, allocations: 0.5782 MB / 0.5707 GB, free: 5.324 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.5188, allocations: 1.114 MB / 0.5718 GB, free: 4.176 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5188, allocations: 0 / 0.5718 GB, free: 4.176 MB / 414.1 MB
Notification: Performance of matching and sorting (n=109) (initialization): time 0.002895/0.5217, allocations: 1.473 MB / 0.5733 GB, free: 2.695 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.5218, allocations: 8 kB / 0.5733 GB, free: 2.688 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5218, allocations: 4 kB / 0.5733 GB, free: 2.684 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5229, allocations: 337.7 kB / 0.5736 GB, free: 2.352 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.5236, allocations: 179.7 kB / 0.5738 GB, free: 2.176 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.5302, allocations: 4.077 MB / 0.5778 GB, free: 13.96 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.5309, allocations: 51.94 kB / 0.5778 GB, free: 13.91 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.531, allocations: 31.98 kB / 0.5778 GB, free: 13.88 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (82):
 * Single equations (assignments): 81
 * 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.0006148/0.5316, allocations: 309.6 kB / 0.5781 GB, free: 13.57 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.5318, allocations: 63.61 kB / 0.5782 GB, free: 13.5 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.5349, allocations: 1.536 MB / 0.5797 GB, free: 11.95 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5349, allocations: 8 kB / 0.5797 GB, free: 11.95 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5349, allocations: 12 kB / 0.5797 GB, free: 11.93 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5349, allocations: 3.984 kB / 0.5797 GB, free: 11.93 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.006055/0.541, allocations: 2.972 MB / 0.5826 GB, free: 8.836 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.541, allocations: 4 kB / 0.5826 GB, free: 8.832 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.5416, allocations: 167.7 kB / 0.5828 GB, free: 8.668 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008778/0.5425, allocations: 280.7 kB / 0.5831 GB, free: 8.391 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.5426, allocations: 27.98 kB / 0.5831 GB, free: 8.363 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/0.5486, allocations: 3.795 MB / 0.5868 GB, free: 4.441 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.5486, allocations: 4 kB / 0.5868 GB, free: 4.438 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.5515, allocations: 1.567 MB / 0.5883 GB, free: 2.809 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.5518, allocations: 75.56 kB / 0.5884 GB, free: 2.734 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.552, allocations: 27.98 kB / 0.5884 GB, free: 2.707 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.5526, allocations: 35.97 kB / 0.5885 GB, free: 2.672 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.5528, allocations: 88.72 kB / 0.5885 GB, free: 2.586 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/0.5529, allocations: 39.98 kB / 0.5886 GB, free: 2.547 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0004589/0.5533, allocations: 259.2 kB / 0.5888 GB, free: 2.293 MB / 430.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5533, allocations: 0 / 0.5888 GB, free: 2.293 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.00136/0.5547, allocations: 316 kB / 0.5891 GB, free: 1.984 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.0002715/0.555, allocations: 130.8 kB / 0.5893 GB, free: 1.852 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.002887/0.5579, allocations: 1.339 MB / 0.5906 GB, free: 0.5 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.5579, allocations: 0 / 0.5906 GB, free: 0.5 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001467/0.5593, allocations: 0.7968 MB / 0.5913 GB, free: 15.7 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5603, allocations: 116.2 kB / 0.5914 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.5644, allocations: 1.844 MB / 0.5932 GB, free: 13.67 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.5654, allocations: 1.083 MB / 0.5943 GB, free: 12.55 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005042/0.5659, allocations: 184.7 kB / 0.5945 GB, free: 12.38 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5662, allocations: 63.41 kB / 0.5945 GB, free: 12.31 MB / 446.1 MB
Notification: Performance of SimCode: time 1.703e-06/0.5662, allocations: 0 / 0.5945 GB, free: 12.31 MB / 446.1 MB
Notification: Performance of Templates: time 0.02439/0.5906, allocations: 11.31 MB / 0.6056 GB, free: 1.004 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.618596817366779]