Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001289/0.001289, 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.001346/0.001346, allocations: 184.2 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.462/1.462, 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.186/0.186, allocations: 38.54 MB / 346.3 MB, free: 2.113 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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 61.3 MB / 0.5331 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003131/0.3488, allocations: 2.132 MB / 0.5351 GB, free: 4.043 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007105/0.3496, allocations: 0.5331 MB / 0.5357 GB, free: 3.68 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.3496, allocations: 1.781 kB / 0.5357 GB, free: 3.68 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.3498, allocations: 14.53 kB / 0.5357 GB, free: 3.672 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.3499, allocations: 28.11 kB / 0.5357 GB, free: 3.656 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3502, allocations: 81.23 kB / 0.5358 GB, free: 3.625 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001234/0.3504, allocations: 63.12 kB / 0.5358 GB, free: 3.602 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3504, allocations: 3.109 kB / 0.5358 GB, free: 3.602 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.3505, allocations: 33.86 kB / 0.5359 GB, free: 3.586 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.3505, allocations: 31.03 kB / 0.5359 GB, free: 3.574 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.3505, allocations: 1.75 kB / 0.5359 GB, free: 3.574 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.3508, allocations: 132.9 kB / 0.536 GB, free: 3.504 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.3508, allocations: 16.98 kB / 0.536 GB, free: 3.496 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.3508, allocations: 20.81 kB / 0.5361 GB, free: 3.48 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.351, allocations: 111.4 kB / 0.5362 GB, free: 3.426 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.351, allocations: 0 / 0.5362 GB, free: 3.426 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.513e-06/0.351, allocations: 0 / 0.5362 GB, free: 3.426 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 5.52e-06/0.351, allocations: 0 / 0.5362 GB, free: 3.426 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.000325/0.3513, allocations: 326.6 kB / 0.5365 GB, free: 3.098 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3514, allocations: 13.58 kB / 0.5365 GB, free: 3.094 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.3514, allocations: 7.641 kB / 0.5365 GB, free: 3.09 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3515, allocations: 133.3 kB / 0.5366 GB, free: 2.941 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3515, allocations: 384 / 0.5366 GB, free: 2.941 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3516, allocations: 5.5 kB / 0.5366 GB, free: 2.938 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3517, allocations: 57.06 kB / 0.5367 GB, free: 2.898 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3517, allocations: 5.359 kB / 0.5367 GB, free: 2.895 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3517, allocations: 3.938 kB / 0.5367 GB, free: 2.891 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3517, allocations: 0 / 0.5367 GB, free: 2.891 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.3517, allocations: 29.98 kB / 0.5367 GB, free: 2.883 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.3518, allocations: 144.9 kB / 0.5369 GB, free: 2.707 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.3519, allocations: 52.5 kB / 0.5369 GB, free: 2.668 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.352, allocations: 38.78 kB / 0.537 GB, free: 2.648 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.352, allocations: 0 / 0.537 GB, free: 2.648 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.352, allocations: 31.94 kB / 0.537 GB, free: 2.609 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=12): time 7.41e-07/0.352, allocations: 0 / 0.537 GB, free: 2.609 MB / 382.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0002445/0.3522, allocations: 176.3 kB / 0.5372 GB, free: 2.516 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3523, allocations: 89.91 kB / 0.5372 GB, free: 2.418 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.3523, allocations: 125.5 kB / 0.5374 GB, free: 2.301 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.3523, allocations: 29.86 kB / 0.5374 GB, free: 2.266 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.3524, allocations: 90.19 kB / 0.5375 GB, free: 2.176 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.3524, allocations: 40.66 kB / 0.5375 GB, free: 2.141 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.3524, allocations: 20.84 kB / 0.5375 GB, free: 2.121 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 5.023e-05/0.3525, allocations: 321.6 kB / 0.5378 GB, free: 1.801 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.3525, allocations: 29.33 kB / 0.5379 GB, free: 1.793 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.3526, allocations: 28.98 kB / 0.5379 GB, free: 1.785 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3527, allocations: 154.3 kB / 0.538 GB, free: 1.688 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3527, allocations: 1.125 kB / 0.538 GB, free: 1.688 MB / 382.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.3528, allocations: 149.4 kB / 0.5382 GB, free: 1.594 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.3529, allocations: 48.03 kB / 0.5382 GB, free: 1.555 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3529, allocations: 1.344 kB / 0.5382 GB, free: 1.555 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3529, allocations: 0 / 0.5382 GB, free: 1.555 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.3529, allocations: 3.938 kB / 0.5382 GB, free: 1.551 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3529, allocations: 1.156 kB / 0.5382 GB, free: 1.551 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.3529, allocations: 10.33 kB / 0.5382 GB, free: 1.543 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3529, allocations: 11.36 kB / 0.5383 GB, free: 1.535 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 8.182e-05/0.353, allocations: 168.5 kB / 0.5384 GB, free: 1.375 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.353, allocations: 12.08 kB / 0.5384 GB, free: 1.367 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.353, allocations: 7 kB / 0.5384 GB, free: 1.359 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.353, allocations: 0 / 0.5384 GB, free: 1.359 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.353, allocations: 0 / 0.5384 GB, free: 1.359 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.353, allocations: 1.281 kB / 0.5384 GB, free: 1.359 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.916e-05/0.3531, allocations: 151.6 kB / 0.5386 GB, free: 1.18 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3531, allocations: 0 / 0.5386 GB, free: 1.18 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3531, allocations: 1.25 kB / 0.5386 GB, free: 1.18 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.3531, allocations: 4 kB / 0.5386 GB, free: 1.176 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3531, allocations: 2.969 kB / 0.5386 GB, free: 1.176 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3531, allocations: 0 / 0.5386 GB, free: 1.176 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3531, allocations: 1.688 kB / 0.5386 GB, free: 1.176 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3534, allocations: 277.3 kB / 0.5389 GB, free: 1.012 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.3534, allocations: 10.67 kB / 0.5389 GB, free: 1.004 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3534, allocations: 7.188 kB / 0.5389 GB, free: 1 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.3534, allocations: 2.656 kB / 0.5389 GB, free: 1 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.3534, allocations: 9.812 kB / 0.5389 GB, free: 0.9922 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3534, allocations: 2.781 kB / 0.5389 GB, free: 0.9922 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 3.326e-05/0.3535, allocations: 101.2 kB / 0.539 GB, free: 0.9023 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 0 / 0.539 GB, free: 0.9023 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0002209/0.3537, allocations: 32.66 kB / 0.539 GB, free: 0.8984 MB / 382.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.000157/0.3539, allocations: 114.5 kB / 0.5391 GB, free: 0.8008 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002479/0.3541, allocations: 232.3 kB / 0.5393 GB, free: 0.6797 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3541, allocations: 64 / 0.5393 GB, free: 0.6797 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3542, allocations: 161.3 kB / 0.5395 GB, free: 0.582 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3545, allocations: 11.03 kB / 0.5395 GB, free: 0.5781 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.3549, allocations: 272.5 kB / 0.5398 GB, free: 408 kB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3551, allocations: 0.6992 MB / 0.5405 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.621e-05/0.3551, allocations: 1.281 kB / 0.5405 GB, free: 15.69 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.3551, allocations: 12.97 kB / 0.5405 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3551, allocations: 0 / 0.5405 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of Templates: time 0.004564/0.3597, allocations: 1.387 MB / 0.5418 GB, free: 14.99 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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: 4.924705791287124]