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.00159/0.00159, allocations: 180 kB / 16.39 MB, free: 5.762 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.579/1.579, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 95.44 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.163/1.163, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1793, allocations: 82.85 MB / 0.6242 GB, free: 9.227 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7994/0.9788, allocations: 126.3 MB / 0.7476 GB, free: 7.715 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001288/0.9789, allocations: 47.11 kB / 0.7476 GB, free: 7.695 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.9896, allocations: 3.455 MB / 0.751 GB, free: 4.637 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9896, allocations: 0 / 0.751 GB, free: 4.637 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.9897, allocations: 4.547 kB / 0.751 GB, free: 4.633 MB / 0.5107 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.001126/0.9908, allocations: 0.6081 MB / 0.7516 GB, free: 3.984 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.9908, allocations: 8.031 kB / 0.7516 GB, free: 3.977 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.9909, allocations: 23.72 kB / 0.7516 GB, free: 3.953 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008521/0.9918, allocations: 370.8 kB / 0.752 GB, free: 3.566 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.9918, allocations: 15.7 kB / 0.752 GB, free: 3.559 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.9919, allocations: 35.61 kB / 0.752 GB, free: 3.531 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.9924, allocations: 297.6 kB / 0.7523 GB, free: 3.293 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9924, allocations: 0 / 0.7523 GB, free: 3.293 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.9924, allocations: 6.891 kB / 0.7523 GB, free: 3.289 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.9925, allocations: 8 kB / 0.7523 GB, free: 3.281 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.9928, allocations: 238.1 kB / 0.7525 GB, free: 3.102 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.9949, allocations: 1.112 MB / 0.7536 GB, free: 2.074 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.9959, allocations: 436.9 kB / 0.754 GB, free: 1.73 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.9959, allocations: 4 kB / 0.7541 GB, free: 1.727 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.9959, allocations: 35.31 kB / 0.7541 GB, free: 1.688 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.9959, allocations: 4 kB / 0.7541 GB, free: 1.684 MB / 0.5107 GB Notification: Performance of matching and sorting (n=23): time 0.0007119/0.9966, allocations: 468.6 kB / 0.7545 GB, free: 1.316 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.9967, allocations: 51.41 kB / 0.7546 GB, free: 1.254 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.9969, allocations: 202 kB / 0.7548 GB, free: 1.074 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.9969, allocations: 29.52 kB / 0.7548 GB, free: 1.043 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.997, allocations: 135 kB / 0.7549 GB, free: 0.9258 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.9971, allocations: 94.2 kB / 0.755 GB, free: 0.8438 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.9971, allocations: 11.75 kB / 0.755 GB, free: 0.8398 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9973, allocations: 326 kB / 0.7553 GB, free: 0.5195 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.9975, allocations: 201.3 kB / 0.7555 GB, free: 376 kB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.9978, allocations: 233.6 kB / 0.7558 GB, free: 180 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.9981, allocations: 221 kB / 0.756 GB, free: 24 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9981, allocations: 0 / 0.756 GB, free: 24 kB / 0.5107 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00068/0.9988, allocations: 0.5053 MB / 0.7565 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.9989, allocations: 4 kB / 0.7565 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9989, allocations: 7.984 kB / 0.7565 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9989, allocations: 0 / 0.7565 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.9994, allocations: 107.9 kB / 0.7566 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.9994, allocations: 11.89 kB / 0.7566 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.9996, allocations: 39.38 kB / 0.7566 GB, free: 15.46 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.9996, allocations: 12 kB / 0.7566 GB, free: 15.45 MB / 0.5263 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 () * Number of clocked 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 0.0001646/0.9998, allocations: 170 kB / 0.7568 GB, free: 15.29 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.9998, allocations: 23.41 kB / 0.7568 GB, free: 15.27 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.9999, allocations: 38.12 kB / 0.7569 GB, free: 15.26 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1, allocations: 3.984 kB / 0.7569 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1, allocations: 0 / 0.7569 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1, allocations: 11.94 kB / 0.7569 GB, free: 15.24 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/1, allocations: 358.2 kB / 0.7572 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1, allocations: 0 / 0.7572 GB, free: 14.89 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/1.001, allocations: 99.67 kB / 0.7573 GB, free: 14.8 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.001, allocations: 0 / 0.7573 GB, free: 14.8 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.001, allocations: 15.92 kB / 0.7573 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.001, allocations: 4 kB / 0.7573 GB, free: 14.78 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.001, allocations: 0 / 0.7573 GB, free: 14.78 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/1.002, allocations: 0.6134 MB / 0.7579 GB, free: 14.28 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/1.002, allocations: 128.7 kB / 0.7581 GB, free: 14.14 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/1.002, allocations: 11.86 kB / 0.7581 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.002, allocations: 19.84 kB / 0.7581 GB, free: 14.12 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/1.002, allocations: 11.98 kB / 0.7581 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/1.002, allocations: 11.98 kB / 0.7581 GB, free: 14.09 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.000136/1.002, allocations: 159.3 kB / 0.7583 GB, free: 13.96 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 0.7583 GB, free: 13.96 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002984/1.003, allocations: 74.92 kB / 0.7583 GB, free: 13.89 MB / 0.5263 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 () * Number of clocked 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.0001426/1.003, allocations: 107.8 kB / 0.7584 GB, free: 13.79 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0005379/1.003, allocations: 384.3 kB / 0.7588 GB, free: 13.49 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.003, allocations: 4.062 kB / 0.7588 GB, free: 13.49 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.004, allocations: 162.1 kB / 0.759 GB, free: 13.37 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/1.004, allocations: 10.88 kB / 0.759 GB, free: 13.36 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/1.006, allocations: 1.494 MB / 0.7604 GB, free: 11.9 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/1.006, allocations: 0.7988 MB / 0.7612 GB, free: 11.08 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0002568/1.006, allocations: 109.8 kB / 0.7613 GB, free: 10.97 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/1.006, allocations: 19.44 kB / 0.7613 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of SimCode: time 4.31e-07/1.006, allocations: 0 / 0.7613 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of Templates: time 0.004437/1.011, allocations: 2.035 MB / 0.7633 GB, free: 8.965 MB / 0.5263 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