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 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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.266/1.266, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0008022/0.0008023, allocations: 98.77 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8442/0.8442, allocations: 120.4 MB / 440.6 MB, free: 4.078 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 16 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 80.01 MB / 0.597 GB, free: 9.121 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/0.7987, allocations: 125.4 MB / 0.7194 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001413/0.7989, allocations: 50.42 kB / 0.7195 GB, free: 18.64 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.008754/0.8076, allocations: 3.338 MB / 0.7228 GB, free: 16.76 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8076, allocations: 0 / 0.7228 GB, free: 16.76 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8077, allocations: 4 kB / 0.7228 GB, free: 16.76 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.0008638/0.8085, allocations: 0.6045 MB / 0.7233 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.8086, allocations: 8.031 kB / 0.7234 GB, free: 16.11 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.8086, allocations: 24.66 kB / 0.7234 GB, free: 16.08 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.8093, allocations: 376.2 kB / 0.7237 GB, free: 15.69 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.8093, allocations: 18.77 kB / 0.7238 GB, free: 15.68 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.8094, allocations: 32.28 kB / 0.7238 GB, free: 15.66 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.8098, allocations: 303.5 kB / 0.7241 GB, free: 15.41 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8098, allocations: 4 kB / 0.7241 GB, free: 15.41 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.8099, allocations: 7.688 kB / 0.7241 GB, free: 15.41 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.8099, allocations: 7.75 kB / 0.7241 GB, free: 15.4 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.8102, allocations: 237.6 kB / 0.7243 GB, free: 15.22 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.8119, allocations: 1.098 MB / 0.7254 GB, free: 14.2 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.8127, allocations: 439.2 kB / 0.7258 GB, free: 13.86 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.8128, allocations: 163.3 kB / 0.726 GB, free: 13.73 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.8129, allocations: 7.938 kB / 0.726 GB, free: 13.73 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.8129, allocations: 38.5 kB / 0.726 GB, free: 13.68 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.8129, allocations: 0 / 0.726 GB, free: 13.68 MB / 0.4953 GB Notification: Performance of matching and sorting (n=23): time 0.0005925/0.8135, allocations: 469.9 kB / 0.7265 GB, free: 13.32 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.8135, allocations: 63.2 kB / 0.7265 GB, free: 13.24 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.8137, allocations: 220.5 kB / 0.7267 GB, free: 13.04 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.8137, allocations: 29.64 kB / 0.7268 GB, free: 13.01 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.8138, allocations: 131.4 kB / 0.7269 GB, free: 12.9 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.8138, allocations: 98.08 kB / 0.727 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.8139, allocations: 3.875 kB / 0.727 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.8139, allocations: 338.6 kB / 0.7273 GB, free: 12.48 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.8141, allocations: 197.2 kB / 0.7275 GB, free: 12.34 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.8144, allocations: 245.7 kB / 0.7277 GB, free: 12.14 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.8148, allocations: 423.2 kB / 0.7281 GB, free: 11.82 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8148, allocations: 0 / 0.7281 GB, free: 11.82 MB / 0.4953 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005708/0.8154, allocations: 0.4953 MB / 0.7286 GB, free: 11.43 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8154, allocations: 7.938 kB / 0.7286 GB, free: 11.42 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8155, allocations: 0 / 0.7286 GB, free: 11.42 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8155, allocations: 4 kB / 0.7286 GB, free: 11.41 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.8159, allocations: 115.7 kB / 0.7287 GB, free: 11.3 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8159, allocations: 4.125 kB / 0.7287 GB, free: 11.3 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.8161, allocations: 39.66 kB / 0.7288 GB, free: 11.27 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.8161, allocations: 11.94 kB / 0.7288 GB, free: 11.26 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.0001261/0.8163, allocations: 165.3 kB / 0.7289 GB, free: 11.1 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.8163, allocations: 19.75 kB / 0.729 GB, free: 11.08 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.8164, allocations: 37.81 kB / 0.729 GB, free: 11.08 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.8164, allocations: 7.938 kB / 0.729 GB, free: 11.07 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8164, allocations: 3.984 kB / 0.729 GB, free: 11.07 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8164, allocations: 0 / 0.729 GB, free: 11.07 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.8167, allocations: 348.2 kB / 0.7293 GB, free: 10.72 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8167, allocations: 0 / 0.7293 GB, free: 10.72 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.8172, allocations: 96.42 kB / 0.7294 GB, free: 10.63 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8172, allocations: 3.938 kB / 0.7294 GB, free: 10.63 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.8172, allocations: 15.73 kB / 0.7295 GB, free: 10.62 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8172, allocations: 0 / 0.7295 GB, free: 10.62 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8173, allocations: 0 / 0.7295 GB, free: 10.62 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.8179, allocations: 0.6231 MB / 0.7301 GB, free: 10.1 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.818, allocations: 140 kB / 0.7302 GB, free: 9.953 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.818, allocations: 19.23 kB / 0.7302 GB, free: 9.941 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.8182, allocations: 19.53 kB / 0.7302 GB, free: 9.926 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.8182, allocations: 11.97 kB / 0.7302 GB, free: 9.914 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.8183, allocations: 11.62 kB / 0.7303 GB, free: 9.906 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 9.062e-05/0.8184, allocations: 157.3 kB / 0.7304 GB, free: 9.773 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8184, allocations: 0 / 0.7304 GB, free: 9.773 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002644/0.8186, allocations: 63.31 kB / 0.7305 GB, free: 9.715 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.0001044/0.8187, allocations: 118.4 kB / 0.7306 GB, free: 9.594 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.8192, allocations: 381.1 kB / 0.7309 GB, free: 9.305 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8192, allocations: 4 kB / 0.7309 GB, free: 9.301 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.8194, allocations: 165 kB / 0.7311 GB, free: 9.176 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.8196, allocations: 15.06 kB / 0.7311 GB, free: 9.168 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.8211, allocations: 1.478 MB / 0.7326 GB, free: 7.727 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.8213, allocations: 0.792 MB / 0.7333 GB, free: 6.91 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.8215, allocations: 109.8 kB / 0.7334 GB, free: 6.801 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.8216, allocations: 19.44 kB / 0.7335 GB, free: 6.781 MB / 0.4953 GB Notification: Performance of SimCode: time 1.9e-07/0.8216, allocations: 0 / 0.7335 GB, free: 6.781 MB / 0.4953 GB Notification: Performance of Templates: time 0.003828/0.8254, allocations: 2.054 MB / 0.7355 GB, free: 4.734 MB / 0.4953 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/jenkins1/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