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.001076/0.001076, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001375/0.001375, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2278/0.2278, allocations: 29.42 MB / 291.2 MB, free: 2.473 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_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.833e-06/1.833e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.009e-05, allocations: 3.625 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004122/0.004153, allocations: 2.26 MB / 319.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.005017, allocations: 0.5538 MB / 319.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.005066, allocations: 0 / 319.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.005226, allocations: 15.91 kB / 319.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.005316, allocations: 31.77 kB / 319.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.005647, allocations: 79.69 kB / 319.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.005762, allocations: 55.77 kB / 319.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.005804, allocations: 15.95 kB / 319.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.005943, allocations: 43.84 kB / 320 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.005995, allocations: 23.91 kB / 320 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.006003, allocations: 0 / 320 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.006208, allocations: 103.7 kB / 320.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.006245, allocations: 15.92 kB / 320.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.006265, allocations: 7.938 kB / 320.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.006429, allocations: 99.73 kB / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.006437, allocations: 0 / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006439, allocations: 0 / 320.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.006443, allocations: 3.938 kB / 320.2 MB, free: 12.62 MB / 298.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.0002939/0.006737, allocations: 298.4 kB / 320.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006771, allocations: 15.98 kB / 320.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.0068, allocations: 0.9375 kB / 320.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.006917, allocations: 125.6 kB / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.006926, allocations: 4.375 kB / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.006932, allocations: 384 / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.007036, allocations: 74.78 kB / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.007045, allocations: 3.938 kB / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.007051, allocations: 0 / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007056, allocations: 0 / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.007083, allocations: 45.62 kB / 320.8 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.72e-05/0.00715, allocations: 63.83 kB / 320.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.007196, allocations: 52.28 kB / 320.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.007219, allocations: 46.58 kB / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-06/0.007223, allocations: 0 / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.007243, allocations: 34.56 kB / 320.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.007245, allocations: 0 / 320.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001779/0.007422, allocations: 162.8 kB / 321.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.007459, allocations: 93.03 kB / 321.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.007519, allocations: 110.7 kB / 321.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.00753, allocations: 29.7 kB / 321.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.007551, allocations: 88.17 kB / 321.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.007581, allocations: 31.72 kB / 321.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.007606, allocations: 13.72 kB / 321.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.007679, allocations: 322.8 kB / 321.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.007701, allocations: 36.53 kB / 321.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.007721, allocations: 49.62 kB / 321.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.007774, allocations: 93.84 kB / 322 MB, free: 10.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.007776, allocations: 0 / 322 MB, free: 10.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.464e-05/0.00785, allocations: 121.1 kB / 322.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.007883, allocations: 41.69 kB / 322.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.007888, allocations: 0 / 322.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007899, allocations: 4.062 kB / 322.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.0079, allocations: 0 / 322.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007904, allocations: 3.938 kB / 322.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.007922, allocations: 4 kB / 322.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.007933, allocations: 0 / 322.1 MB, free: 10.44 MB / 298.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.574e-05/0.007998, allocations: 154.4 kB / 322.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.008008, allocations: 7.984 kB / 322.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.008023, allocations: 12.42 kB / 322.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.008024, allocations: 0 / 322.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008026, allocations: 3.938 kB / 322.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.008028, allocations: 4 kB / 322.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.938e-05/0.008077, allocations: 65.89 kB / 322.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.008078, allocations: 4 kB / 322.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.008079, allocations: 4 kB / 322.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.00808, allocations: 0 / 322.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.008084, allocations: 3.938 kB / 322.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.008085, allocations: 0 / 322.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008086, allocations: 4 kB / 322.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.00819, allocations: 170.1 kB / 322.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008198, allocations: 11.89 kB / 322.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.008207, allocations: 0 / 322.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.008222, allocations: 8.031 kB / 322.6 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.008232, allocations: 3.984 kB / 322.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.008238, allocations: 4 kB / 322.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.432e-05/0.008252, allocations: 12.86 kB / 322.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008252, allocations: 0 / 322.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001239/0.008376, allocations: 31.88 kB / 322.6 MB, free: 9.871 MB / 298.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.0001322/0.008508, allocations: 96.31 kB / 322.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.008631, allocations: 167.6 kB / 322.9 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.008634, allocations: 3.938 kB / 322.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.008689, allocations: 122 kB / 323 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.008801, allocations: 8 kB / 323 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.009076, allocations: 216.1 kB / 323.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.009113, allocations: 59.34 kB / 323.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.009126, allocations: 4 kB / 323.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.009218, allocations: 83.34 kB / 323.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009218, allocations: 4 kB / 323.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of Templates: time 0.002778/0.012, allocations: 1.21 MB / 324.6 MB, free: 7.832 MB / 298.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 -s gbode -gbm=radauIIA3 -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.9307718710042536]