Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,tolerance=1e-07,outputFormat="mat",numberOfIntervals=20000,variableFilter="P_a.1.|P_diss.1,1.|P_ex.1,1.|P_load.1.|P_sfc|der.P_sfc.|der.generator.1..T_s.1..|der.generator.1..T_s.2..|der.generator.1..T_s.3..|der.generator.1..T_s.4..|der.generator.1..err_p_int.|der.generator.1..err_p_t_int.|der.generator.1..omega.|der.generator.1..p.|der.generator.1..p_t_lp.|der.generator.1..q_ev.|der.generator.1..theta.|der.generator.1..y_t.|f|generator.1..P_a|generator.1..P_sfc|generator.1..P_t|generator.1..T_s.1.|generator.1..T_s.2.|generator.1..T_s.3.|generator.1..T_s.4.|generator.1..T_s_b.1.|generator.1..T_s_b.2.|generator.1..T_s_b.3.|generator.1..T_s_b.4.|generator.1..T_s_b.5.|generator.1..delta_f|generator.1..err_p|generator.1..err_p_int|generator.1..err_p_t|generator.1..err_p_t_int|generator.1..f|generator.1..omega|generator.1..p|generator.1..p_0|generator.1..p_t|generator.1..p_t_0|generator.1..p_t_0_fc|generator.1..p_t_lp|generator.1..q_ev|generator.1..q_ev_0|generator.1..theta|generator.1..w_s|generator.1..y_t|generator.1..y_t_0|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad") translateModel(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,tolerance=1e-07,outputFormat="mat",numberOfIntervals=20000,variableFilter="P_a.1.|P_diss.1,1.|P_ex.1,1.|P_load.1.|P_sfc|der.P_sfc.|der.generator.1..T_s.1..|der.generator.1..T_s.2..|der.generator.1..T_s.3..|der.generator.1..T_s.4..|der.generator.1..err_p_int.|der.generator.1..err_p_t_int.|der.generator.1..omega.|der.generator.1..p.|der.generator.1..p_t_lp.|der.generator.1..q_ev.|der.generator.1..theta.|der.generator.1..y_t.|f|generator.1..P_a|generator.1..P_sfc|generator.1..P_t|generator.1..T_s.1.|generator.1..T_s.2.|generator.1..T_s.3.|generator.1..T_s.4.|generator.1..T_s_b.1.|generator.1..T_s_b.2.|generator.1..T_s_b.3.|generator.1..T_s_b.4.|generator.1..T_s_b.5.|generator.1..delta_f|generator.1..err_p|generator.1..err_p_int|generator.1..err_p_t|generator.1..err_p_t_int|generator.1..f|generator.1..omega|generator.1..p|generator.1..p_0|generator.1..p_t|generator.1..p_t_0|generator.1..p_t_0_fc|generator.1..p_t_lp|generator.1..q_ev|generator.1..q_ev_0|generator.1..theta|generator.1..w_s|generator.1..y_t|generator.1..y_t_0|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009081, allocations: 88.28 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8355/0.8355, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003586, allocations: 8 kB / 0.5433 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 82.84 MB / 0.6242 GB, free: 9.219 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6932/0.8478, allocations: 126.3 MB / 0.7476 GB, free: 7.73 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001015/0.848, allocations: 50.92 kB / 0.7476 GB, free: 7.707 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.8584, allocations: 3.446 MB / 0.751 GB, free: 4.656 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8584, allocations: 4 kB / 0.751 GB, free: 4.652 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.8584, allocations: 4 kB / 0.751 GB, free: 4.648 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001033/0.8594, allocations: 0.614 MB / 0.7516 GB, free: 4 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.8595, allocations: 8.031 kB / 0.7516 GB, free: 3.992 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.8596, allocations: 27.66 kB / 0.7516 GB, free: 3.965 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.8604, allocations: 365.7 kB / 0.752 GB, free: 3.582 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.8604, allocations: 15.89 kB / 0.752 GB, free: 3.57 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8605, allocations: 34.73 kB / 0.752 GB, free: 3.547 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.8609, allocations: 296.1 kB / 0.7523 GB, free: 3.309 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.861, allocations: 4 kB / 0.7523 GB, free: 3.305 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.861, allocations: 7.516 kB / 0.7523 GB, free: 3.301 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.861, allocations: 11.98 kB / 0.7523 GB, free: 3.289 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.8613, allocations: 224.6 kB / 0.7526 GB, free: 3.121 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.8634, allocations: 1.121 MB / 0.7537 GB, free: 2.086 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008683/0.8643, allocations: 438.4 kB / 0.7541 GB, free: 1.742 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.8643, allocations: 0 / 0.7541 GB, free: 1.742 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.8644, allocations: 39.38 kB / 0.7541 GB, free: 1.695 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=23): time 1.072e-06/0.8644, allocations: 0 / 0.7541 GB, free: 1.695 MB / 0.5107 GB Notification: Performance of matching and sorting (n=23): time 0.0006719/0.865, allocations: 471.6 kB / 0.7546 GB, free: 1.328 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.8651, allocations: 55.41 kB / 0.7546 GB, free: 1.262 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.8653, allocations: 197.2 kB / 0.7548 GB, free: 1.086 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.8653, allocations: 33.58 kB / 0.7548 GB, free: 1.051 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.8654, allocations: 131 kB / 0.755 GB, free: 0.9375 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.8655, allocations: 98.14 kB / 0.7551 GB, free: 0.8555 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.8655, allocations: 3.875 kB / 0.7551 GB, free: 0.8555 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8656, allocations: 334.4 kB / 0.7554 GB, free: 0.5273 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.8659, allocations: 196.8 kB / 0.7556 GB, free: 392 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.8661, allocations: 241.7 kB / 0.7558 GB, free: 188 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.8664, allocations: 217.1 kB / 0.756 GB, free: 32 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8664, allocations: 0 / 0.756 GB, free: 32 kB / 0.5107 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006618/0.8671, allocations: 0.506 MB / 0.7565 GB, free: 15.63 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8671, allocations: 4 kB / 0.7565 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8671, allocations: 0 / 0.7565 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8671, allocations: 4 kB / 0.7565 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.8676, allocations: 111.4 kB / 0.7566 GB, free: 15.52 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8676, allocations: 3.953 kB / 0.7566 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.8678, allocations: 39.5 kB / 0.7566 GB, free: 15.48 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.8679, allocations: 15.88 kB / 0.7567 GB, free: 15.46 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.868, allocations: 166.1 kB / 0.7568 GB, free: 15.31 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.8681, allocations: 19.72 kB / 0.7568 GB, free: 15.29 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.8682, allocations: 39.98 kB / 0.7569 GB, free: 15.28 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8682, allocations: 4 kB / 0.7569 GB, free: 15.27 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8682, allocations: 3.938 kB / 0.7569 GB, free: 15.27 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8682, allocations: 3.953 kB / 0.7569 GB, free: 15.27 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.8686, allocations: 355 kB / 0.7572 GB, free: 14.92 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8686, allocations: 3.984 kB / 0.7572 GB, free: 14.91 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.8691, allocations: 91.88 kB / 0.7573 GB, free: 14.82 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.8691, allocations: 4 kB / 0.7573 GB, free: 14.82 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.8692, allocations: 19.73 kB / 0.7573 GB, free: 14.81 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8692, allocations: 0 / 0.7573 GB, free: 14.81 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8692, allocations: 4 kB / 0.7573 GB, free: 14.8 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.8699, allocations: 0.6134 MB / 0.7579 GB, free: 14.3 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.87, allocations: 120.7 kB / 0.7581 GB, free: 14.17 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.8701, allocations: 23.61 kB / 0.7581 GB, free: 14.15 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.8703, allocations: 15.97 kB / 0.7581 GB, free: 14.14 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.8703, allocations: 19.23 kB / 0.7581 GB, free: 14.12 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8703, allocations: 4 kB / 0.7581 GB, free: 14.12 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001123/0.8705, allocations: 159.4 kB / 0.7583 GB, free: 13.98 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8705, allocations: 0 / 0.7583 GB, free: 13.98 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003062/0.8708, allocations: 75.42 kB / 0.7583 GB, free: 13.92 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.8709, allocations: 103.8 kB / 0.7584 GB, free: 13.81 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.8714, allocations: 387.6 kB / 0.7588 GB, free: 13.52 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8714, allocations: 4.062 kB / 0.7588 GB, free: 13.51 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.8716, allocations: 165.7 kB / 0.759 GB, free: 13.39 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.8718, allocations: 4.062 kB / 0.759 GB, free: 13.38 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.8734, allocations: 1.494 MB / 0.7604 GB, free: 11.92 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.8738, allocations: 0.8025 MB / 0.7612 GB, free: 11.1 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.8741, allocations: 109.8 kB / 0.7613 GB, free: 10.99 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.8741, allocations: 19.44 kB / 0.7613 GB, free: 10.97 MB / 0.5263 GB Notification: Performance of SimCode: time 2.1e-07/0.8741, allocations: 0 / 0.7613 GB, free: 10.97 MB / 0.5263 GB Notification: Performance of Templates: time 0.004167/0.8783, allocations: 2.046 MB / 0.7633 GB, free: 8.973 MB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & ./ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches