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.001356/0.001356, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001427/0.001427, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2375/0.2375, allocations: 29.42 MB / 291.2 MB, free: 2.465 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 2.194e-06/2.194e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.063e-05, allocations: 2.312 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.004305/0.004336, allocations: 2.211 MB / 372.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.005398, allocations: 0.5454 MB / 372.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.005465, allocations: 0 / 372.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.005651, allocations: 11.92 kB / 372.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.005763, allocations: 23.78 kB / 372.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.006141, allocations: 87.69 kB / 373 MB, free: 7.812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.00625, allocations: 59.75 kB / 373.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.006289, allocations: 4 kB / 373.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.006419, allocations: 35.89 kB / 373.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.006464, allocations: 27.91 kB / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.006473, allocations: 0 / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.006652, allocations: 103.7 kB / 373.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.00671, allocations: 47.84 kB / 373.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.006735, allocations: 15.94 kB / 373.3 MB, free: 7.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.006912, allocations: 147.5 kB / 373.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.006916, allocations: 7.938 kB / 373.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006917, allocations: 0 / 373.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006922, allocations: 0 / 373.4 MB, free: 7.371 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004109/0.007332, allocations: 0.5053 MB / 373.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.007378, allocations: 11.98 kB / 374 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.00742, allocations: 16.8 kB / 374 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.007568, allocations: 144.9 kB / 374.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.007577, allocations: 4.375 kB / 374.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.007584, allocations: 384 / 374.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.007709, allocations: 109.2 kB / 374.2 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.007716, allocations: 4 kB / 374.2 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.007722, allocations: 0 / 374.2 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.007728, allocations: 8 kB / 374.2 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.00777, allocations: 74.02 kB / 374.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.007879, allocations: 121.7 kB / 374.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.007952, allocations: 101 kB / 374.5 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.008, allocations: 81.73 kB / 374.6 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.008004, allocations: 4 kB / 374.6 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.008037, allocations: 37.38 kB / 374.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.403e-06/0.008038, allocations: 0 / 374.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003678/0.008406, allocations: 419.4 kB / 375.1 MB, free: 5.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.008463, allocations: 109 kB / 375.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.008578, allocations: 205.2 kB / 375.4 MB, free: 5.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.00859, allocations: 25.7 kB / 375.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.008645, allocations: 151.5 kB / 375.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.831e-05/0.008733, allocations: 134.8 kB / 375.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.008781, allocations: 55.27 kB / 375.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.008933, allocations: 0.5157 MB / 376.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.008999, allocations: 73.69 kB / 376.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.009043, allocations: 70.67 kB / 376.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.009168, allocations: 195.3 kB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009169, allocations: 4.062 kB / 376.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005161/0.009686, allocations: 292.7 kB / 376.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.009757, allocations: 81.62 kB / 376.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.009762, allocations: 0 / 376.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.009779, allocations: 0 / 376.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-06/0.009782, allocations: 7.984 kB / 377 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.009785, allocations: 0 / 377 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.009817, allocations: 19.84 kB / 377 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.009835, allocations: 4 kB / 377 MB, free: 3.547 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 0.0001214/0.009957, allocations: 242.2 kB / 377.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.009987, allocations: 39.88 kB / 377.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.909e-05/0.01001, allocations: 5.969 kB / 377.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.01001, allocations: 0 / 377.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01001, allocations: 4 kB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01001, allocations: 0 / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.01011, allocations: 145 kB / 377.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.01011, allocations: 3.984 kB / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.01011, allocations: 0 / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01011, allocations: 0 / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.01012, allocations: 4 kB / 377.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01013, allocations: 7.938 kB / 377.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01013, allocations: 4 kB / 377.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01046, allocations: 451.4 kB / 377.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01048, allocations: 23.83 kB / 377.9 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.0105, allocations: 4 kB / 377.9 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.01052, allocations: 11.94 kB / 377.9 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.01054, allocations: 8 kB / 377.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.01055, allocations: 8 kB / 377.9 MB, free: 2.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.01061, allocations: 151.1 kB / 378.1 MB, free: 2.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01061, allocations: 0 / 378.1 MB, free: 2.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000196/0.0108, allocations: 59.94 kB / 378.1 MB, free: 2.32 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.000156/0.01096, allocations: 123.1 kB / 378.2 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.01125, allocations: 370.3 kB / 378.6 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01125, allocations: 0 / 378.6 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.01141, allocations: 256.5 kB / 378.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01162, allocations: 16 kB / 378.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.01214, allocations: 0.497 MB / 379.4 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.0122, allocations: 87.81 kB / 379.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.01222, allocations: 4 kB / 379.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.01237, allocations: 122.2 kB / 379.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01237, allocations: 0 / 379.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of Templates: time 0.005153/0.01752, allocations: 2.984 MB / 382.6 MB, free: 13.83 MB / 362.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: 2.9484120970591903]