Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 189.5 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.069/1.069, allocations: 221.4 MB / 230 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 93.89 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5939/0.5939, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.14e-06, allocations: 3.938 kB / 0.5282 GB, free: 52.4 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 82.85 MB / 0.6091 GB, free: 3.527 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5469, allocations: 125.5 MB / 0.7317 GB, free: 4.293 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001073/0.547, allocations: 47.3 kB / 0.7317 GB, free: 4.277 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.00934/0.5564, allocations: 3.105 MB / 0.7347 GB, free: 1.781 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5564, allocations: 4 kB / 0.7348 GB, free: 1.777 MB / 0.4953 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.0007679/0.5572, allocations: 0.5509 MB / 0.7353 GB, free: 1.188 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.5572, allocations: 8.031 kB / 0.7353 GB, free: 1.18 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.5573, allocations: 20.56 kB / 0.7353 GB, free: 1.16 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.558, allocations: 348.4 kB / 0.7356 GB, free: 0.793 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.558, allocations: 8 kB / 0.7357 GB, free: 0.7852 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.5581, allocations: 31.02 kB / 0.7357 GB, free: 0.7578 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002725/0.5584, allocations: 236.9 kB / 0.7359 GB, free: 0.5781 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.5587, allocations: 287 kB / 0.7362 GB, free: 344 kB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5587, allocations: 7.938 kB / 0.7362 GB, free: 336 kB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.5587, allocations: 0 / 0.7362 GB, free: 336 kB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5587, allocations: 4 kB / 0.7362 GB, free: 332 kB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.5603, allocations: 1.005 MB / 0.7372 GB, free: 15.39 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.5608, allocations: 374.5 kB / 0.7375 GB, free: 15.09 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.561, allocations: 165.6 kB / 0.7377 GB, free: 14.97 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.561, allocations: 0 / 0.7377 GB, free: 14.97 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.561, allocations: 38.38 kB / 0.7377 GB, free: 14.93 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=23): time 2.996e-06/0.561, allocations: 4 kB / 0.7377 GB, free: 14.92 MB / 0.5109 GB Notification: Performance of matching and sorting (n=23): time 0.0004999/0.5615, allocations: 339.8 kB / 0.7381 GB, free: 14.64 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.5616, allocations: 51.41 kB / 0.7381 GB, free: 14.58 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.5617, allocations: 188.6 kB / 0.7383 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5618, allocations: 25.7 kB / 0.7383 GB, free: 14.38 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.5618, allocations: 118.3 kB / 0.7384 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.5619, allocations: 95.83 kB / 0.7385 GB, free: 14.18 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.5619, allocations: 0 / 0.7385 GB, free: 14.18 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.562, allocations: 332.3 kB / 0.7388 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.5623, allocations: 197.3 kB / 0.739 GB, free: 13.71 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.5626, allocations: 238 kB / 0.7392 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.5629, allocations: 236.5 kB / 0.7395 GB, free: 13.34 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5629, allocations: 0 / 0.7395 GB, free: 13.34 MB / 0.5109 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006392/0.5635, allocations: 0.493 MB / 0.74 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5635, allocations: 7.281 kB / 0.74 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.5635, allocations: 0 / 0.74 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5636, allocations: 4 kB / 0.74 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.5641, allocations: 107 kB / 0.7401 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5641, allocations: 0 / 0.7401 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5643, allocations: 31.67 kB / 0.7401 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.5643, allocations: 10.56 kB / 0.7401 GB, free: 12.78 MB / 0.5109 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 () * 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 8.272e-05/0.5644, allocations: 109 kB / 0.7402 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.5644, allocations: 15.81 kB / 0.7402 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.175e-05/0.5645, allocations: 40.61 kB / 0.7403 GB, free: 12.64 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5645, allocations: 0 / 0.7403 GB, free: 12.64 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5645, allocations: 3.906 kB / 0.7403 GB, free: 12.63 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5645, allocations: 4 kB / 0.7403 GB, free: 12.63 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.5649, allocations: 324.6 kB / 0.7406 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5649, allocations: 0 / 0.7406 GB, free: 12.32 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.5655, allocations: 91.81 kB / 0.7407 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5655, allocations: 4 kB / 0.7407 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.5655, allocations: 11.98 kB / 0.7407 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5655, allocations: 7.984 kB / 0.7407 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5655, allocations: 3.938 kB / 0.7407 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006837/0.5662, allocations: 0.6099 MB / 0.7413 GB, free: 11.69 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5664, allocations: 127.1 kB / 0.7414 GB, free: 11.55 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.5664, allocations: 15.83 kB / 0.7414 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.5666, allocations: 11.98 kB / 0.7414 GB, free: 11.53 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.5666, allocations: 11.98 kB / 0.7415 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.5667, allocations: 9.125 kB / 0.7415 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001019/0.5668, allocations: 154.5 kB / 0.7416 GB, free: 11.38 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002823/0.5671, allocations: 55.94 kB / 0.7417 GB, free: 11.33 MB / 0.5109 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 () * 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.0001054/0.5672, allocations: 112.1 kB / 0.7418 GB, free: 11.21 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.5677, allocations: 397.8 kB / 0.7421 GB, free: 10.91 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5677, allocations: 256 / 0.7421 GB, free: 10.91 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.5679, allocations: 165.3 kB / 0.7423 GB, free: 10.79 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.568, allocations: 7.094 kB / 0.7423 GB, free: 10.78 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.5696, allocations: 1.192 MB / 0.7435 GB, free: 9.617 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.57, allocations: 0.8193 MB / 0.7443 GB, free: 8.785 MB / 0.5109 GB Notification: Performance of SimCode: time 2.2e-07/0.57, allocations: 0 / 0.7443 GB, free: 8.785 MB / 0.5109 GB Notification: Performance of Templates: time 0.005049/0.5751, allocations: 2.833 MB / 0.747 GB, free: 6.008 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches