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.00099/0.0009901, allocations: 176.5 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.188/1.188, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0008964/0.0008965, allocations: 93.59 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7975/0.7975, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.057e-05, allocations: 0 / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4711, allocations: 82.83 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.6065, allocations: 125.6 MB / 0.7323 GB, free: 15.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001291/0.6067, allocations: 55.91 kB / 0.7324 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.617, allocations: 3.428 MB / 0.7357 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6171, allocations: 0 / 0.7357 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.6171, 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.0009388/0.618, allocations: 0.5726 MB / 0.7363 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.6181, allocations: 8.031 kB / 0.7363 GB, free: 11.19 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.6182, allocations: 23.77 kB / 0.7363 GB, free: 11.16 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.6189, allocations: 362.8 kB / 0.7367 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.6189, allocations: 11.94 kB / 0.7367 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6191, allocations: 20 kB / 0.7367 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003252/0.6194, allocations: 220.5 kB / 0.7369 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.6198, allocations: 269.1 kB / 0.7371 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6198, allocations: 11.95 kB / 0.7372 GB, free: 10.24 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.6198, allocations: 3.938 kB / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.6199, allocations: 7.984 kB / 0.7372 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.6218, allocations: 1.058 MB / 0.7382 GB, free: 9.117 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007935/0.6226, allocations: 410.7 kB / 0.7386 GB, free: 8.707 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.6228, allocations: 159.4 kB / 0.7387 GB, free: 8.551 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.6228, allocations: 8 kB / 0.7388 GB, free: 8.543 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.6229, allocations: 38.5 kB / 0.7388 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.6229, allocations: 0 / 0.7388 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23): time 0.0004792/0.6234, allocations: 318.1 kB / 0.7391 GB, free: 8.176 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.6234, allocations: 55.41 kB / 0.7391 GB, free: 8.109 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6236, allocations: 186.2 kB / 0.7393 GB, free: 7.922 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.6236, allocations: 25.7 kB / 0.7394 GB, free: 7.891 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.6237, allocations: 128.5 kB / 0.7395 GB, free: 7.762 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.6238, allocations: 102.6 kB / 0.7396 GB, free: 7.66 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.6238, allocations: 0 / 0.7396 GB, free: 7.66 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6239, allocations: 330.8 kB / 0.7399 GB, free: 7.328 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.6241, allocations: 179.9 kB / 0.7401 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.6244, allocations: 228.1 kB / 0.7403 GB, free: 6.914 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.6247, allocations: 227.5 kB / 0.7405 GB, free: 6.691 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6247, allocations: 0 / 0.7405 GB, free: 6.691 MB / 0.5419 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005972/0.6253, allocations: 472.8 kB / 0.7409 GB, free: 6.223 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6253, allocations: 5.406 kB / 0.7409 GB, free: 6.219 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6253, allocations: 0 / 0.7409 GB, free: 6.219 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6254, allocations: 4 kB / 0.741 GB, free: 6.215 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.6258, allocations: 111.9 kB / 0.7411 GB, free: 6.105 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.6258, allocations: 8.125 kB / 0.7411 GB, free: 6.098 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.626, allocations: 35.66 kB / 0.7411 GB, free: 6.062 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.6261, allocations: 15.95 kB / 0.7411 GB, free: 6.047 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.828e-05/0.6261, allocations: 108.9 kB / 0.7412 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.6262, allocations: 15.81 kB / 0.7412 GB, free: 5.918 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.6263, allocations: 37.95 kB / 0.7413 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6263, allocations: 4 kB / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6263, allocations: 0 / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6263, allocations: 0 / 0.7413 GB, free: 5.875 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.6267, allocations: 317.8 kB / 0.7416 GB, free: 5.527 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6267, allocations: 0 / 0.7416 GB, free: 5.527 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.6272, allocations: 95.92 kB / 0.7417 GB, free: 5.434 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.6272, allocations: 4 kB / 0.7417 GB, free: 5.43 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.6272, allocations: 15.98 kB / 0.7417 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6272, allocations: 0 / 0.7417 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6273, allocations: 7.969 kB / 0.7417 GB, free: 5.406 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.6279, allocations: 0.6039 MB / 0.7423 GB, free: 4.789 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6281, allocations: 132.8 kB / 0.7424 GB, free: 4.641 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.6281, allocations: 4 kB / 0.7424 GB, free: 4.637 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6283, allocations: 15.97 kB / 0.7424 GB, free: 4.621 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.6283, allocations: 19.97 kB / 0.7425 GB, free: 4.602 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6284, allocations: 4 kB / 0.7425 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001016/0.6285, allocations: 145.2 kB / 0.7426 GB, free: 4.457 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.413e-06/0.6285, allocations: 0 / 0.7426 GB, free: 4.457 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000282/0.6288, allocations: 59.88 kB / 0.7426 GB, free: 4.398 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.0001265/0.6289, allocations: 115.2 kB / 0.7428 GB, free: 4.277 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.6294, allocations: 363.7 kB / 0.7431 GB, free: 3.922 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6294, allocations: 0 / 0.7431 GB, free: 3.922 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.6296, allocations: 159.8 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.0001588/0.6297, allocations: 8.078 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.001456/0.6312, allocations: 1.201 MB / 0.7444 GB, free: 2.523 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.6315, allocations: 0.8026 MB / 0.7452 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.6318, allocations: 110 kB / 0.7453 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.6319, allocations: 19.44 kB / 0.7453 GB, free: 1.562 MB / 0.5419 GB Notification: Performance of SimCode: time 2.3e-07/0.6319, allocations: 0 / 0.7453 GB, free: 1.562 MB / 0.5419 GB Notification: Performance of Templates: time 0.5055/1.137, allocations: 1.881 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/jenkins/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