Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0009907/0.0009907, 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.001166/0.001166, allocations: 169.4 kB / 24.91 MB, free: 8.766 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2395/0.2395, allocations: 29.42 MB / 291.2 MB, free: 2.438 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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.506e-05, allocations: 2.312 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002754/0.002769, allocations: 2.26 MB / 319.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003868, allocations: 0.5577 MB / 319.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.003907, allocations: 0 / 319.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.004018, allocations: 11.92 kB / 319.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.004124, allocations: 31.78 kB / 319.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.004394, allocations: 75.69 kB / 319.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.004497, allocations: 71.67 kB / 319.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.004531, allocations: 7.984 kB / 319.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.004638, allocations: 35.89 kB / 319.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.00468, allocations: 19.92 kB / 320 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.004689, allocations: 8 kB / 320 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.004862, allocations: 99.72 kB / 320.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.004899, allocations: 19.92 kB / 320.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.004916, allocations: 11.94 kB / 320.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.005056, allocations: 107.7 kB / 320.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005058, allocations: 0 / 320.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005058, allocations: 0 / 320.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.005061, allocations: 4 kB / 320.2 MB, free: 12.64 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002445/0.005306, allocations: 302.3 kB / 320.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.005336, allocations: 11.98 kB / 320.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.005361, allocations: 8.938 kB / 320.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.005475, allocations: 125.6 kB / 320.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.005482, allocations: 8.297 kB / 320.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.005489, allocations: 4.375 kB / 320.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.005574, allocations: 79.66 kB / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.005581, allocations: 3.938 kB / 320.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.005588, allocations: 4 kB / 320.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.005593, allocations: 0 / 320.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.005621, allocations: 41.69 kB / 320.8 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.55e-05/0.005686, allocations: 67.77 kB / 320.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.005739, allocations: 68.19 kB / 320.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.005769, allocations: 54.59 kB / 321 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-06/0.005772, allocations: 0 / 321 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.005791, allocations: 30.56 kB / 321 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 6.02e-07/0.005792, allocations: 0 / 321 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001528/0.005945, allocations: 183.2 kB / 321.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.005981, allocations: 89.27 kB / 321.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.006045, allocations: 123.9 kB / 321.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.006053, allocations: 29.7 kB / 321.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.006076, allocations: 84.12 kB / 321.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.006112, allocations: 35.69 kB / 321.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.006141, allocations: 25.73 kB / 321.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.006223, allocations: 322.8 kB / 321.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.006254, allocations: 44.53 kB / 321.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.006281, allocations: 45.69 kB / 322 MB, free: 10.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.006351, allocations: 108.2 kB / 322.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006352, allocations: 0 / 322.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.258e-05/0.006445, allocations: 125 kB / 322.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.006482, allocations: 53.67 kB / 322.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.006486, allocations: 0 / 322.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006497, allocations: 0 / 322.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.006498, allocations: 0 / 322.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006503, allocations: 8 kB / 322.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.006524, allocations: 11.89 kB / 322.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.006535, allocations: 0 / 322.3 MB, free: 10.34 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 7.678e-05/0.006612, allocations: 162.3 kB / 322.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.006626, allocations: 8 kB / 322.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.431e-05/0.00664, allocations: 12.42 kB / 322.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.006641, allocations: 0 / 322.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006644, allocations: 3.938 kB / 322.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.006646, allocations: 0 / 322.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.856e-05/0.006705, allocations: 73.83 kB / 322.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006706, allocations: 8 kB / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.006707, allocations: 0 / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.006708, allocations: 0 / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006714, allocations: 0 / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006716, allocations: 4 kB / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006717, allocations: 0 / 322.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.006861, allocations: 202.8 kB / 322.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.00687, allocations: 3.953 kB / 322.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.006882, allocations: 4 kB / 322.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.006899, allocations: 8 kB / 322.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.006909, allocations: 0 / 322.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.006917, allocations: 12.02 kB / 322.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.751e-05/0.006935, allocations: 16.03 kB / 322.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006935, allocations: 0 / 322.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.007118, allocations: 39.81 kB / 322.8 MB, free: 9.723 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.0001215/0.007239, allocations: 100.3 kB / 322.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.007393, allocations: 183.6 kB / 323.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.007397, allocations: 4 kB / 323.1 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.007472, allocations: 133.9 kB / 323.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.00758, allocations: 32.03 kB / 323.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.007868, allocations: 248.7 kB / 323.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.007903, allocations: 63.34 kB / 323.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.05e-05/0.007914, allocations: 0 / 323.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.008008, allocations: 75.36 kB / 323.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008008, allocations: 0 / 323.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of Templates: time 0.003122/0.01113, allocations: 1.478 MB / 325.1 MB, free: 7.336 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.8702041199430823]