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") [: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.0009672/0.0009672, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.074/1.074, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0009594/0.0009594, allocations: 106.5 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6017/0.6017, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.3e-06/5.39e-06, allocations: 3.938 kB / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 82.84 MB / 0.6091 GB, free: 3.551 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5481, allocations: 125.5 MB / 0.7317 GB, free: 4.496 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001068/0.5482, allocations: 51.86 kB / 0.7317 GB, free: 4.477 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.009371/0.5576, allocations: 3.099 MB / 0.7347 GB, free: 1.98 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5576, allocations: 4 kB / 0.7347 GB, free: 1.977 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.0007838/0.5584, allocations: 0.5553 MB / 0.7353 GB, free: 1.383 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5585, allocations: 8.031 kB / 0.7353 GB, free: 1.375 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.5585, allocations: 19.81 kB / 0.7353 GB, free: 1.355 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.5592, allocations: 353.4 kB / 0.7356 GB, free: 0.9844 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.5592, allocations: 4 kB / 0.7357 GB, free: 0.9805 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5593, allocations: 35.83 kB / 0.7357 GB, free: 0.9453 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002736/0.5596, allocations: 234.6 kB / 0.7359 GB, free: 0.7695 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.5599, allocations: 285.6 kB / 0.7362 GB, free: 0.5273 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5599, allocations: 0.9375 kB / 0.7362 GB, free: 0.5273 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.56, allocations: 4 kB / 0.7362 GB, free: 0.5234 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.56, allocations: 4 kB / 0.7362 GB, free: 0.5195 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.5614, allocations: 1.005 MB / 0.7372 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.5619, allocations: 365.9 kB / 0.7375 GB, free: 15.3 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5621, allocations: 170.2 kB / 0.7377 GB, free: 15.17 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.5621, allocations: 4 kB / 0.7377 GB, free: 15.16 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.5622, allocations: 33.62 kB / 0.7377 GB, free: 15.12 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.5622, allocations: 0 / 0.7377 GB, free: 15.12 MB / 0.5109 GB Notification: Performance of matching and sorting (n=23): time 0.0004701/0.5626, allocations: 345.2 kB / 0.738 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5627, allocations: 55.41 kB / 0.7381 GB, free: 14.78 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.5628, allocations: 183.1 kB / 0.7383 GB, free: 14.61 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5629, allocations: 33.7 kB / 0.7383 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.563, allocations: 119.9 kB / 0.7384 GB, free: 14.46 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.563, allocations: 93.02 kB / 0.7385 GB, free: 14.38 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.563, allocations: 0 / 0.7385 GB, free: 14.38 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.5631, allocations: 330.5 kB / 0.7388 GB, free: 14.06 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.5634, allocations: 194.7 kB / 0.739 GB, free: 13.91 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.5636, allocations: 237.2 kB / 0.7392 GB, free: 13.72 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.5639, allocations: 241 kB / 0.7395 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5639, allocations: 0 / 0.7395 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006038/0.5645, allocations: 0.4893 MB / 0.7399 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5645, allocations: 8 kB / 0.74 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5645, allocations: 0 / 0.74 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5646, allocations: 4.125 kB / 0.74 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.565, allocations: 107.2 kB / 0.7401 GB, free: 13.02 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5651, allocations: 4 kB / 0.7401 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.5652, allocations: 31.67 kB / 0.7401 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.5653, allocations: 13.31 kB / 0.7401 GB, free: 12.97 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 7.794e-05/0.5654, allocations: 104.9 kB / 0.7402 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.5654, allocations: 15.81 kB / 0.7402 GB, free: 12.85 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.5655, allocations: 33.81 kB / 0.7403 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5655, allocations: 7.984 kB / 0.7403 GB, free: 12.83 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5655, allocations: 7.906 kB / 0.7403 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5655, allocations: 0 / 0.7403 GB, free: 12.82 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.5658, allocations: 325.5 kB / 0.7406 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5658, allocations: 3.984 kB / 0.7406 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.5664, allocations: 87.88 kB / 0.7407 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5664, allocations: 0 / 0.7407 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.5665, allocations: 15.8 kB / 0.7407 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5665, allocations: 0 / 0.7407 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5665, allocations: 4 kB / 0.7407 GB, free: 12.41 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006301/0.5671, allocations: 0.6155 MB / 0.7413 GB, free: 11.89 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.5672, allocations: 123.3 kB / 0.7414 GB, free: 11.75 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.5673, allocations: 17.02 kB / 0.7414 GB, free: 11.74 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5675, allocations: 7.984 kB / 0.7414 GB, free: 11.73 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.5675, allocations: 14.67 kB / 0.7414 GB, free: 11.72 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.5675, allocations: 4 kB / 0.7414 GB, free: 11.71 MB / 0.5109 GB Notification: Performance of sort global known variables: time 9.657e-05/0.5676, allocations: 156.1 kB / 0.7416 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002818/0.5679, allocations: 51.94 kB / 0.7416 GB, free: 11.53 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.0001174/0.5681, allocations: 108.2 kB / 0.7417 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.5685, allocations: 402.8 kB / 0.7421 GB, free: 11.11 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.5686, allocations: 0 / 0.7421 GB, free: 11.11 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.5687, allocations: 167.9 kB / 0.7423 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.5689, allocations: 7.781 kB / 0.7423 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.5704, allocations: 1.193 MB / 0.7435 GB, free: 9.816 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.5708, allocations: 0.827 MB / 0.7443 GB, free: 8.977 MB / 0.5109 GB Notification: Performance of SimCode: time 2.91e-07/0.5708, allocations: 0 / 0.7443 GB, free: 8.977 MB / 0.5109 GB Notification: Performance of Templates: time 0.004878/0.5757, allocations: 2.827 MB / 0.747 GB, free: 6.191 MB / 0.5109 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