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.001417/0.001417, allocations: 175.8 kB / 8.346 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.327/1.327, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.0008772/0.0008772, allocations: 87.52 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.844/0.844, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.435e-05, allocations: 3.984 kB / 0.5288 GB, free: 1.305 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5214, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6737, allocations: 125.6 MB / 0.7323 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001494/0.6739, allocations: 55.91 kB / 0.7324 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.685, allocations: 3.42 MB / 0.7357 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6851, allocations: 0 / 0.7357 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6851, allocations: 7.938 kB / 0.7357 GB, free: 11.83 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.001001/0.6861, allocations: 0.5709 MB / 0.7363 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6861, allocations: 8.031 kB / 0.7363 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.6862, allocations: 27.77 kB / 0.7363 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007936/0.687, allocations: 358.8 kB / 0.7367 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6871, allocations: 11.94 kB / 0.7367 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6872, allocations: 27.97 kB / 0.7367 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000352/0.6876, allocations: 220.5 kB / 0.7369 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.688, allocations: 273.1 kB / 0.7372 GB, free: 10.26 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.688, allocations: 3.953 kB / 0.7372 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.688, allocations: 0 / 0.7372 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.6881, allocations: 8 kB / 0.7372 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.6902, allocations: 1.058 MB / 0.7382 GB, free: 9.137 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.6911, allocations: 422.6 kB / 0.7386 GB, free: 8.715 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.6913, allocations: 156.8 kB / 0.7388 GB, free: 8.559 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.6913, allocations: 4 kB / 0.7388 GB, free: 8.555 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6914, allocations: 34.56 kB / 0.7388 GB, free: 8.512 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.6914, allocations: 0 / 0.7388 GB, free: 8.512 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0005461/0.6919, allocations: 323.5 kB / 0.7391 GB, free: 8.188 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.692, allocations: 55.41 kB / 0.7392 GB, free: 8.121 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.6922, allocations: 182.2 kB / 0.7393 GB, free: 7.938 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.6922, allocations: 25.7 kB / 0.7394 GB, free: 7.906 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.6923, allocations: 128.5 kB / 0.7395 GB, free: 7.777 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.6924, allocations: 90.66 kB / 0.7396 GB, free: 7.688 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.6924, allocations: 4 kB / 0.7396 GB, free: 7.684 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6925, allocations: 338.8 kB / 0.7399 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.6928, allocations: 179.8 kB / 0.7401 GB, free: 7.168 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.693, allocations: 232.1 kB / 0.7403 GB, free: 6.926 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.6933, allocations: 223.6 kB / 0.7405 GB, free: 6.707 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6933, allocations: 4 kB / 0.7405 GB, free: 6.703 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005945/0.6939, allocations: 464.8 kB / 0.7409 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6939, allocations: 7.984 kB / 0.741 GB, free: 6.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.694, allocations: 4 kB / 0.741 GB, free: 6.23 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.694, allocations: 0 / 0.741 GB, free: 6.23 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.6945, allocations: 115.8 kB / 0.7411 GB, free: 6.117 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6945, allocations: 4 kB / 0.7411 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6947, allocations: 35.78 kB / 0.7411 GB, free: 6.078 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6947, allocations: 15.95 kB / 0.7411 GB, free: 6.062 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 9.555e-05/0.6948, allocations: 108.9 kB / 0.7412 GB, free: 5.949 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.6948, allocations: 15.81 kB / 0.7412 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.6949, allocations: 37.95 kB / 0.7413 GB, free: 5.895 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.695, allocations: 3.938 kB / 0.7413 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.695, allocations: 0 / 0.7413 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.695, allocations: 0 / 0.7413 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.6953, allocations: 317.8 kB / 0.7416 GB, free: 5.543 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6953, allocations: 0 / 0.7416 GB, free: 5.543 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.6959, allocations: 103.9 kB / 0.7417 GB, free: 5.441 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6959, allocations: 4 kB / 0.7417 GB, free: 5.438 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.6959, allocations: 7.984 kB / 0.7417 GB, free: 5.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6959, allocations: 0 / 0.7417 GB, free: 5.43 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6959, allocations: 0 / 0.7417 GB, free: 5.43 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.6966, allocations: 0.6001 MB / 0.7423 GB, free: 4.816 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6967, allocations: 128.8 kB / 0.7424 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.6968, allocations: 15.98 kB / 0.7424 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.697, allocations: 15.97 kB / 0.7424 GB, free: 4.641 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.697, allocations: 11.98 kB / 0.7424 GB, free: 4.629 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.697, allocations: 8 kB / 0.7424 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001056/0.6972, allocations: 145.1 kB / 0.7426 GB, free: 4.48 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.282e-06/0.6972, allocations: 4 kB / 0.7426 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002952/0.6975, allocations: 55.88 kB / 0.7426 GB, free: 4.422 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.0001277/0.6976, allocations: 119.1 kB / 0.7428 GB, free: 4.297 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.6981, allocations: 367.6 kB / 0.7431 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6981, allocations: 0 / 0.7431 GB, free: 3.938 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.6983, allocations: 155.8 kB / 0.7433 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.6985, allocations: 8.141 kB / 0.7433 GB, free: 3.773 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.7, allocations: 1.201 MB / 0.7444 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.7003, allocations: 0.8026 MB / 0.7452 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.7006, allocations: 110 kB / 0.7453 GB, free: 1.602 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.7007, allocations: 19.44 kB / 0.7453 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of SimCode: time 4.21e-07/0.7007, allocations: 0 / 0.7453 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of Templates: time 0.5442/1.245, allocations: 1.888 MB / 0.7472 GB, free: 134.9 MB / 0.5421 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