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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.293/1.293, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.0009262/0.0009263, allocations: 93.84 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8712/0.8712, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.174e-05, allocations: 0 / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5549, allocations: 82.84 MB / 0.6097 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.6959, allocations: 125.6 MB / 0.7323 GB, free: 15.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001398/0.6961, allocations: 55.91 kB / 0.7324 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.7068, allocations: 3.412 MB / 0.7357 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7068, allocations: 4 kB / 0.7357 GB, free: 11.83 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.7068, allocations: 4 kB / 0.7357 GB, free: 11.82 MB / 0.5419 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.0009183/0.7077, allocations: 0.5726 MB / 0.7363 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7078, allocations: 8.031 kB / 0.7363 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.7078, allocations: 23.77 kB / 0.7363 GB, free: 11.17 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.7086, allocations: 366.8 kB / 0.7366 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.7086, allocations: 15.88 kB / 0.7367 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.7088, allocations: 27.97 kB / 0.7367 GB, free: 10.73 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003265/0.7091, allocations: 224.4 kB / 0.7369 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.7095, allocations: 273.1 kB / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.7095, allocations: 3.953 kB / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.7095, allocations: 0 / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.7096, allocations: 4 kB / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.7115, allocations: 1.054 MB / 0.7382 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/0.7123, allocations: 422.6 kB / 0.7386 GB, free: 8.699 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.7125, allocations: 159.4 kB / 0.7388 GB, free: 8.543 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.7125, allocations: 4 kB / 0.7388 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.7126, allocations: 34.56 kB / 0.7388 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.7126, allocations: 0 / 0.7388 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0004751/0.7131, allocations: 318.1 kB / 0.7391 GB, free: 8.176 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.7131, allocations: 59.41 kB / 0.7391 GB, free: 8.105 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.7133, allocations: 190.2 kB / 0.7393 GB, free: 7.914 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.7133, allocations: 25.7 kB / 0.7394 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.7134, allocations: 128.5 kB / 0.7395 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.7134, allocations: 90.66 kB / 0.7396 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.7135, allocations: 0 / 0.7396 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7136, allocations: 334.8 kB / 0.7399 GB, free: 7.328 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.7138, allocations: 183.9 kB / 0.7401 GB, free: 7.148 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.7141, allocations: 228.1 kB / 0.7403 GB, free: 6.91 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.7144, allocations: 219.6 kB / 0.7405 GB, free: 6.695 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7144, allocations: 4 kB / 0.7405 GB, free: 6.691 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005963/0.715, allocations: 476.8 kB / 0.7409 GB, free: 6.219 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.715, allocations: 5.562 kB / 0.7409 GB, free: 6.215 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.715, allocations: 4 kB / 0.741 GB, free: 6.211 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.715, allocations: 0 / 0.741 GB, free: 6.211 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.7155, allocations: 111.9 kB / 0.7411 GB, free: 6.102 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.7155, allocations: 7.984 kB / 0.7411 GB, free: 6.094 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.7157, allocations: 35.66 kB / 0.7411 GB, free: 6.059 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.7157, allocations: 15.95 kB / 0.7411 GB, free: 6.043 MB / 0.5419 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 8.22e-05/0.7158, allocations: 104.9 kB / 0.7412 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.7159, allocations: 19.88 kB / 0.7412 GB, free: 5.914 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.716, allocations: 37.97 kB / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.716, allocations: 0 / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.716, allocations: 0 / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.716, allocations: 3.984 kB / 0.7413 GB, free: 5.871 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.7164, allocations: 321.8 kB / 0.7416 GB, free: 5.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7164, allocations: 0 / 0.7416 GB, free: 5.52 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.7169, allocations: 99.8 kB / 0.7417 GB, free: 5.422 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7169, allocations: 4 kB / 0.7417 GB, free: 5.418 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.7169, allocations: 11.98 kB / 0.7417 GB, free: 5.406 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7169, allocations: 4 kB / 0.7417 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7169, allocations: 4 kB / 0.7417 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.7176, allocations: 0.5899 MB / 0.7423 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.7177, allocations: 128.8 kB / 0.7424 GB, free: 4.648 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.7178, allocations: 11.98 kB / 0.7424 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.718, allocations: 15.97 kB / 0.7424 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.718, allocations: 15.92 kB / 0.7424 GB, free: 4.605 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.718, allocations: 4 kB / 0.7424 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001053/0.7181, allocations: 157.1 kB / 0.7426 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.253e-06/0.7181, allocations: 0 / 0.7426 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002944/0.7184, allocations: 55.88 kB / 0.7426 GB, free: 4.395 MB / 0.5419 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.0001183/0.7186, allocations: 111.2 kB / 0.7428 GB, free: 4.277 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.7191, allocations: 367.6 kB / 0.7431 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7191, allocations: 0 / 0.7431 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.7193, allocations: 159.5 kB / 0.7433 GB, free: 3.766 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.7194, allocations: 8.141 kB / 0.7433 GB, free: 3.754 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.7208, allocations: 1.205 MB / 0.7444 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.7212, allocations: 0.7987 MB / 0.7452 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002553/0.7214, allocations: 114 kB / 0.7453 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.7215, allocations: 19.44 kB / 0.7453 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.7215, allocations: 0 / 0.7453 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of Templates: time 0.5602/1.282, allocations: 1.886 MB / 0.7472 GB, free: 134.9 MB / 0.5421 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