Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 106.7 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001875, allocations: 191.5 kB / 17.85 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 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: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6693, allocations: 80.69 MB / 0.5699 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.003583/0.6729, allocations: 1.816 MB / 0.5716 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.6741, allocations: 0.5494 MB / 0.5722 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.6742, allocations: 5.312 kB / 0.5722 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.6744, allocations: 33.02 kB / 0.5722 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.6747, allocations: 66.53 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.6751, allocations: 82.62 kB / 0.5723 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.6766, allocations: 1.339 MB / 0.5737 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.6768, allocations: 91.86 kB / 0.5737 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007869/0.6776, allocations: 0.4957 MB / 0.5742 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.6785, allocations: 0.5711 MB / 0.5748 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.6788, allocations: 84.94 kB / 0.5749 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.679, allocations: 84.47 kB / 0.5749 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.6794, allocations: 325.4 kB / 0.5753 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0006409/0.6801, allocations: 457.4 kB / 0.5757 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.6813, allocations: 1.114 MB / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6813, allocations: 1.375 kB / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6814, allocations: 0 / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.6814, allocations: 0 / 0.5768 GB, free: 38.65 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004595/0.686, allocations: 1.656 MB / 0.5784 GB, free: 37.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.765e-05/0.6861, allocations: 10.16 kB / 0.5784 GB, free: 37.58 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.6863, allocations: 119.3 kB / 0.5785 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.6865, allocations: 96.17 kB / 0.5786 GB, free: 37.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6877, allocations: 0.5422 MB / 0.5791 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.6877, allocations: 64.25 kB / 0.5792 GB, free: 37.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/0.6883, allocations: 137.8 kB / 0.5793 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.6902, allocations: 1.152 MB / 0.5805 GB, free: 36.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.6903, allocations: 2.531 kB / 0.5805 GB, free: 36.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.6904, allocations: 32.97 kB / 0.5805 GB, free: 36.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.6904, allocations: 29.95 kB / 0.5805 GB, free: 36.29 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.6925, allocations: 1.232 MB / 0.5817 GB, free: 35.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007932/0.7005, allocations: 3.217 MB / 0.5849 GB, free: 33.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.7032, allocations: 1.827 MB / 0.5867 GB, free: 32.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.7042, allocations: 0.8931 MB / 0.5875 GB, free: 31.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/0.7043, allocations: 12.98 kB / 0.5875 GB, free: 31.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.7044, allocations: 55.5 kB / 0.5876 GB, free: 31.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=118): time 6.001e-06/0.7044, allocations: 3.984 kB / 0.5876 GB, free: 31.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=118): time 0.003065/0.7074, allocations: 2.248 MB / 0.5898 GB, free: 29.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.7075, allocations: 68.41 kB / 0.5899 GB, free: 28.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.708, allocations: 0.5016 MB / 0.5903 GB, free: 28.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/0.7081, allocations: 53.7 kB / 0.5904 GB, free: 28.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.7083, allocations: 265.4 kB / 0.5906 GB, free: 28.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.7087, allocations: 449.5 kB / 0.5911 GB, free: 27.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.7091, allocations: 279.5 kB / 0.5913 GB, free: 27.41 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7092, allocations: 334 kB / 0.5917 GB, free: 27.08 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.7104, allocations: 0.8977 MB / 0.5925 GB, free: 26.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.7117, allocations: 1.075 MB / 0.5936 GB, free: 25.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.714, allocations: 1.945 MB / 0.5955 GB, free: 23.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.714, allocations: 4 kB / 0.5955 GB, free: 23.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003082/0.7171, allocations: 2.241 MB / 0.5977 GB, free: 20.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.7172, allocations: 11.94 kB / 0.5977 GB, free: 20.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.7172, allocations: 0 / 0.5977 GB, free: 20.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/0.7172, allocations: 12 kB / 0.5977 GB, free: 20.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.7191, allocations: 483.7 kB / 0.5982 GB, free: 20.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.7191, allocations: 11.98 kB / 0.5982 GB, free: 20.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.7201, allocations: 191.6 kB / 0.5984 GB, free: 20.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.7203, allocations: 48 kB / 0.5984 GB, free: 20.08 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (184): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006741/0.7209, allocations: 349.3 kB / 0.5987 GB, free: 19.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.7211, allocations: 71.09 kB / 0.5988 GB, free: 19.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.7238, allocations: 1.871 MB / 0.6006 GB, free: 17.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.7238, allocations: 12 kB / 0.6006 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7238, allocations: 0 / 0.6006 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.7239, allocations: 7.969 kB / 0.6007 GB, free: 17.75 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7253, allocations: 1.134 MB / 0.6018 GB, free: 16.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7253, allocations: 4 kB / 0.6018 GB, free: 16.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.7273, allocations: 443.5 kB / 0.6022 GB, free: 16.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.7273, allocations: 7.938 kB / 0.6022 GB, free: 16.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.7275, allocations: 63.94 kB / 0.6023 GB, free: 16.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.7275, allocations: 4 kB / 0.6023 GB, free: 16.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.7275, allocations: 8 kB / 0.6023 GB, free: 16.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.7307, allocations: 2.704 MB / 0.6049 GB, free: 13.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/0.7313, allocations: 327.8 kB / 0.6052 GB, free: 13 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.7315, allocations: 63.89 kB / 0.6053 GB, free: 12.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.7322, allocations: 95.84 kB / 0.6054 GB, free: 12.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7323, allocations: 73.2 kB / 0.6054 GB, free: 12.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.7324, allocations: 32 kB / 0.6055 GB, free: 12.73 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0003245/0.7327, allocations: 359 kB / 0.6058 GB, free: 12.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7328, allocations: 0 / 0.6058 GB, free: 12.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0009622/0.7337, allocations: 283.8 kB / 0.6061 GB, free: 12.11 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].err_p_t_int,generator[4].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 (130): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004243/0.738, allocations: 3.331 MB / 0.6093 GB, free: 8.754 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.004468/0.7425, allocations: 3.182 MB / 0.6124 GB, free: 5.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7425, allocations: 0 / 0.6124 GB, free: 5.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.7435, allocations: 0.8701 MB / 0.6133 GB, free: 4.699 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.7443, allocations: 53.97 kB / 0.6133 GB, free: 4.641 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.7645, allocations: 13.89 MB / 0.6269 GB, free: 6.492 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.7655, allocations: 1.136 MB / 0.628 GB, free: 5.328 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001558/0.7671, allocations: 0.5603 MB / 0.6286 GB, free: 4.762 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/0.7678, allocations: 283.4 kB / 0.6288 GB, free: 4.484 MB / 478.3 MB Notification: Performance of SimCode: time 1.483e-06/0.7678, allocations: 4 kB / 0.6288 GB, free: 4.48 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.8239, allocations: 19.48 MB / 0.6479 GB, free: 1.195 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.94, allocations: 8.641 kB / 0.6479 GB, free: 1.184 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.csv --start-time 0 --stop-time 200 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.05 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches