Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1867/0.1867, allocations: 38.56 MB / 352.5 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 67.91 kB / 493 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3668, allocations: 62.47 MB / 0.5424 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003635/0.3704, allocations: 2.132 MB / 0.5445 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000934/0.3713, allocations: 0.5189 MB / 0.545 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.3714, allocations: 4 kB / 0.545 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3716, allocations: 15.16 kB / 0.545 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.3717, allocations: 30.25 kB / 0.5451 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.372, allocations: 73.47 kB / 0.5451 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3721, allocations: 65.28 kB / 0.5452 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.3722, allocations: 1.781 kB / 0.5452 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3723, allocations: 38.17 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.3724, allocations: 37.3 kB / 0.5453 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3724, allocations: 5.812 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3726, allocations: 95.73 kB / 0.5454 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3726, allocations: 8.969 kB / 0.5454 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.3727, allocations: 13.36 kB / 0.5454 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.3728, allocations: 97.86 kB / 0.5455 GB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3729, allocations: 1.094 kB / 0.5455 GB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3729, allocations: 0 / 0.5455 GB, free: 14.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3729, allocations: 0 / 0.5455 GB, free: 14.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000398/0.3733, allocations: 309.7 kB / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3733, allocations: 13.77 kB / 0.5458 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3733, allocations: 7.109 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.3735, allocations: 132.7 kB / 0.5459 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3735, allocations: 1.5 kB / 0.5459 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3735, allocations: 9.297 kB / 0.5459 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3737, allocations: 95.03 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3737, allocations: 3.938 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3737, allocations: 0 / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3737, allocations: 1.156 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.3738, allocations: 61.84 kB / 0.5461 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.3739, allocations: 106.8 kB / 0.5462 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.374, allocations: 77.64 kB / 0.5463 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.3741, allocations: 71.59 kB / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.3741, allocations: 0 / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3741, allocations: 43.88 kB / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.3741, allocations: 0 / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003087/0.3744, allocations: 232 kB / 0.5466 GB, free: 13.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.3745, allocations: 90.78 kB / 0.5467 GB, free: 12.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3746, allocations: 119 kB / 0.5468 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3746, allocations: 26.89 kB / 0.5468 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.3747, allocations: 85.27 kB / 0.5469 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3747, allocations: 27.92 kB / 0.5469 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3748, allocations: 19.25 kB / 0.547 GB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3749, allocations: 320.9 kB / 0.5473 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.375, allocations: 62.97 kB / 0.5473 GB, free: 12.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.964e-05/0.3751, allocations: 61.2 kB / 0.5474 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3752, allocations: 137.6 kB / 0.5475 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3752, allocations: 0 / 0.5475 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001824/0.3754, allocations: 170.7 kB / 0.5477 GB, free: 12.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.3754, allocations: 46.12 kB / 0.5477 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3754, allocations: 3.984 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3755, allocations: 0 / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3755, allocations: 1.156 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3755, allocations: 4.062 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.3755, allocations: 6.141 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3755, allocations: 3.438 kB / 0.5477 GB, free: 11.96 MB / 398.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.0001231/0.3756, allocations: 153.8 kB / 0.5479 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.3756, allocations: 16.64 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.3757, allocations: 5.531 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3757, allocations: 0 / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3757, allocations: 1.219 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3757, allocations: 3.938 kB / 0.5479 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.3758, allocations: 111.9 kB / 0.548 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3758, allocations: 5.156 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-06/0.3758, allocations: 3.984 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3758, allocations: 5.188 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3758, allocations: 2.281 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3758, allocations: 0 / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3758, allocations: 0 / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.3761, allocations: 255.4 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.3761, allocations: 6.469 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3761, allocations: 3.312 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.3761, allocations: 5.469 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3761, allocations: 1.562 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3761, allocations: 6.344 kB / 0.5483 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.65e-05/0.3762, allocations: 95.7 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.3764, allocations: 27.22 kB / 0.5484 GB, free: 11.35 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.0001695/0.3766, allocations: 109.6 kB / 0.5485 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.3769, allocations: 243.9 kB / 0.5487 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3769, allocations: 1.281 kB / 0.5487 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3771, allocations: 156 kB / 0.5489 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3774, allocations: 18.17 kB / 0.5489 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.3779, allocations: 260.8 kB / 0.5492 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.378, allocations: 78.41 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.547e-05/0.378, allocations: 1.125 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.3781, allocations: 8.469 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3781, allocations: 0 / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Templates: time 0.003924/0.382, allocations: 1.162 MB / 0.5504 GB, free: 10.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.378130774945021]