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.00149/0.00149, allocations: 84 kB / 20.68 MB, free: 1.023 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.001599/0.001599, allocations: 167.6 kB / 23.95 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.376/1.376, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.1682/0.1682, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 430.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.313e-05, allocations: 2.281 kB / 430.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003142/0.003165, allocations: 2.14 MB / 432.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.004028, allocations: 0.5337 MB / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.004071, allocations: 0 / 433.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.0042, allocations: 7.922 kB / 433.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004318, allocations: 27.84 kB / 433.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.004676, allocations: 75.69 kB / 433.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004804, allocations: 63.77 kB / 433.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.004855, allocations: 7.984 kB / 433.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.005019, allocations: 39.84 kB / 433.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.005077, allocations: 31.89 kB / 433.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.00509, allocations: 4 kB / 433.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.005301, allocations: 103.7 kB / 433.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.005348, allocations: 19.92 kB / 433.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.005385, allocations: 7.938 kB / 433.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.005599, allocations: 111.7 kB / 433.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005602, allocations: 0 / 433.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005602, allocations: 0 / 433.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005606, allocations: 0 / 433.9 MB, free: 14.72 MB / 366.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.0004113/0.006018, allocations: 327.7 kB / 434.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.006052, allocations: 12.03 kB / 434.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.006089, allocations: 8.891 kB / 434.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.006244, allocations: 129.6 kB / 434.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.006254, allocations: 384 / 434.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.006264, allocations: 4.312 kB / 434.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.006425, allocations: 107.9 kB / 434.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006435, allocations: 3.938 kB / 434.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006443, allocations: 0 / 434.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.006446, allocations: 0 / 434.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/0.00653, allocations: 77.67 kB / 434.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.00666, allocations: 113.2 kB / 434.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.006782, allocations: 96.25 kB / 434.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.006864, allocations: 82.52 kB / 434.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.006872, allocations: 0 / 434.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.006906, allocations: 34.55 kB / 434.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.006906, allocations: 0 / 434.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003629/0.007269, allocations: 283 kB / 435.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.007339, allocations: 89.09 kB / 435.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.007437, allocations: 121.8 kB / 435.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.007465, allocations: 29.7 kB / 435.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.007512, allocations: 88.12 kB / 435.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.007558, allocations: 39.69 kB / 435.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.007599, allocations: 25.7 kB / 435.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.007739, allocations: 323 kB / 435.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.007817, allocations: 77.56 kB / 435.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.007888, allocations: 77.67 kB / 436 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.008059, allocations: 172.2 kB / 436.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00806, allocations: 0 / 436.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000224/0.008284, allocations: 201 kB / 436.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.008337, allocations: 49.69 kB / 436.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.008341, allocations: 0 / 436.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.008359, allocations: 3.938 kB / 436.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.008359, allocations: 4.062 kB / 436.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.008363, allocations: 0 / 436.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.008392, allocations: 11.89 kB / 436.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.008409, allocations: 4 kB / 436.4 MB, free: 11.91 MB / 366.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.0001853/0.008594, allocations: 171.4 kB / 436.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.008612, allocations: 7.953 kB / 436.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.008628, allocations: 12.42 kB / 436.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.008631, allocations: 7.875 kB / 436.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008634, allocations: 0 / 436.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.008636, allocations: 0 / 436.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.00875, allocations: 113.3 kB / 436.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.008751, allocations: 0 / 436.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.008752, allocations: 3.938 kB / 436.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.008755, allocations: 7.984 kB / 436.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.008764, allocations: 0 / 436.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008765, allocations: 0 / 436.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.00877, allocations: 7.938 kB / 436.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.009136, allocations: 308.4 kB / 437.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.009152, allocations: 15.89 kB / 437.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.00917, allocations: 4 kB / 437.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.807e-05/0.009198, allocations: 0 / 437.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.009217, allocations: 11.97 kB / 437.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.009224, allocations: 0 / 437.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.009301, allocations: 103.7 kB / 437.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009301, allocations: 0 / 437.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.009525, allocations: 35.94 kB / 437.2 MB, free: 11.04 MB / 366.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.0001828/0.009707, allocations: 119.1 kB / 437.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.01007, allocations: 298.7 kB / 437.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01007, allocations: 4 kB / 437.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.01025, allocations: 185 kB / 437.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01047, allocations: 27.48 kB / 437.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.01093, allocations: 302.9 kB / 438.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.01102, allocations: 87.31 kB / 438.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.01104, allocations: 3.859 kB / 438.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.01105, allocations: 8.5 kB / 438.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01105, allocations: 0 / 438.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Templates: time 0.004196/0.01525, allocations: 1.368 MB / 439.6 MB, free: 8.559 MB / 366.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.350164696574211]