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.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.001488/0.001488, 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.001633/0.001633, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1919/0.1919, allocations: 38.55 MB / 352.5 MB, free: 12.41 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_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: 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.002192/0.002192, allocations: 75.88 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003585/0.4031, allocations: 2.138 MB / 0.5445 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000849/0.404, allocations: 0.518 MB / 0.545 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.404, allocations: 5.094 kB / 0.545 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.4042, allocations: 13.27 kB / 0.5451 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.4043, allocations: 22.75 kB / 0.5451 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.4046, allocations: 77.27 kB / 0.5451 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4048, allocations: 62.08 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.4048, allocations: 5.359 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.405, allocations: 44.28 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.405, allocations: 29.59 kB / 0.5453 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.405, allocations: 1.375 kB / 0.5453 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.4053, allocations: 96.61 kB / 0.5454 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.4053, allocations: 16.17 kB / 0.5454 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.4053, allocations: 21.36 kB / 0.5454 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4055, allocations: 101.4 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4055, allocations: 1.281 kB / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4055, allocations: 0 / 0.5455 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4055, allocations: 0 / 0.5455 GB, free: 14.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000444/0.406, allocations: 335.6 kB / 0.5458 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.406, allocations: 9.344 kB / 0.5458 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.4061, allocations: 11.44 kB / 0.5458 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.4063, allocations: 122.1 kB / 0.546 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4063, allocations: 384 / 0.546 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.4063, allocations: 9.406 kB / 0.546 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4065, allocations: 109.4 kB / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4065, allocations: 1.188 kB / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.4065, allocations: 0 / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.4065, allocations: 0 / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.4066, allocations: 77.8 kB / 0.5462 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.4067, allocations: 119.6 kB / 0.5463 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4068, allocations: 89.55 kB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.407, allocations: 89.41 kB / 0.5464 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.407, allocations: 1.156 kB / 0.5464 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.407, allocations: 35.62 kB / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.407, allocations: 0 / 0.5465 GB, free: 13.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004035/0.4074, allocations: 290.5 kB / 0.5467 GB, free: 12.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.4075, allocations: 90.91 kB / 0.5468 GB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4076, allocations: 121 kB / 0.547 GB, free: 12.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4076, allocations: 26.95 kB / 0.547 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.4077, allocations: 98.67 kB / 0.5471 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.4077, allocations: 39.61 kB / 0.5471 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.4078, allocations: 20.62 kB / 0.5471 GB, free: 12.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4079, allocations: 322.8 kB / 0.5474 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.408, allocations: 84.89 kB / 0.5475 GB, free: 12.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.4081, allocations: 73.22 kB / 0.5476 GB, free: 12.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4083, allocations: 178.7 kB / 0.5478 GB, free: 12.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4083, allocations: 0 / 0.5478 GB, free: 12.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002569/0.4086, allocations: 210.9 kB / 0.548 GB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.4086, allocations: 45.16 kB / 0.548 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4086, allocations: 4.062 kB / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4086, allocations: 5.109 kB / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.4086, allocations: 0 / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4086, allocations: 0 / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.4087, allocations: 7.219 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4087, allocations: 7.172 kB / 0.548 GB, free: 11.82 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.000177/0.4089, allocations: 168.8 kB / 0.5482 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4089, allocations: 12.3 kB / 0.5482 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.4089, allocations: 6.344 kB / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4089, allocations: 1.062 kB / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4089, allocations: 0 / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4089, allocations: 9.062 kB / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.409, allocations: 122.1 kB / 0.5483 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.409, allocations: 0 / 0.5483 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-06/0.409, allocations: 5.062 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.409, allocations: 3.938 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.4091, allocations: 3.625 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4091, allocations: 0 / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4091, allocations: 0 / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4095, allocations: 315.1 kB / 0.5486 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.4095, allocations: 7.484 kB / 0.5486 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.4095, allocations: 10.06 kB / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.4095, allocations: 2.219 kB / 0.5487 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.4096, allocations: 6.25 kB / 0.5487 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.4096, allocations: 6.094 kB / 0.5487 GB, free: 11.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.366e-05/0.4096, allocations: 94.81 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4096, allocations: 0 / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.4099, allocations: 35.8 kB / 0.5488 GB, free: 11.18 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.0001697/0.41, allocations: 111 kB / 0.5489 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.4104, allocations: 303.9 kB / 0.5492 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4104, allocations: 64 / 0.5492 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4106, allocations: 197.1 kB / 0.5494 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4109, allocations: 12.94 kB / 0.5494 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4114, allocations: 329.5 kB / 0.5497 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.138e-05/0.4115, allocations: 84.88 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.48e-05/0.4115, allocations: 1.125 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.4115, allocations: 8.625 kB / 0.5498 GB, free: 10.44 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4115, allocations: 4.062 kB / 0.5498 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Templates: time 0.00454/0.4161, allocations: 1.437 MB / 0.5512 GB, free: 9.699 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: 5.3029674887657166]