Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001093/0.001093, allocations: 81.97 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.001322/0.001322, allocations: 168.4 kB / 25.61 MB, free: 8.586 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.9153/0.9153, allocations: 177.1 MB / 206 MB, free: 4.465 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.1345/0.1345, allocations: 29.43 MB / 292 MB, free: 2.617 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_matrixTrDat1,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_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,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_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 370.9 MB, free: 32.28 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.766e-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_matrixTrDat1): time 0.003361/0.003389, allocations: 2.265 MB / 373.2 MB, free: 30 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.006192, allocations: 1.934 MB / 375.1 MB, free: 28.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.006277, allocations: 4 kB / 375.1 MB, free: 28.05 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.006435, allocations: 15.84 kB / 375.1 MB, free: 28.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.006543, allocations: 31.78 kB / 375.2 MB, free: 28.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.009019, allocations: 0.9779 MB / 376.1 MB, free: 27.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.009141, allocations: 83.62 kB / 376.2 MB, free: 26.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.009176, allocations: 8.172 kB / 376.2 MB, free: 26.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.009302, allocations: 47.78 kB / 376.3 MB, free: 26.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.009368, allocations: 39.88 kB / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.009378, allocations: 0 / 376.3 MB, free: 26.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.01212, allocations: 1.894 MB / 378.2 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.01217, allocations: 19.92 kB / 378.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.01221, allocations: 15.94 kB / 378.2 MB, free: 24.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.0145, allocations: 1.496 MB / 379.7 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.01451, allocations: 0 / 379.7 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01451, allocations: 0 / 379.7 MB, free: 23.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01452, allocations: 4 kB / 379.7 MB, free: 23.41 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.0007297/0.01525, allocations: 0.5433 MB / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01528, allocations: 12.03 kB / 380.3 MB, free: 22.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.01532, allocations: 8.891 kB / 380.3 MB, free: 22.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.01544, allocations: 140.3 kB / 380.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.01545, allocations: 3.938 kB / 380.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.01546, allocations: 4 kB / 380.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.01556, allocations: 79.33 kB / 380.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.01556, allocations: 0 / 380.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.01557, allocations: 3.938 kB / 380.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.01558, allocations: 0 / 380.5 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.01561, allocations: 45.69 kB / 380.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.867e-05/0.0157, allocations: 109.2 kB / 380.7 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.01575, allocations: 64.77 kB / 380.7 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.01578, allocations: 53.41 kB / 380.8 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.01579, allocations: 3.938 kB / 380.8 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.0158, allocations: 41.39 kB / 380.8 MB, free: 22.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.0158, allocations: 0 / 380.8 MB, free: 22.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002009/0.01601, allocations: 201.3 kB / 381 MB, free: 21.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.01604, allocations: 89.11 kB / 381.1 MB, free: 21.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.01611, allocations: 184.2 kB / 381.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.01612, allocations: 25.7 kB / 381.3 MB, free: 21.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.01615, allocations: 147.1 kB / 381.5 MB, free: 21.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.01619, allocations: 43.67 kB / 381.5 MB, free: 21.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.01623, allocations: 27.31 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.01629, allocations: 0.5001 MB / 382 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.01633, allocations: 41.69 kB / 382.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.01636, allocations: 45.73 kB / 382.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.01644, allocations: 107 kB / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01644, allocations: 0 / 382.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.01657, allocations: 152.9 kB / 382.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.01661, allocations: 45.69 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01661, allocations: 0 / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.01662, allocations: 0 / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.01662, allocations: 0 / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01663, allocations: 7.984 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.01667, allocations: 3.938 kB / 382.4 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.01668, allocations: 4 kB / 382.4 MB, free: 20.42 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 6.818e-05/0.01675, allocations: 202.3 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.01678, allocations: 19.89 kB / 382.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.01679, allocations: 12.77 kB / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0168, allocations: 0 / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.0168, allocations: 4 kB / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.0168, allocations: 0 / 382.7 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.01687, allocations: 109.2 kB / 382.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01687, allocations: 0 / 382.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.01687, allocations: 3.938 kB / 382.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01687, allocations: 3.984 kB / 382.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01688, allocations: 11.94 kB / 382.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01688, allocations: 4 kB / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01688, allocations: 0 / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.01707, allocations: 226.7 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01708, allocations: 3.953 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.01709, allocations: 7.938 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.014e-05/0.01712, allocations: 4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.01714, allocations: 0 / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01715, allocations: 4 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.01718, allocations: 144.7 kB / 383.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01718, allocations: 0 / 383.2 MB, free: 19.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001013/0.0182, allocations: 331.3 kB / 383.5 MB, free: 19.27 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.0008845/0.01908, allocations: 413.2 kB / 383.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01925, allocations: 194.4 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01926, allocations: 4 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.01933, allocations: 136.8 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.01951, allocations: 20.58 kB / 384.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.02001, allocations: 285 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.02004, allocations: 71.33 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.02006, allocations: 0 / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.02014, allocations: 90.19 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02014, allocations: 4 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of Templates: time 0.01359/0.03374, allocations: 7.737 MB / 392.4 MB, free: 10.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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: 3.3089348087087274]