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.001008/0.001008, allocations: 179.5 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.251/1.251, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.00108/0.00108, allocations: 90.19 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8457/0.8457, allocations: 120.5 MB / 457.9 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.635e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5146, allocations: 82.83 MB / 0.6166 GB, free: 9.352 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.6526, allocations: 126.2 MB / 0.7399 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001111/0.6527, allocations: 51.92 kB / 0.7399 GB, free: 10.93 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.6637, allocations: 3.434 MB / 0.7433 GB, free: 7.48 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6637, allocations: 4 kB / 0.7433 GB, free: 7.477 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.6637, allocations: 4 kB / 0.7433 GB, free: 7.473 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.001023/0.6648, allocations: 0.5765 MB / 0.7439 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6648, allocations: 12.03 kB / 0.7439 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.6649, allocations: 27.7 kB / 0.7439 GB, free: 6.809 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.6658, allocations: 362.8 kB / 0.7442 GB, free: 6.414 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.6658, allocations: 28.27 kB / 0.7443 GB, free: 6.387 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.666, allocations: 31.98 kB / 0.7443 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.6665, allocations: 293.4 kB / 0.7446 GB, free: 6.059 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6665, allocations: 4 kB / 0.7446 GB, free: 6.055 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.6665, allocations: 11.95 kB / 0.7446 GB, free: 6.043 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.6666, allocations: 4 kB / 0.7446 GB, free: 6.039 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.6669, allocations: 231.8 kB / 0.7448 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.6691, allocations: 1.1 MB / 0.7459 GB, free: 4.648 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.67, allocations: 443.3 kB / 0.7463 GB, free: 4.207 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.6702, allocations: 160.8 kB / 0.7465 GB, free: 4.047 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.6702, allocations: 4 kB / 0.7465 GB, free: 4.043 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.6702, allocations: 34.91 kB / 0.7465 GB, free: 4 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.6703, allocations: 4 kB / 0.7465 GB, free: 3.996 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0005345/0.6708, allocations: 337.2 kB / 0.7468 GB, free: 3.66 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.6708, allocations: 59.41 kB / 0.7469 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.671, allocations: 193.4 kB / 0.7471 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6711, allocations: 37.64 kB / 0.7471 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.6712, allocations: 136.5 kB / 0.7472 GB, free: 3.211 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.6712, allocations: 90.66 kB / 0.7473 GB, free: 3.121 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.6712, allocations: 4 kB / 0.7473 GB, free: 3.117 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6714, allocations: 338.8 kB / 0.7477 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.6716, allocations: 191.8 kB / 0.7478 GB, free: 2.59 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.6719, allocations: 236.1 kB / 0.7481 GB, free: 2.344 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.6723, allocations: 219.8 kB / 0.7483 GB, free: 2.129 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.6723, allocations: 4 kB / 0.7483 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006676/0.6729, allocations: 0.4968 MB / 0.7488 GB, free: 1.621 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.673, allocations: 4 kB / 0.7488 GB, free: 1.617 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.673, allocations: 0 / 0.7488 GB, free: 1.617 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.673, allocations: 4 kB / 0.7488 GB, free: 1.613 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.6735, allocations: 111.9 kB / 0.7489 GB, free: 1.504 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6735, allocations: 3.953 kB / 0.7489 GB, free: 1.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6737, allocations: 43.66 kB / 0.7489 GB, free: 1.457 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.6737, allocations: 12 kB / 0.7489 GB, free: 1.445 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.652e-05/0.6738, allocations: 121.7 kB / 0.7491 GB, free: 1.32 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.6739, allocations: 15.81 kB / 0.7491 GB, free: 1.305 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.674, allocations: 37.64 kB / 0.7491 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.674, allocations: 4 kB / 0.7491 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.674, allocations: 0 / 0.7491 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.674, allocations: 3.953 kB / 0.7491 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.6744, allocations: 361.2 kB / 0.7495 GB, free: 0.8594 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6744, allocations: 0 / 0.7495 GB, free: 0.8594 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.6749, allocations: 91.92 kB / 0.7495 GB, free: 0.7695 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6749, allocations: 4 kB / 0.7495 GB, free: 0.7656 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.6749, allocations: 15.98 kB / 0.7496 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6749, allocations: 0 / 0.7496 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6749, allocations: 0 / 0.7496 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.6757, allocations: 0.6162 MB / 0.7502 GB, free: 120 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5661/1.242, allocations: 121 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.242, allocations: 13.53 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/1.242, allocations: 22.55 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/1.242, allocations: 14.64 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.242, allocations: 7.359 kB / 0.7503 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001748/1.242, allocations: 156.2 kB / 0.7505 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.1e-07/1.242, allocations: 3.281 kB / 0.7505 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003945/1.243, allocations: 71.48 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.0001351/1.243, allocations: 108 kB / 0.7507 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006751/1.244, allocations: 381.5 kB / 0.751 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.244, allocations: 3.062 kB / 0.751 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/1.244, allocations: 159 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.0001775/1.244, allocations: 12.61 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.001532/1.246, allocations: 1.225 MB / 0.7524 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/1.246, allocations: 0.7977 MB / 0.7532 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000316/1.246, allocations: 115.8 kB / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/1.246, allocations: 18.62 kB / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of SimCode: time 3.21e-07/1.246, allocations: 0 / 0.7533 GB, free: 131 MB / 0.5421 GB Notification: Performance of Templates: time 0.005106/1.252, allocations: 2.056 MB / 0.7553 GB, free: 130.8 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