Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00179/0.00179, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002033/0.002033, allocations: 189.3 kB / 23.72 MB, free: 4.68 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.461/1.461, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1848/0.1848, allocations: 38.54 MB / 346.3 MB, free: 2.141 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.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003244/0.3529, allocations: 2.128 MB / 0.5351 GB, free: 4.066 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0006876/0.3536, allocations: 0.5418 MB / 0.5357 GB, free: 3.695 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.3536, allocations: 0 / 0.5357 GB, free: 3.695 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3538, allocations: 14.92 kB / 0.5357 GB, free: 3.688 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3539, allocations: 25.91 kB / 0.5357 GB, free: 3.676 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3543, allocations: 77.55 kB / 0.5358 GB, free: 3.648 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3544, allocations: 61.75 kB / 0.5358 GB, free: 3.625 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.3544, allocations: 1.922 kB / 0.5358 GB, free: 3.625 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.3545, allocations: 34.47 kB / 0.5359 GB, free: 3.609 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.3546, allocations: 31.47 kB / 0.5359 GB, free: 3.598 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3546, allocations: 1.156 kB / 0.5359 GB, free: 3.598 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3548, allocations: 129 kB / 0.536 GB, free: 3.543 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.3549, allocations: 41.56 kB / 0.5361 GB, free: 3.523 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.3549, allocations: 46.45 kB / 0.5361 GB, free: 3.488 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3552, allocations: 157.5 kB / 0.5363 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3552, allocations: 0 / 0.5363 GB, free: 3.406 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.295e-06/0.3552, allocations: 5.875 kB / 0.5363 GB, free: 3.402 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.241e-06/0.3552, allocations: 0 / 0.5363 GB, free: 3.402 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: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.0004061/0.3556, allocations: 406.9 kB / 0.5366 GB, free: 3.027 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3557, allocations: 13.31 kB / 0.5367 GB, free: 3.023 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3557, allocations: 17.64 kB / 0.5367 GB, free: 3.012 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3558, allocations: 145.9 kB / 0.5368 GB, free: 2.855 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3559, allocations: 9.312 kB / 0.5368 GB, free: 2.848 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3559, allocations: 5.266 kB / 0.5368 GB, free: 2.844 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.356, allocations: 127.6 kB / 0.5369 GB, free: 2.777 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.356, allocations: 4 kB / 0.537 GB, free: 2.773 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.356, allocations: 0 / 0.537 GB, free: 2.773 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3561, allocations: 0 / 0.537 GB, free: 2.773 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.73e-05/0.3561, allocations: 89.64 kB / 0.537 GB, free: 2.746 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.3563, allocations: 169.8 kB / 0.5372 GB, free: 2.559 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3564, allocations: 112.7 kB / 0.5373 GB, free: 2.5 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.3565, allocations: 97.66 kB / 0.5374 GB, free: 2.461 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.308e-06/0.3565, allocations: 1.375 kB / 0.5374 GB, free: 2.461 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3565, allocations: 35.94 kB / 0.5374 GB, free: 2.418 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=40): time 9.52e-07/0.3565, allocations: 0 / 0.5374 GB, free: 2.418 MB / 382.1 MB
Notification: Performance of matching and sorting (n=40): time 0.0005406/0.357, allocations: 484.8 kB / 0.5379 GB, free: 2.227 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3571, allocations: 104.6 kB / 0.538 GB, free: 2.129 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3572, allocations: 148 kB / 0.5381 GB, free: 2 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.3572, allocations: 27.02 kB / 0.5382 GB, free: 1.969 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.3572, allocations: 100.5 kB / 0.5383 GB, free: 1.867 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.3573, allocations: 138.4 kB / 0.5384 GB, free: 1.746 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3574, allocations: 38.36 kB / 0.5384 GB, free: 1.715 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 6.028e-05/0.3574, allocations: 334.8 kB / 0.5387 GB, free: 1.387 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.3575, allocations: 91.69 kB / 0.5388 GB, free: 1.355 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3576, allocations: 97.7 kB / 0.5389 GB, free: 1.32 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.3579, allocations: 362.7 kB / 0.5393 GB, free: 1.16 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3579, allocations: 0 / 0.5393 GB, free: 1.16 MB / 382.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.000322/0.3582, allocations: 326.3 kB / 0.5396 GB, free: 1.008 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.3583, allocations: 84.05 kB / 0.5397 GB, free: 0.9531 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3583, allocations: 4.062 kB / 0.5397 GB, free: 0.9492 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3583, allocations: 0 / 0.5397 GB, free: 0.9492 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3583, allocations: 1.188 kB / 0.5397 GB, free: 0.9492 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3583, allocations: 3.938 kB / 0.5397 GB, free: 0.9453 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.3584, allocations: 28.38 kB / 0.5397 GB, free: 0.9258 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3584, allocations: 10.8 kB / 0.5397 GB, free: 0.9219 MB / 382.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001523/0.3586, allocations: 229.2 kB / 0.5399 GB, free: 0.7422 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3586, allocations: 19.97 kB / 0.54 GB, free: 0.7344 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.3586, allocations: 13.7 kB / 0.54 GB, free: 0.7227 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3586, allocations: 4 kB / 0.54 GB, free: 0.7188 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3586, allocations: 1.219 kB / 0.54 GB, free: 0.7188 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3586, allocations: 0 / 0.54 GB, free: 0.7188 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3587, allocations: 202.3 kB / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3587, allocations: 0 / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.3587, allocations: 1.531 kB / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3587, allocations: 0 / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3587, allocations: 5.531 kB / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3587, allocations: 1.281 kB / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3587, allocations: 0 / 0.5402 GB, free: 0.5078 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.3596, allocations: 0.9125 MB / 0.5411 GB, free: 124 kB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3596, allocations: 21.22 kB / 0.5411 GB, free: 108 kB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.3596, allocations: 11.03 kB / 0.5411 GB, free: 104 kB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.3596, allocations: 8.281 kB / 0.5411 GB, free: 100 kB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.3597, allocations: 6.812 kB / 0.5411 GB, free: 96 kB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3597, allocations: 7.594 kB / 0.5411 GB, free: 96 kB / 382.1 MB
Notification: Performance of sorting global known variables: time 7.878e-05/0.3598, allocations: 122.5 kB / 0.5412 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 0.5412 GB, free: 15.99 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000269/0.36, allocations: 66 kB / 0.5413 GB, free: 15.98 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 Backend phase and start with SimCode phase: time 0.0001798/0.3602, allocations: 111 kB / 0.5414 GB, free: 15.89 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009119/0.3611, allocations: 0.8161 MB / 0.5422 GB, free: 15.59 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3611, allocations: 1.062 kB / 0.5422 GB, free: 15.59 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.3617, allocations: 0.5955 MB / 0.5428 GB, free: 15.35 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.362, allocations: 29.19 kB / 0.5428 GB, free: 15.34 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3632, allocations: 0.6253 MB / 0.5434 GB, free: 15.02 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.3636, allocations: 0.7481 MB / 0.5441 GB, free: 14.29 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 2.805e-05/0.3636, allocations: 9.328 kB / 0.5442 GB, free: 14.29 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.3637, allocations: 8.875 kB / 0.5442 GB, free: 14.28 MB / 398.1 MB
Notification: Performance of SimCode: time 3.71e-07/0.3637, allocations: 1.156 kB / 0.5442 GB, free: 14.28 MB / 398.1 MB
Notification: Performance of Templates: time 0.007899/0.3716, allocations: 2.897 MB / 0.547 GB, free: 12.88 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.142994721420109]