Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001042/0.001042, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001175/0.001175, allocations: 164.2 kB / 24.99 MB, free: 8.789 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 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.2624/0.2624, allocations: 29.41 MB / 291.2 MB, free: 2.402 MB / 266.7 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_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.603e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002552/0.002578, allocations: 2.215 MB / 371.8 MB, free: 9.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006417/0.00322, allocations: 0.5376 MB / 372.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.003269, allocations: 4 kB / 372.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.003444, allocations: 11.86 kB / 372.4 MB, free: 8.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.00352, allocations: 31.78 kB / 372.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.003828, allocations: 75.8 kB / 372.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.004191, allocations: 67.64 kB / 372.6 MB, free: 8.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.004237, allocations: 3.984 kB / 372.6 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.004373, allocations: 39.89 kB / 372.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.004418, allocations: 31.91 kB / 372.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.004426, allocations: 0 / 372.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.004585, allocations: 99.72 kB / 372.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.004629, allocations: 7.984 kB / 372.7 MB, free: 8.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.004652, allocations: 11.94 kB / 372.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.004806, allocations: 103.6 kB / 372.9 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004809, allocations: 4 kB / 372.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00481, allocations: 0 / 372.9 MB, free: 8.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.004815, allocations: 4 kB / 372.9 MB, free: 8.031 MB / 346.7 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.0003186/0.005134, allocations: 410.1 kB / 373.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.005172, allocations: 11.98 kB / 373.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.005212, allocations: 4.938 kB / 373.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005346, allocations: 132.5 kB / 373.4 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-06/0.005354, allocations: 4.312 kB / 373.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.005363, allocations: 384 / 373.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.005468, allocations: 67.95 kB / 373.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.005473, allocations: 3.938 kB / 373.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005483, allocations: 8 kB / 373.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005489, allocations: 0 / 373.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.005516, allocations: 37.69 kB / 373.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.005616, allocations: 124.6 kB / 373.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.005674, allocations: 72.69 kB / 373.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.005705, allocations: 45.41 kB / 373.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.005709, allocations: 0 / 373.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.005734, allocations: 41.33 kB / 373.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.005735, allocations: 0 / 373.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001965/0.005931, allocations: 170.7 kB / 374 MB, free: 6.738 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.005974, allocations: 85.14 kB / 374.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.006063, allocations: 185.8 kB / 374.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.006073, allocations: 25.7 kB / 374.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.006117, allocations: 134.9 kB / 374.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.006152, allocations: 23.75 kB / 374.4 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.006182, allocations: 27.36 kB / 374.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.006296, allocations: 0.4884 MB / 374.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.006331, allocations: 41.69 kB / 375 MB, free: 5.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.006352, allocations: 37.7 kB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.545e-05/0.006418, allocations: 99.06 kB / 375.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.006419, allocations: 0 / 375.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.833e-05/0.006518, allocations: 133.2 kB / 375.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.006558, allocations: 41.69 kB / 375.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.006564, allocations: 0 / 375.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.006578, allocations: 11.88 kB / 375.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.006579, allocations: 4 kB / 375.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.006586, allocations: 3.984 kB / 375.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.006603, allocations: 0 / 375.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.006617, allocations: 4 kB / 375.3 MB, free: 5.289 MB / 346.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 7.517e-05/0.006692, allocations: 190.3 kB / 375.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.006705, allocations: 11.95 kB / 375.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.006717, allocations: 12.47 kB / 375.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.006722, allocations: 7.938 kB / 375.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006725, allocations: 0 / 375.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006727, allocations: 0 / 375.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.273e-05/0.0068, allocations: 128.6 kB / 375.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006801, allocations: 0 / 375.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.006801, allocations: 0 / 375.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006804, allocations: 3.984 kB / 375.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.006812, allocations: 4 kB / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006813, allocations: 0 / 375.7 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.006815, allocations: 3.938 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.006956, allocations: 196 kB / 375.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006965, allocations: 11.88 kB / 375.9 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.006975, allocations: 4 kB / 375.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.006985, allocations: 0 / 375.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.006998, allocations: 7.938 kB / 375.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007002, allocations: 0 / 375.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.007043, allocations: 135.2 kB / 376 MB, free: 4.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007043, allocations: 0 / 376 MB, free: 4.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.00721, allocations: 27.94 kB / 376 MB, free: 4.477 MB / 346.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.0001514/0.007361, allocations: 115.2 kB / 376.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.00751, allocations: 174.5 kB / 376.3 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007512, allocations: 0 / 376.3 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.00757, allocations: 124.8 kB / 376.4 MB, free: 4.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.007732, allocations: 11.94 kB / 376.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.008034, allocations: 219.7 kB / 376.7 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.00807, allocations: 63.34 kB / 376.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.243e-05/0.008083, allocations: 4.125 kB / 376.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.008096, allocations: 12.5 kB / 376.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.008097, allocations: 0 / 376.7 MB, free: 3.645 MB / 346.7 MB Notification: Performance of Templates: time 0.002931/0.01103, allocations: 1.15 MB / 377.9 MB, free: 2.52 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.979932118905708]