Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001243/0.001243, allocations: 80.8 kB / 21.5 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.000964/0.000964, allocations: 170 kB / 24.91 MB, free: 8.695 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.9321/0.9321, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2304/0.2304, allocations: 29.42 MB / 291.2 MB, free: 2.488 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_matrixEqCirc2,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_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,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_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.983e-05, allocations: 4.703 kB / 316.9 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002659/0.002678, allocations: 2.222 MB / 319.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.003331, allocations: 0.5499 MB / 319.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.003373, allocations: 3.938 kB / 319.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003499, allocations: 11.92 kB / 319.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.003582, allocations: 31.78 kB / 319.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.003929, allocations: 79.73 kB / 319.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.00404, allocations: 63.69 kB / 319.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.00408, allocations: 7.984 kB / 319.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004227, allocations: 35.89 kB / 319.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.004271, allocations: 23.92 kB / 319.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.004282, allocations: 7.984 kB / 319.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.00444, allocations: 99.67 kB / 320 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.004481, allocations: 27.92 kB / 320 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.004501, allocations: 19.92 kB / 320 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.00465, allocations: 131.5 kB / 320.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004652, allocations: 0 / 320.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004653, allocations: 0 / 320.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.004656, allocations: 0 / 320.2 MB, free: 12.68 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002755/0.004931, allocations: 334.1 kB / 320.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.004964, allocations: 11.98 kB / 320.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.004992, allocations: 4.938 kB / 320.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005122, allocations: 141.5 kB / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.00513, allocations: 4.375 kB / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.005139, allocations: 384 / 320.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.005256, allocations: 94.78 kB / 320.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.005265, allocations: 11.88 kB / 320.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.005271, allocations: 0 / 320.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.005277, allocations: 0 / 320.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.005308, allocations: 53.69 kB / 320.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.905e-05/0.005397, allocations: 75.62 kB / 320.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.005463, allocations: 72.27 kB / 320.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.005503, allocations: 61.02 kB / 321 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.005508, allocations: 4 kB / 321 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.00553, allocations: 34.56 kB / 321 MB, free: 11.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 9.52e-07/0.005531, allocations: 4 kB / 321 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002067/0.005738, allocations: 254.7 kB / 321.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.00578, allocations: 93.05 kB / 321.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.005858, allocations: 137.2 kB / 321.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.005869, allocations: 25.7 kB / 321.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.005899, allocations: 96.55 kB / 321.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.005954, allocations: 75.27 kB / 321.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.005985, allocations: 25.69 kB / 321.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.006068, allocations: 326.8 kB / 322.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.006108, allocations: 64.52 kB / 322.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.006139, allocations: 61.72 kB / 322.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.00622, allocations: 152.9 kB / 322.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006222, allocations: 0 / 322.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001129/0.006335, allocations: 179.9 kB / 322.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.006372, allocations: 57.66 kB / 322.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006376, allocations: 0 / 322.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.006386, allocations: 0 / 322.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-06/0.00639, allocations: 4 kB / 322.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.006394, allocations: 3.938 kB / 322.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.006418, allocations: 15.88 kB / 322.6 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.006433, allocations: 4 kB / 322.6 MB, free: 9.996 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 9.481e-05/0.006528, allocations: 178.4 kB / 322.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.006544, allocations: 15.98 kB / 322.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.00656, allocations: 13.28 kB / 322.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.006561, allocations: 0 / 322.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.006564, allocations: 3.938 kB / 322.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006566, allocations: 0 / 322.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.161e-05/0.006628, allocations: 85.81 kB / 322.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006629, allocations: 0 / 322.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-07/0.006629, allocations: 3.938 kB / 322.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.00663, allocations: 0 / 322.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006637, allocations: 8 kB / 322.9 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006638, allocations: 0 / 322.9 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006639, allocations: 4 kB / 322.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.00682, allocations: 285.9 kB / 323.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.006833, allocations: 19.84 kB / 323.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.006852, allocations: 8 kB / 323.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.006866, allocations: 4 kB / 323.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.006878, allocations: 0 / 323.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.006886, allocations: 4 kB / 323.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.006906, allocations: 27.48 kB / 323.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006906, allocations: 3.938 kB / 323.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007053, allocations: 59.91 kB / 323.3 MB, free: 9.215 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.0001299/0.007183, allocations: 92.34 kB / 323.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.007383, allocations: 263.5 kB / 323.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.007386, allocations: 0 / 323.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.007482, allocations: 177.9 kB / 323.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.007604, allocations: 19.98 kB / 323.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.007961, allocations: 361.4 kB / 324.2 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.007999, allocations: 75.33 kB / 324.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.008014, allocations: 256 / 324.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.008108, allocations: 87.36 kB / 324.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008109, allocations: 3.938 kB / 324.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Templates: time 0.003613/0.01172, allocations: 2.134 MB / 326.5 MB, free: 5.957 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.936479334253818]