Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001408/0.001408, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001438/0.001438, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.1775/0.1775, allocations: 38.53 MB / 353.2 MB, free: 12.57 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_matrixTrDat0,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_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,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_matrixTrDat0") [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.001958/0.001958, allocations: 67.89 kB / 493.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003959/0.3467, allocations: 2.208 MB / 0.5454 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.3501, allocations: 2.106 MB / 0.5475 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3502, allocations: 3.938 kB / 0.5475 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.3504, allocations: 19.05 kB / 0.5475 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.3505, allocations: 26.61 kB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.353, allocations: 0.9879 MB / 0.5485 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.3532, allocations: 76.25 kB / 0.5485 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.3532, allocations: 6.859 kB / 0.5485 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3534, allocations: 43.78 kB / 0.5486 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.3535, allocations: 50.12 kB / 0.5486 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.3535, allocations: 0.875 kB / 0.5486 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003706/0.3572, allocations: 2.226 MB / 0.5508 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.3573, allocations: 18.59 kB / 0.5508 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.3573, allocations: 18.22 kB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3592, allocations: 1.366 MB / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3592, allocations: 0 / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3592, allocations: 4 kB / 0.5522 GB, free: 10.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3592, allocations: 0 / 0.5522 GB, free: 10.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.0007808/0.36, allocations: 450.6 kB / 0.5526 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3601, allocations: 12.83 kB / 0.5526 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.3601, allocations: 8.609 kB / 0.5526 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3603, allocations: 126.1 kB / 0.5528 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3603, allocations: 0 / 0.5528 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3603, allocations: 5.156 kB / 0.5528 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3605, allocations: 56.3 kB / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3605, allocations: 1.062 kB / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3605, allocations: 0 / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3605, allocations: 1.125 kB / 0.5528 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.3605, allocations: 27.17 kB / 0.5528 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3607, allocations: 133.5 kB / 0.553 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.3608, allocations: 38.69 kB / 0.553 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.3608, allocations: 28.84 kB / 0.553 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.3608, allocations: 4 kB / 0.553 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3608, allocations: 36.06 kB / 0.5531 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3609, allocations: 0 / 0.5531 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002928/0.3611, allocations: 153.6 kB / 0.5532 GB, free: 9.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3612, allocations: 86.72 kB / 0.5533 GB, free: 9.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3613, allocations: 119.5 kB / 0.5534 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3613, allocations: 30.78 kB / 0.5534 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3614, allocations: 86.36 kB / 0.5535 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.3614, allocations: 35.48 kB / 0.5536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3615, allocations: 19.42 kB / 0.5536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3616, allocations: 326.5 kB / 0.5539 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.3616, allocations: 18.97 kB / 0.5539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.3617, allocations: 19.3 kB / 0.5539 GB, free: 8.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3618, allocations: 128 kB / 0.554 GB, free: 8.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3618, allocations: 0 / 0.554 GB, free: 8.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001672/0.362, allocations: 131.2 kB / 0.5542 GB, free: 8.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.362, allocations: 45.53 kB / 0.5542 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.362, allocations: 4.062 kB / 0.5542 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3621, allocations: 4.891 kB / 0.5542 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3621, allocations: 0 / 0.5542 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3621, allocations: 1.594 kB / 0.5542 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3621, allocations: 10.12 kB / 0.5542 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3621, allocations: 2.281 kB / 0.5542 GB, free: 8.16 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.0001307/0.3623, allocations: 154.5 kB / 0.5544 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.3623, allocations: 8.734 kB / 0.5544 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.3623, allocations: 18.61 kB / 0.5544 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3623, allocations: 0 / 0.5544 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3623, allocations: 0 / 0.5544 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3623, allocations: 1.125 kB / 0.5544 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3624, allocations: 142.8 kB / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3624, allocations: 0 / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.3624, allocations: 0 / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3624, allocations: 0.875 kB / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3624, allocations: 7.047 kB / 0.5546 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3624, allocations: 0 / 0.5546 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3624, allocations: 5.109 kB / 0.5546 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3627, allocations: 226 kB / 0.5548 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.3627, allocations: 7.234 kB / 0.5548 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3628, allocations: 6.172 kB / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.3628, allocations: 1.094 kB / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.3628, allocations: 2.562 kB / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3628, allocations: 7.391 kB / 0.5548 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.3629, allocations: 97.48 kB / 0.5549 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 3.938 kB / 0.5549 GB, free: 7.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009047/0.3638, allocations: 326.6 kB / 0.5552 GB, free: 7.492 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.0008681/0.3646, allocations: 374.6 kB / 0.5556 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3649, allocations: 173 kB / 0.5557 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3649, allocations: 0 / 0.5557 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.365, allocations: 124.5 kB / 0.5558 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.3653, allocations: 16.22 kB / 0.5559 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.3657, allocations: 263.7 kB / 0.5561 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3661, allocations: 0.6924 MB / 0.5568 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.3661, allocations: 11.44 kB / 0.5568 GB, free: 6.148 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3661, allocations: 0 / 0.5568 GB, free: 6.148 MB / 398.1 MB Notification: Performance of Templates: time 0.00992/0.376, allocations: 5.718 MB / 0.5624 GB, free: 432 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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: 11.553222690010443]