Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001066/0.001066, allocations: 80.31 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.001417/0.001417, allocations: 167.1 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.9265/0.9265, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1258/0.1258, 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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.756e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.005325/0.005342, allocations: 2.218 MB / 373.1 MB, free: 30.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005561/0.005898, allocations: 0.5416 MB / 373.7 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.005936, allocations: 3.938 kB / 373.7 MB, free: 29.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.006055, allocations: 11.91 kB / 373.7 MB, free: 29.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.006128, allocations: 23.84 kB / 373.7 MB, free: 29.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.006406, allocations: 79.75 kB / 373.8 MB, free: 29.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.006493, allocations: 63.75 kB / 373.8 MB, free: 29.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.006527, allocations: 7.922 kB / 373.8 MB, free: 29.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.006628, allocations: 47.77 kB / 373.9 MB, free: 29.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.006667, allocations: 23.91 kB / 373.9 MB, free: 29.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.006674, allocations: 0 / 373.9 MB, free: 29.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.006817, allocations: 103.8 kB / 374 MB, free: 29.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.006857, allocations: 35.86 kB / 374.1 MB, free: 29.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.006879, allocations: 27.86 kB / 374.1 MB, free: 29.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.01002, allocations: 151.4 kB / 374.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01002, allocations: 4 kB / 374.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01002, allocations: 0 / 374.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.01003, allocations: 0 / 374.2 MB, free: 28.96 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0002593/0.01029, allocations: 0.5014 MB / 374.7 MB, free: 28.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.01032, allocations: 8.031 kB / 374.7 MB, free: 28.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.01035, allocations: 20.8 kB / 374.8 MB, free: 28.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.01044, allocations: 144.9 kB / 374.9 MB, free: 28.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.01045, allocations: 384 / 374.9 MB, free: 28.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-06/0.01046, allocations: 384 / 374.9 MB, free: 28.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.01054, allocations: 113.2 kB / 375 MB, free: 28.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.01055, allocations: 7.938 kB / 375 MB, free: 28.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.01055, allocations: 4 kB / 375 MB, free: 28.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.01056, allocations: 0 / 375 MB, free: 28.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.01059, allocations: 77.94 kB / 375.1 MB, free: 28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.956e-05/0.01066, allocations: 121.8 kB / 375.2 MB, free: 27.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/0.01072, allocations: 97.06 kB / 375.3 MB, free: 27.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.01076, allocations: 85.73 kB / 375.4 MB, free: 27.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.01076, allocations: 0 / 375.4 MB, free: 27.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.01077, allocations: 33.39 kB / 375.4 MB, free: 27.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 6.61e-07/0.01077, allocations: 0 / 375.4 MB, free: 27.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0002736/0.01104, allocations: 435.3 kB / 375.9 MB, free: 27.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.01107, allocations: 97.09 kB / 376 MB, free: 27.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.01114, allocations: 205.2 kB / 376.2 MB, free: 26.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.01114, allocations: 25.7 kB / 376.2 MB, free: 26.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.01117, allocations: 147.5 kB / 376.3 MB, free: 26.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.01123, allocations: 146.7 kB / 376.5 MB, free: 26.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.01126, allocations: 43.34 kB / 376.5 MB, free: 26.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.01131, allocations: 0.5157 MB / 377 MB, free: 25.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.01135, allocations: 77.67 kB / 377.1 MB, free: 25.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.01139, allocations: 74.67 kB / 377.2 MB, free: 25.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.295e-05/0.01148, allocations: 191.3 kB / 377.4 MB, free: 25.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01148, allocations: 4.062 kB / 377.4 MB, free: 25.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001628/0.01164, allocations: 292.7 kB / 377.7 MB, free: 25.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.01169, allocations: 81.62 kB / 377.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01169, allocations: 0 / 377.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.0117, allocations: 0 / 377.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.0117, allocations: 0 / 377.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.0117, allocations: 0 / 377.7 MB, free: 25.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.01174, allocations: 19.88 kB / 377.7 MB, free: 25.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01175, allocations: 8 kB / 377.8 MB, free: 25.14 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 8.104e-05/0.01183, allocations: 238.2 kB / 378 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.01187, allocations: 43.83 kB / 378 MB, free: 24.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.01188, allocations: 13.95 kB / 378 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.01188, allocations: 0 / 378 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01188, allocations: 0 / 378 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.01189, allocations: 0 / 378 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.908e-05/0.01196, allocations: 144.9 kB / 378.2 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01196, allocations: 0 / 378.2 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.01196, allocations: 0 / 378.2 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.01196, allocations: 0 / 378.2 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01197, allocations: 8 kB / 378.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01197, allocations: 3.938 kB / 378.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01197, allocations: 4 kB / 378.2 MB, free: 24.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.01225, allocations: 455.4 kB / 378.6 MB, free: 24.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.01227, allocations: 15.84 kB / 378.7 MB, free: 24.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01229, allocations: 8 kB / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.542e-05/0.01231, allocations: 11.94 kB / 378.7 MB, free: 24.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.01233, allocations: 11.98 kB / 378.7 MB, free: 24.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.01234, allocations: 4 kB / 378.7 MB, free: 24.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.01237, allocations: 150.2 kB / 378.8 MB, free: 23.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01237, allocations: 0 / 378.8 MB, free: 23.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01259, allocations: 63.94 kB / 378.9 MB, free: 23.91 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.0001031/0.01269, allocations: 119.2 kB / 379 MB, free: 23.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.01594, allocations: 370.3 kB / 379.4 MB, free: 23.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01595, allocations: 3.938 kB / 379.4 MB, free: 23.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01607, allocations: 248.6 kB / 379.6 MB, free: 23.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.01627, allocations: 27.45 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.01667, allocations: 498.4 kB / 380.1 MB, free: 22.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.01671, allocations: 95.8 kB / 380.2 MB, free: 22.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.01672, allocations: 8.141 kB / 380.2 MB, free: 22.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.01685, allocations: 122.2 kB / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01685, allocations: 0 / 380.4 MB, free: 22.34 MB / 314.7 MB Notification: Performance of Templates: time 0.0078/0.02465, allocations: 3.018 MB / 383.4 MB, free: 19.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.101038819178939]