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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009736, allocations: 181.2 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.0008289, allocations: 82.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8467/0.8467, allocations: 120.4 MB / 440.6 MB, free: 4.074 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 80.01 MB / 0.597 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6304/0.7644, allocations: 125.4 MB / 0.7194 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001467/0.7646, allocations: 50 kB / 0.7195 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.00873/0.7733, allocations: 3.332 MB / 0.7227 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7734, allocations: 0 / 0.7227 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.7734, allocations: 4 kB / 0.7227 GB, free: 16.88 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.0008988/0.7743, allocations: 0.5969 MB / 0.7233 GB, free: 16.24 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7743, allocations: 12.03 kB / 0.7233 GB, free: 16.23 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.7744, allocations: 28.64 kB / 0.7234 GB, free: 16.2 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.7751, allocations: 380.2 kB / 0.7237 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.7751, allocations: 16.39 kB / 0.7237 GB, free: 15.8 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.7753, allocations: 36.2 kB / 0.7238 GB, free: 15.77 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.7757, allocations: 299.4 kB / 0.7241 GB, free: 15.53 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7757, allocations: 0 / 0.7241 GB, free: 15.53 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.7758, allocations: 7.812 kB / 0.7241 GB, free: 15.53 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.7758, allocations: 11.75 kB / 0.7241 GB, free: 15.52 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.7761, allocations: 233.6 kB / 0.7243 GB, free: 15.34 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.778, allocations: 1.1 MB / 0.7254 GB, free: 14.32 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.7788, allocations: 446.2 kB / 0.7258 GB, free: 13.97 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.779, allocations: 163.2 kB / 0.726 GB, free: 13.85 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.779, allocations: 3.984 kB / 0.726 GB, free: 13.85 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.779, allocations: 42.5 kB / 0.726 GB, free: 13.8 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.779, allocations: 0 / 0.726 GB, free: 13.8 MB / 0.4953 GB Notification: Performance of matching and sorting (n=23): time 0.0006486/0.7797, allocations: 466.4 kB / 0.7265 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.7797, allocations: 59.27 kB / 0.7265 GB, free: 13.36 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.7799, allocations: 216.7 kB / 0.7267 GB, free: 13.17 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.78, allocations: 29.64 kB / 0.7267 GB, free: 13.14 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.78, allocations: 139.7 kB / 0.7269 GB, free: 13.02 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.7801, allocations: 93.89 kB / 0.727 GB, free: 12.94 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.7801, allocations: 7.938 kB / 0.727 GB, free: 12.93 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.7802, allocations: 338.5 kB / 0.7273 GB, free: 12.6 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.7804, allocations: 193.5 kB / 0.7275 GB, free: 12.46 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.7807, allocations: 241.8 kB / 0.7277 GB, free: 12.26 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.7811, allocations: 423.4 kB / 0.7281 GB, free: 11.94 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7812, allocations: 0 / 0.7281 GB, free: 11.94 MB / 0.4953 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006096/0.7818, allocations: 0.5 MB / 0.7286 GB, free: 11.55 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7818, allocations: 11.22 kB / 0.7286 GB, free: 11.54 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.7818, allocations: 4 kB / 0.7286 GB, free: 11.54 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7818, allocations: 0 / 0.7286 GB, free: 11.54 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.7823, allocations: 111.7 kB / 0.7287 GB, free: 11.43 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7823, allocations: 4.125 kB / 0.7287 GB, free: 11.43 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.7825, allocations: 39.59 kB / 0.7288 GB, free: 11.39 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7825, allocations: 11.81 kB / 0.7288 GB, free: 11.38 MB / 0.4953 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.0001257/0.7826, allocations: 165.2 kB / 0.7289 GB, free: 11.23 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.7827, allocations: 23.69 kB / 0.729 GB, free: 11.2 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.7828, allocations: 44.61 kB / 0.729 GB, free: 11.19 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7828, allocations: 0 / 0.729 GB, free: 11.19 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7828, allocations: 0 / 0.729 GB, free: 11.19 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7828, allocations: 0 / 0.729 GB, free: 11.19 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.7831, allocations: 355.4 kB / 0.7293 GB, free: 10.84 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7832, allocations: 4 kB / 0.7293 GB, free: 10.84 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.7837, allocations: 87.92 kB / 0.7294 GB, free: 10.75 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7837, allocations: 7.938 kB / 0.7294 GB, free: 10.75 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.7837, allocations: 11.86 kB / 0.7294 GB, free: 10.74 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7837, allocations: 4.688 kB / 0.7295 GB, free: 10.73 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7837, allocations: 0 / 0.7295 GB, free: 10.73 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.7844, allocations: 0.6122 MB / 0.73 GB, free: 10.23 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7845, allocations: 144.2 kB / 0.7302 GB, free: 10.08 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.7846, allocations: 15.42 kB / 0.7302 GB, free: 10.07 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.7848, allocations: 23.03 kB / 0.7302 GB, free: 10.05 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.7848, allocations: 15.97 kB / 0.7302 GB, free: 10.04 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.7849, allocations: 7.875 kB / 0.7302 GB, free: 10.03 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.0001162/0.785, allocations: 155.6 kB / 0.7304 GB, free: 9.898 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.2e-07/0.785, allocations: 0 / 0.7304 GB, free: 9.898 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0003027/0.7853, allocations: 63.62 kB / 0.7305 GB, free: 9.844 MB / 0.4953 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.0001142/0.7854, allocations: 123 kB / 0.7306 GB, free: 9.719 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.7859, allocations: 383.1 kB / 0.7309 GB, free: 9.426 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7859, allocations: 0 / 0.7309 GB, free: 9.426 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.7861, allocations: 162.4 kB / 0.7311 GB, free: 9.301 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.7864, allocations: 23.31 kB / 0.7311 GB, free: 9.289 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.7881, allocations: 1.482 MB / 0.7326 GB, free: 7.84 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.7883, allocations: 0.7983 MB / 0.7333 GB, free: 7.02 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.7886, allocations: 109.8 kB / 0.7334 GB, free: 6.91 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.7886, allocations: 19.44 kB / 0.7335 GB, free: 6.891 MB / 0.4953 GB Notification: Performance of SimCode: time 2.41e-07/0.7886, allocations: 0 / 0.7335 GB, free: 6.891 MB / 0.4953 GB Notification: Performance of Templates: time 0.00401/0.7927, allocations: 2.042 MB / 0.7355 GB, free: 4.855 MB / 0.4953 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