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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.3 kB / 16.38 MB, free: 5.762 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.316/1.316, 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.001412/0.001412, allocations: 93.44 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9142/0.9142, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 11.28 kB / 0.5433 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 82.84 MB / 0.6242 GB, free: 9.238 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7132/0.8642, allocations: 126.3 MB / 0.7476 GB, free: 7.801 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001396/0.8643, allocations: 54.53 kB / 0.7476 GB, free: 7.773 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.8749, allocations: 3.448 MB / 0.751 GB, free: 4.723 MB / 0.5107 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8749, allocations: 4 kB / 0.751 GB, free: 4.719 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.8749, allocations: 4 kB / 0.751 GB, free: 4.715 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.001049/0.876, allocations: 0.6151 MB / 0.7516 GB, free: 4.066 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.876, allocations: 8.031 kB / 0.7516 GB, free: 4.059 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.8761, allocations: 27.7 kB / 0.7517 GB, free: 4.031 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.8769, allocations: 358.2 kB / 0.752 GB, free: 3.652 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.877, allocations: 16.14 kB / 0.752 GB, free: 3.645 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.8771, allocations: 31.67 kB / 0.752 GB, free: 3.621 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.8775, allocations: 306.2 kB / 0.7523 GB, free: 3.375 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.8775, allocations: 3.984 kB / 0.7523 GB, free: 3.371 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.8776, allocations: 7.828 kB / 0.7523 GB, free: 3.367 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.8776, allocations: 8 kB / 0.7523 GB, free: 3.359 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.8779, allocations: 229.3 kB / 0.7526 GB, free: 3.188 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.88, allocations: 1.109 MB / 0.7537 GB, free: 2.16 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.8809, allocations: 438.4 kB / 0.7541 GB, free: 1.816 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.8809, allocations: 4 kB / 0.7541 GB, free: 1.812 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8809, allocations: 34.55 kB / 0.7541 GB, free: 1.77 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.8809, allocations: 0 / 0.7541 GB, free: 1.77 MB / 0.5107 GB Notification: Performance of matching and sorting (n=23): time 0.0006988/0.8816, allocations: 475.3 kB / 0.7546 GB, free: 1.398 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.8817, allocations: 55.28 kB / 0.7546 GB, free: 1.336 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.8819, allocations: 193.4 kB / 0.7548 GB, free: 1.16 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.8819, allocations: 33.64 kB / 0.7548 GB, free: 1.125 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.882, allocations: 139.6 kB / 0.755 GB, free: 1.004 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.8821, allocations: 94.09 kB / 0.7551 GB, free: 0.9258 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.8821, allocations: 7.812 kB / 0.7551 GB, free: 0.9219 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8822, allocations: 330.6 kB / 0.7554 GB, free: 0.5977 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.8825, allocations: 193 kB / 0.7556 GB, free: 468 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.8828, allocations: 234.2 kB / 0.7558 GB, free: 272 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.8831, allocations: 224.2 kB / 0.756 GB, free: 108 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.8831, allocations: 3.984 kB / 0.756 GB, free: 104 kB / 0.5107 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006594/0.8838, allocations: 0.4959 MB / 0.7565 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8838, allocations: 4 kB / 0.7565 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8838, allocations: 4 kB / 0.7565 GB, free: 15.7 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8838, allocations: 4.125 kB / 0.7565 GB, free: 15.7 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.8843, allocations: 115.8 kB / 0.7566 GB, free: 15.59 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.8843, allocations: 11.89 kB / 0.7566 GB, free: 15.57 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.8845, allocations: 39.5 kB / 0.7567 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.8846, allocations: 8 kB / 0.7567 GB, free: 15.54 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.0001538/0.8847, allocations: 161.9 kB / 0.7568 GB, free: 15.38 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.8848, allocations: 19.72 kB / 0.7568 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.8849, allocations: 40.94 kB / 0.7569 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8849, allocations: 0 / 0.7569 GB, free: 15.35 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8849, allocations: 15.92 kB / 0.7569 GB, free: 15.34 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8849, allocations: 7.938 kB / 0.7569 GB, free: 15.33 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.8853, allocations: 355.3 kB / 0.7572 GB, free: 14.98 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8853, allocations: 0 / 0.7572 GB, free: 14.98 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.8859, allocations: 99.36 kB / 0.7573 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8859, allocations: 0 / 0.7573 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.8859, allocations: 16.73 kB / 0.7573 GB, free: 14.88 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8859, allocations: 0 / 0.7573 GB, free: 14.88 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8859, allocations: 0 / 0.7573 GB, free: 14.88 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.8867, allocations: 0.6189 MB / 0.758 GB, free: 14.37 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.8868, allocations: 124.8 kB / 0.7581 GB, free: 14.23 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.8869, allocations: 7.875 kB / 0.7581 GB, free: 14.23 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.8871, allocations: 21.34 kB / 0.7581 GB, free: 14.21 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.8871, allocations: 19.91 kB / 0.7581 GB, free: 14.2 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.8871, allocations: 4 kB / 0.7581 GB, free: 14.19 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001339/0.8873, allocations: 154.6 kB / 0.7583 GB, free: 14.06 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.543e-06/0.8873, allocations: 0 / 0.7583 GB, free: 14.06 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003104/0.8876, allocations: 84.11 kB / 0.7583 GB, free: 13.98 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.0001372/0.8877, allocations: 107.6 kB / 0.7585 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.8883, allocations: 386.3 kB / 0.7588 GB, free: 13.58 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8883, allocations: 0 / 0.7588 GB, free: 13.58 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.8885, allocations: 164.2 kB / 0.759 GB, free: 13.46 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.8887, allocations: 11.44 kB / 0.759 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.8904, allocations: 1.503 MB / 0.7605 GB, free: 11.98 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.8908, allocations: 0.7941 MB / 0.7612 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.8911, allocations: 113.8 kB / 0.7613 GB, free: 11.06 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.8912, allocations: 19.44 kB / 0.7614 GB, free: 11.04 MB / 0.5263 GB Notification: Performance of SimCode: time 3.4e-07/0.8912, allocations: 0 / 0.7614 GB, free: 11.04 MB / 0.5263 GB Notification: Performance of Templates: time 0.004505/0.8957, allocations: 2.037 MB / 0.7633 GB, free: 9.047 MB / 0.5263 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