Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0007606/0.0007606, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009566/0.001717, 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.0006993/0.0006993, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008433/0.001543, 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 0.8973/0.8973, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07656/0.9739, 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.123/0.123, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.12/0.243, allocations: 9.531 MB / 283 MB, free: 12.84 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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.491e-05, allocations: 6.188 kB / 284.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.005716/0.005731, allocations: 2.327 MB / 286.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.008338, allocations: 1.984 MB / 288.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.008383, allocations: 4 kB / 288.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.619e-05/0.00845, allocations: 13.5 kB / 288.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.01153, allocations: 31.16 kB / 288.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.01353, allocations: 0.87 MB / 289.5 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.01366, allocations: 80.64 kB / 289.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.01369, allocations: 11.69 kB / 289.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.01383, allocations: 63.06 kB / 289.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.0139, allocations: 40.7 kB / 289.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.01392, allocations: 3.719 kB / 289.7 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/0.0194, allocations: 1.832 MB / 291.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.01947, allocations: 52.5 kB / 291.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.01951, allocations: 23.38 kB / 291.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.02405, allocations: 1.291 MB / 292.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.02407, allocations: 7.984 kB / 292.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.02407, allocations: 1.281 kB / 292.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.02408, allocations: 0 / 292.9 MB, free: 6.086 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007022/0.02478, allocations: 0.5994 MB / 293.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.02481, allocations: 12.03 kB / 293.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.02485, allocations: 4.938 kB / 293.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.02499, allocations: 149.4 kB / 293.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.025, allocations: 384 / 293.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.02501, allocations: 7.938 kB / 293.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.02518, allocations: 156.7 kB / 293.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.02518, allocations: 7.938 kB / 293.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.02519, allocations: 4 kB / 293.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.02519, allocations: 0 / 293.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.172e-05/0.02528, allocations: 101.9 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.837e-05/0.02536, allocations: 76.31 kB / 294 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.02546, allocations: 120.6 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.02554, allocations: 98.89 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.02554, allocations: 4 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.02557, allocations: 38.5 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 7.52e-07/0.02557, allocations: 0 / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006405/0.02621, allocations: 466.6 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.02623, allocations: 59.42 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.02633, allocations: 158.6 kB / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003025/0.02935, allocations: 25.7 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.02938, allocations: 96.77 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.02947, allocations: 130.8 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.02951, allocations: 29.69 kB / 295.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.0296, allocations: 334.8 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.02969, allocations: 116.4 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.02977, allocations: 98.66 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.02996, allocations: 258 kB / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02996, allocations: 0 / 296 MB, free: 2.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000267/0.03023, allocations: 312.9 kB / 296.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.0303, allocations: 81.58 kB / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.0303, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.03031, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.03031, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.03032, allocations: 0 / 296.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.03038, allocations: 27.83 kB / 296.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.0304, allocations: 8 kB / 296.4 MB, free: 2.387 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.0001236/0.03053, allocations: 198.3 kB / 296.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.03056, allocations: 23.98 kB / 296.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.03058, allocations: 18.62 kB / 296.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.03058, allocations: 0 / 296.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.03058, allocations: 7.922 kB / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.03059, allocations: 0 / 296.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.03067, allocations: 105.6 kB / 296.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.03067, allocations: 0 / 296.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/0.03067, allocations: 3.984 kB / 296.8 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.03069, allocations: 19.8 kB / 296.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.03069, allocations: 4 kB / 296.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.03071, allocations: 7.938 kB / 296.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.03071, allocations: 0 / 296.8 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.03071, allocations: 4 kB / 296.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.03112, allocations: 477.9 kB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.03114, allocations: 4 kB / 297.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.03118, allocations: 8 kB / 297.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.0312, allocations: 7.938 kB / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.03122, allocations: 8 kB / 297.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.03126, allocations: 36.81 kB / 297.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03126, allocations: 4 kB / 297.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.03198, allocations: 355.3 kB / 297.7 MB, free: 1.047 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.003786/0.03577, allocations: 428 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.03615, allocations: 415.5 kB / 298.5 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.03615, allocations: 4 kB / 298.5 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.03636, allocations: 269.8 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.03651, allocations: 32.77 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.0378, allocations: 0.5672 MB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.03786, allocations: 87.81 kB / 299.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.079e-05/0.03787, allocations: 4 kB / 299.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.03803, allocations: 95.36 kB / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03803, allocations: 0 / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01242/0.05045, allocations: 8.948 MB / 308.5 MB, free: 6.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.90021410305053]