Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0009184/0.0009184, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002266, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008914/0.0008914, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004219/0.00511, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9904/0.9904, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.107, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1163/0.1163, allocations: 29.44 MB / 273.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/0.2229, allocations: 9.541 MB / 283.2 MB, free: 12.82 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.192e-05, allocations: 2.312 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003112/0.003123, allocations: 2.352 MB / 286.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.006157, allocations: 1.977 MB / 288.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.006217, allocations: 1.312 kB / 288.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.006299, allocations: 16.97 kB / 288.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.006387, allocations: 27.5 kB / 288.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.0086, allocations: 0.8811 MB / 289.7 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.008769, allocations: 76.48 kB / 289.8 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.418e-05/0.008824, allocations: 14.86 kB / 289.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.009016, allocations: 59.91 kB / 289.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.009115, allocations: 43.97 kB / 289.9 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.009131, allocations: 1.375 kB / 289.9 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.01213, allocations: 1.833 MB / 291.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.01219, allocations: 31.64 kB / 291.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.01223, allocations: 15.53 kB / 291.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.01379, allocations: 1.275 MB / 293.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.0138, allocations: 2 kB / 293.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0138, allocations: 0 / 293.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.01381, allocations: 0 / 293.1 MB, free: 6.047 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.0006315/0.01444, allocations: 0.5534 MB / 293.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01448, allocations: 8.031 kB / 293.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.01452, allocations: 4.938 kB / 293.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01469, allocations: 149.5 kB / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.0147, allocations: 384 / 293.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.01471, allocations: 3.938 kB / 293.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.01486, allocations: 116.9 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.01486, allocations: 0 / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.01487, allocations: 7.938 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01488, allocations: 0 / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.01494, allocations: 73.67 kB / 294 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.262e-05/0.01501, allocations: 71.77 kB / 294.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.01509, allocations: 88.2 kB / 294.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.01515, allocations: 78.56 kB / 294.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-06/0.01515, allocations: 0 / 294.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01518, allocations: 34.56 kB / 294.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.01518, allocations: 0 / 294.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003315/0.01551, allocations: 294.7 kB / 294.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.01553, allocations: 59.34 kB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.01563, allocations: 149.7 kB / 294.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.01564, allocations: 25.7 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.01567, allocations: 96.66 kB / 294.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.01573, allocations: 79.3 kB / 294.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.01577, allocations: 29.69 kB / 295 MB, free: 4.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.01586, allocations: 326.8 kB / 295.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.01592, allocations: 76.38 kB / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.01597, allocations: 69.67 kB / 295.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.01611, allocations: 180.3 kB / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01611, allocations: 0 / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001755/0.01629, allocations: 206.2 kB / 295.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.01636, allocations: 65.59 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01636, allocations: 0 / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01637, allocations: 4.062 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.01637, allocations: 0 / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01638, allocations: 0 / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.01643, allocations: 15.89 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01645, allocations: 4 kB / 295.9 MB, free: 3.035 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 0.0001052/0.01656, allocations: 170.3 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.01658, allocations: 19.98 kB / 296.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.01661, allocations: 21.2 kB / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01661, allocations: 0 / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01661, allocations: 4 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01661, allocations: 4 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.517e-05/0.01669, allocations: 89.77 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01669, allocations: 3.938 kB / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.01669, allocations: 0 / 296.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.0167, allocations: 19.83 kB / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01671, allocations: 0 / 296.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-05/0.01679, allocations: 7.938 kB / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01679, allocations: 0 / 296.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01679, allocations: 4 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.01707, allocations: 318.9 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.01709, allocations: 4 kB / 296.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.01712, allocations: 8.031 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.01714, allocations: 11.92 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01715, allocations: 4 kB / 296.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.317e-05/0.01719, allocations: 38.44 kB / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01719, allocations: 0 / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.01783, allocations: 331.4 kB / 296.9 MB, free: 1.926 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.0008/0.01863, allocations: 435.4 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.0189, allocations: 292.1 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.01891, allocations: 4 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.01911, allocations: 263.2 kB / 297.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.01927, allocations: 50.36 kB / 298 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/0.02015, allocations: 418 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/0.0202, allocations: 75.33 kB / 298.4 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.49e-05/0.02022, allocations: 3.984 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.0203, allocations: 71.38 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0203, allocations: 0 / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of Templates: time 0.0105/0.0308, allocations: 8.227 MB / 306.7 MB, free: 8.027 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9667545529082417]