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.001388/0.001388, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001527/0.001527, allocations: 170 kB / 25.61 MB, free: 8.582 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 0.9773/0.9773, allocations: 177.1 MB / 206 MB, free: 4.512 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.125/0.125, allocations: 29.42 MB / 292 MB, free: 2.613 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.156e-05, allocations: 2.312 kB / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002076/0.002098, allocations: 2.22 MB / 373.1 MB, free: 30.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005505/0.002648, allocations: 0.5415 MB / 373.7 MB, free: 29.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.002692, allocations: 0 / 373.7 MB, free: 29.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.002813, allocations: 11.92 kB / 373.7 MB, free: 29.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.002919, allocations: 27.78 kB / 373.7 MB, free: 29.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.003184, allocations: 79.73 kB / 373.8 MB, free: 29.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.141e-05/0.003276, allocations: 59.7 kB / 373.8 MB, free: 29.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.003312, allocations: 15.98 kB / 373.8 MB, free: 29.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003425, allocations: 31.89 kB / 373.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.003465, allocations: 31.91 kB / 373.9 MB, free: 29.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.003473, allocations: 0 / 373.9 MB, free: 29.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.003614, allocations: 103.7 kB / 374 MB, free: 29.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.003649, allocations: 19.92 kB / 374 MB, free: 29.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.003665, allocations: 8 kB / 374 MB, free: 29.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003786, allocations: 107.7 kB / 374.1 MB, free: 29.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003789, allocations: 0 / 374.1 MB, free: 29.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.003789, allocations: 0 / 374.1 MB, free: 29.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003793, allocations: 0 / 374.1 MB, free: 29.02 MB / 314.7 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.0002181/0.004012, allocations: 441.9 kB / 374.6 MB, free: 28.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.004041, allocations: 8.031 kB / 374.6 MB, free: 28.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.00407, allocations: 8.891 kB / 374.6 MB, free: 28.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.00416, allocations: 126.2 kB / 374.7 MB, free: 28.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.004167, allocations: 384 / 374.7 MB, free: 28.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.004173, allocations: 4.375 kB / 374.7 MB, free: 28.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.817e-05/0.004241, allocations: 71.95 kB / 374.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004248, allocations: 7.938 kB / 374.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.004253, allocations: 0 / 374.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004257, allocations: 0 / 374.8 MB, free: 28.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.004273, allocations: 49.62 kB / 374.8 MB, free: 28.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.304e-05/0.004336, allocations: 105.2 kB / 374.9 MB, free: 28.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.004372, allocations: 72.73 kB / 375 MB, free: 28.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.00439, allocations: 53.41 kB / 375.1 MB, free: 27.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-06/0.004393, allocations: 0 / 375.1 MB, free: 27.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.004405, allocations: 33.39 kB / 375.1 MB, free: 27.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 6.01e-07/0.004405, allocations: 0 / 375.1 MB, free: 27.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.00014/0.004545, allocations: 194.8 kB / 375.3 MB, free: 27.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.004567, allocations: 89.05 kB / 375.4 MB, free: 27.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.666e-05/0.004614, allocations: 181.6 kB / 375.6 MB, free: 27.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.00462, allocations: 29.73 kB / 375.6 MB, free: 27.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.004638, allocations: 138.9 kB / 375.7 MB, free: 27.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.004667, allocations: 39.61 kB / 375.8 MB, free: 27.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.004692, allocations: 31.36 kB / 375.8 MB, free: 27.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.004732, allocations: 0.4884 MB / 376.3 MB, free: 26.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.004752, allocations: 45.69 kB / 376.3 MB, free: 26.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.004768, allocations: 41.7 kB / 376.4 MB, free: 26.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.004811, allocations: 107 kB / 376.5 MB, free: 26.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004813, allocations: 3.938 kB / 376.5 MB, free: 26.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.578e-05/0.004889, allocations: 145 kB / 376.6 MB, free: 26.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.004914, allocations: 41.69 kB / 376.7 MB, free: 26.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004917, allocations: 4.062 kB / 376.7 MB, free: 26.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/0.004925, allocations: 0 / 376.7 MB, free: 26.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.004926, allocations: 3.938 kB / 376.7 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004928, allocations: 4 kB / 376.7 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.004946, allocations: 3.953 kB / 376.7 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.004958, allocations: 4 kB / 376.7 MB, free: 26.19 MB / 314.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 5.151e-05/0.005009, allocations: 202.2 kB / 376.9 MB, free: 25.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.005021, allocations: 11.95 kB / 376.9 MB, free: 25.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.206e-05/0.005033, allocations: 8.438 kB / 376.9 MB, free: 25.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005035, allocations: 0 / 376.9 MB, free: 25.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005038, allocations: 11.92 kB / 376.9 MB, free: 25.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.00504, allocations: 0 / 376.9 MB, free: 25.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.36e-05/0.005083, allocations: 109.2 kB / 377 MB, free: 25.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005084, allocations: 4 kB / 377 MB, free: 25.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.005085, allocations: 0 / 377 MB, free: 25.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.005086, allocations: 4 kB / 377 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.00509, allocations: 0 / 377 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005091, allocations: 0 / 377 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005092, allocations: 7.938 kB / 377 MB, free: 25.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.005195, allocations: 217.3 kB / 377.2 MB, free: 25.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005204, allocations: 15.84 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.005214, allocations: 8.031 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.005224, allocations: 4 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.005235, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.00524, allocations: 4 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.911e-05/0.005259, allocations: 135.1 kB / 377.4 MB, free: 25.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005259, allocations: 0 / 377.4 MB, free: 25.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.00542, allocations: 31.94 kB / 377.4 MB, free: 25.36 MB / 314.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.0001257/0.005546, allocations: 119.1 kB / 377.5 MB, free: 25.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.005672, allocations: 194.4 kB / 377.7 MB, free: 25.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.005674, allocations: 4.062 kB / 377.7 MB, free: 25.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.005713, allocations: 148 kB / 377.9 MB, free: 24.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.005863, allocations: 8 kB / 377.9 MB, free: 24.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.006104, allocations: 237.6 kB / 378.1 MB, free: 24.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.163e-05/0.006126, allocations: 71.23 kB / 378.2 MB, free: 24.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.397e-05/0.00614, allocations: 4 kB / 378.2 MB, free: 24.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.006212, allocations: 102.2 kB / 378.3 MB, free: 24.38 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.006213, allocations: 0 / 378.3 MB, free: 24.38 MB / 314.7 MB Notification: Performance of Templates: time 0.002927/0.00914, allocations: 1.537 MB / 379.8 MB, free: 22.87 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] 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","",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.925072536803782]