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.00103/0.00103, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.267/1.267, allocations: 221.4 MB / 235.5 MB, free: 2.863 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.00106/0.00106, allocations: 87.69 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9009/0.9009, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.928e-05, allocations: 4 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5371, allocations: 82.83 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.6836, allocations: 126.2 MB / 0.7399 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.6838, allocations: 47.98 kB / 0.7399 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01124/0.6951, allocations: 3.441 MB / 0.7433 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6951, allocations: 0 / 0.7433 GB, free: 7.465 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.6951, allocations: 4 kB / 0.7433 GB, free: 7.461 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.0009137/0.696, allocations: 0.5726 MB / 0.7439 GB, free: 6.84 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6961, allocations: 8.031 kB / 0.7439 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.6962, allocations: 27.7 kB / 0.7439 GB, free: 6.805 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.6969, allocations: 374.7 kB / 0.7443 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.697, allocations: 16.33 kB / 0.7443 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6971, allocations: 31.98 kB / 0.7443 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.6976, allocations: 301.4 kB / 0.7446 GB, free: 6.047 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6976, allocations: 0 / 0.7446 GB, free: 6.047 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.6976, allocations: 7.953 kB / 0.7446 GB, free: 6.039 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.6976, allocations: 8 kB / 0.7446 GB, free: 6.031 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.698, allocations: 231.7 kB / 0.7448 GB, free: 5.805 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.7, allocations: 1.108 MB / 0.7459 GB, free: 4.633 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.7009, allocations: 435.4 kB / 0.7463 GB, free: 4.199 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.7011, allocations: 160.8 kB / 0.7465 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.7012, allocations: 0 / 0.7465 GB, free: 4.039 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.7012, allocations: 34.91 kB / 0.7465 GB, free: 3.996 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.202e-06/0.7012, allocations: 0 / 0.7465 GB, free: 3.996 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0005547/0.7018, allocations: 345 kB / 0.7468 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.7018, allocations: 55.41 kB / 0.7469 GB, free: 3.586 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.702, allocations: 197.4 kB / 0.7471 GB, free: 3.387 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.702, allocations: 33.64 kB / 0.7471 GB, free: 3.348 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.7021, allocations: 136.5 kB / 0.7472 GB, free: 3.207 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.7022, allocations: 90.64 kB / 0.7473 GB, free: 3.117 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.7022, allocations: 8 kB / 0.7473 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7024, allocations: 342.8 kB / 0.7477 GB, free: 2.766 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.7026, allocations: 187.9 kB / 0.7478 GB, free: 2.582 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.7029, allocations: 232.1 kB / 0.7481 GB, free: 2.34 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.7033, allocations: 219.8 kB / 0.7483 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7033, allocations: 0 / 0.7483 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006608/0.7039, allocations: 0.4929 MB / 0.7488 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.704, allocations: 9.406 kB / 0.7488 GB, free: 1.617 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.704, allocations: 4.125 kB / 0.7488 GB, free: 1.613 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.704, allocations: 4 kB / 0.7488 GB, free: 1.609 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.7045, allocations: 107.9 kB / 0.7489 GB, free: 1.504 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.7045, allocations: 7.953 kB / 0.7489 GB, free: 1.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.7047, allocations: 43.64 kB / 0.7489 GB, free: 1.453 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.7047, allocations: 16 kB / 0.7489 GB, free: 1.438 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.413e-05/0.7048, allocations: 113.6 kB / 0.7491 GB, free: 1.32 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.7049, allocations: 15.81 kB / 0.7491 GB, free: 1.305 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.705, allocations: 41.66 kB / 0.7491 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.705, allocations: 4 kB / 0.7491 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.705, allocations: 0 / 0.7491 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.705, allocations: 11.92 kB / 0.7491 GB, free: 1.25 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.7054, allocations: 357.2 kB / 0.7495 GB, free: 0.8516 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7054, allocations: 0 / 0.7495 GB, free: 0.8516 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.7059, allocations: 95.92 kB / 0.7496 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7059, allocations: 0 / 0.7496 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.706, allocations: 15.98 kB / 0.7496 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.706, allocations: 0 / 0.7496 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.706, allocations: 0 / 0.7496 GB, free: 0.7422 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.7067, allocations: 0.6162 MB / 0.7502 GB, free: 112 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5863/1.293, allocations: 123.2 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/1.293, allocations: 13.17 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/1.293, allocations: 19.16 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.294, allocations: 13.81 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/1.294, allocations: 5.453 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001794/1.294, allocations: 159 kB / 0.7505 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.8e-07/1.294, allocations: 3.75 kB / 0.7505 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003893/1.294, allocations: 65.27 kB / 0.7506 GB, free: 132.4 MB / 0.5421 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.0001377/1.294, allocations: 107.7 kB / 0.7507 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006927/1.295, allocations: 381.8 kB / 0.751 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.295, allocations: 2.281 kB / 0.751 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.295, allocations: 158.1 kB / 0.7512 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/1.295, allocations: 13.19 kB / 0.7512 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.297, allocations: 1.233 MB / 0.7524 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.297, allocations: 0.8016 MB / 0.7532 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003364/1.298, allocations: 110.2 kB / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.665e-05/1.298, allocations: 18.88 kB / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of SimCode: time 6.21e-07/1.298, allocations: 0 / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of Templates: time 0.006188/1.304, allocations: 2.057 MB / 0.7553 GB, free: 130.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