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.001786/0.001786, allocations: 186.2 kB / 8.138 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.248/1.248, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.001132/0.001132, allocations: 95.88 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.745/0.745, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.37e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 82.85 MB / 0.6091 GB, free: 3.559 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5914/0.7321, allocations: 125.5 MB / 0.7317 GB, free: 4.598 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001329/0.7323, allocations: 52.72 kB / 0.7317 GB, free: 4.578 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.009682/0.7419, allocations: 3.103 MB / 0.7347 GB, free: 2.09 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.742, allocations: 4 kB / 0.7348 GB, free: 2.086 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.0008645/0.7428, allocations: 0.5538 MB / 0.7353 GB, free: 1.496 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.7429, allocations: 8.031 kB / 0.7353 GB, free: 1.488 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.743, allocations: 19.81 kB / 0.7353 GB, free: 1.469 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.7437, allocations: 352.3 kB / 0.7357 GB, free: 1.098 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.7437, allocations: 4 kB / 0.7357 GB, free: 1.094 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7438, allocations: 30.66 kB / 0.7357 GB, free: 1.066 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002932/0.7441, allocations: 233.5 kB / 0.7359 GB, free: 0.8906 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.7445, allocations: 285.5 kB / 0.7362 GB, free: 0.6484 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7445, allocations: 4 kB / 0.7362 GB, free: 0.6445 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.7445, allocations: 4 kB / 0.7362 GB, free: 0.6406 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.7446, allocations: 9.625 kB / 0.7362 GB, free: 0.6328 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.7461, allocations: 1.005 MB / 0.7372 GB, free: 15.7 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.7466, allocations: 369.2 kB / 0.7375 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.7468, allocations: 169.7 kB / 0.7377 GB, free: 15.28 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.7469, allocations: 4 kB / 0.7377 GB, free: 15.27 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.7469, allocations: 34.06 kB / 0.7377 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.7469, allocations: 0 / 0.7377 GB, free: 15.23 MB / 0.5109 GB Notification: Performance of matching and sorting (n=23): time 0.0005167/0.7474, allocations: 343 kB / 0.7381 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.7475, allocations: 55.41 kB / 0.7381 GB, free: 14.89 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.7476, allocations: 179.2 kB / 0.7383 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.7477, allocations: 29.7 kB / 0.7383 GB, free: 14.69 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.7477, allocations: 124.1 kB / 0.7384 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.7478, allocations: 88.16 kB / 0.7385 GB, free: 14.5 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.7478, allocations: 0 / 0.7385 GB, free: 14.5 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7479, allocations: 334.1 kB / 0.7388 GB, free: 14.17 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.7482, allocations: 198.4 kB / 0.739 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.7485, allocations: 243.7 kB / 0.7393 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.7487, allocations: 232.1 kB / 0.7395 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7488, allocations: 0 / 0.7395 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006319/0.7494, allocations: 0.4903 MB / 0.74 GB, free: 13.24 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7494, allocations: 8 kB / 0.74 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7494, allocations: 0 / 0.74 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7494, allocations: 4 kB / 0.74 GB, free: 13.23 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.7499, allocations: 99.78 kB / 0.7401 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.75, allocations: 4 kB / 0.7401 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.7502, allocations: 35.61 kB / 0.7401 GB, free: 13.09 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.7502, allocations: 11.69 kB / 0.7401 GB, free: 13.09 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 9.126e-05/0.7503, allocations: 109 kB / 0.7402 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.7503, allocations: 15.81 kB / 0.7402 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.7504, allocations: 35.8 kB / 0.7403 GB, free: 12.95 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7504, allocations: 4 kB / 0.7403 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7504, allocations: 6.219 kB / 0.7403 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7505, allocations: 0 / 0.7403 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.7508, allocations: 330.1 kB / 0.7406 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7508, allocations: 0 / 0.7406 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.7514, allocations: 83.14 kB / 0.7407 GB, free: 12.54 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.7514, allocations: 0 / 0.7407 GB, free: 12.54 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.7514, allocations: 15.98 kB / 0.7407 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7515, allocations: 3.938 kB / 0.7407 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7515, allocations: 4 kB / 0.7407 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006742/0.7521, allocations: 0.6167 MB / 0.7413 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.7523, allocations: 127.9 kB / 0.7414 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.7523, allocations: 11.91 kB / 0.7414 GB, free: 11.85 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7525, allocations: 7.984 kB / 0.7414 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.7526, allocations: 19.66 kB / 0.7415 GB, free: 11.83 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.7526, allocations: 8 kB / 0.7415 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001051/0.7527, allocations: 149.6 kB / 0.7416 GB, free: 11.7 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002879/0.753, allocations: 51.94 kB / 0.7417 GB, free: 11.64 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.0001279/0.7531, allocations: 117.7 kB / 0.7418 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.7537, allocations: 389 kB / 0.7421 GB, free: 11.23 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7537, allocations: 256 / 0.7421 GB, free: 11.23 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.7539, allocations: 178.5 kB / 0.7423 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.754, allocations: 7.969 kB / 0.7423 GB, free: 11.08 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.7556, allocations: 1.188 MB / 0.7435 GB, free: 9.926 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.7561, allocations: 0.825 MB / 0.7443 GB, free: 9.086 MB / 0.5109 GB Notification: Performance of SimCode: time 2.81e-07/0.7561, allocations: 0 / 0.7443 GB, free: 9.086 MB / 0.5109 GB Notification: Performance of Templates: time 0.005162/0.7612, allocations: 2.832 MB / 0.747 GB, free: 6.301 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/jenkins/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