Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001121/0.001121, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002611, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001116/0.001116, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002538, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.135/1.137, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1185/0.1185, allocations: 29.45 MB / 273.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1258/0.2443, allocations: 9.523 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.009e-05, allocations: 3.625 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002999/0.003019, allocations: 2.273 MB / 286.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.006862, allocations: 0.5559 MB / 287.1 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.006904, allocations: 5.094 kB / 287.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.302e-05/0.006977, allocations: 10.08 kB / 287.1 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.007056, allocations: 33.36 kB / 287.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.007331, allocations: 78.91 kB / 287.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.007446, allocations: 59.05 kB / 287.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.00748, allocations: 5.875 kB / 287.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.007617, allocations: 54.17 kB / 287.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.007666, allocations: 27.98 kB / 287.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.007675, allocations: 1.125 kB / 287.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.00786, allocations: 91.98 kB / 287.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.007905, allocations: 30.67 kB / 287.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.007927, allocations: 12.53 kB / 287.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.008086, allocations: 114.9 kB / 287.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.0081, allocations: 0 / 287.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008101, allocations: 1.344 kB / 287.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.008114, allocations: 3.938 kB / 287.6 MB, free: 9.332 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003483/0.008463, allocations: 354.9 kB / 287.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.008492, allocations: 10.31 kB / 288 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.008521, allocations: 3.75 kB / 288 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.008653, allocations: 141.1 kB / 288.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.00866, allocations: 384 / 288.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.008668, allocations: 1.812 kB / 288.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.008799, allocations: 105.1 kB / 288.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.008807, allocations: 5.406 kB / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.008814, allocations: 0 / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.00882, allocations: 0 / 288.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.008883, allocations: 77.06 kB / 288.3 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.842e-05/0.008962, allocations: 67.95 kB / 288.3 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.009047, allocations: 90.98 kB / 288.4 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.009109, allocations: 75.66 kB / 288.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-06/0.009114, allocations: 4.984 kB / 288.5 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.009137, allocations: 32.16 kB / 288.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 8.12e-07/0.009137, allocations: 0 / 288.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.003306/0.01244, allocations: 295.5 kB / 288.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01247, allocations: 55.34 kB / 288.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.01256, allocations: 137 kB / 289 MB, free: 8.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.01257, allocations: 27.14 kB / 289 MB, free: 8.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.0126, allocations: 91.72 kB / 289.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.01266, allocations: 79.78 kB / 289.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.0127, allocations: 25.03 kB / 289.2 MB, free: 7.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.01279, allocations: 331.6 kB / 289.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.01285, allocations: 73.02 kB / 289.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.0129, allocations: 72.97 kB / 289.7 MB, free: 7.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.01303, allocations: 172.6 kB / 289.9 MB, free: 7.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01303, allocations: 0 / 289.9 MB, free: 7.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001707/0.0132, allocations: 207.6 kB / 290.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.01326, allocations: 62.62 kB / 290.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01326, allocations: 0 / 290.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.01327, allocations: 8 kB / 290.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-06/0.01327, allocations: 0 / 290.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.01328, allocations: 5.312 kB / 290.1 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.01331, allocations: 13.39 kB / 290.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.01333, allocations: 4.125 kB / 290.2 MB, free: 7.234 MB / 282.7 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 9.928e-05/0.01343, allocations: 176.3 kB / 290.3 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.01345, allocations: 17.73 kB / 290.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.01347, allocations: 10.64 kB / 290.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01348, allocations: 1.375 kB / 290.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01348, allocations: 3.938 kB / 290.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01348, allocations: 4 kB / 290.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.745e-05/0.01356, allocations: 90.14 kB / 290.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01356, allocations: 1.375 kB / 290.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.01356, allocations: 0 / 290.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.01357, allocations: 15.97 kB / 290.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01358, allocations: 0 / 290.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01359, allocations: 4.125 kB / 290.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01359, allocations: 1.375 kB / 290.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01359, allocations: 0 / 290.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.01384, allocations: 317.6 kB / 290.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01386, allocations: 8.109 kB / 290.8 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.01388, allocations: 8.156 kB / 290.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.0139, allocations: 1.375 kB / 290.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.0139, allocations: 4.125 kB / 290.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.596e-05/0.01393, allocations: 29.2 kB / 290.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 0 / 290.8 MB, free: 6.727 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01414, allocations: 45.19 kB / 290.9 MB, free: 6.723 MB / 282.7 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.0001403/0.01428, allocations: 94.47 kB / 291 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.01454, allocations: 291.8 kB / 291.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01455, allocations: 5.438 kB / 291.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01468, allocations: 198.7 kB / 291.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.01485, allocations: 26.52 kB / 291.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.0186, allocations: 383.6 kB / 291.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.905e-05/0.01865, allocations: 77.06 kB / 291.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.01867, allocations: 1.875 kB / 291.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.0188, allocations: 88.58 kB / 292 MB, free: 5.941 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.0188, allocations: 0 / 292 MB, free: 5.941 MB / 282.7 MB Notification: Performance of Templates: time 0.007413/0.02622, allocations: 2.185 MB / 294.2 MB, free: 4.473 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.691700424067676]