Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.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_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_8",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.002344/0.002343, allocations: 107.4 kB / 16.92 MB, free: 5.781 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.002276/0.002277, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.712/2.712, allocations: 222.9 MB / 241.6 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 2.169/2.169, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 0.4911 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236/1.238, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8): time 0.005617/1.243, allocations: 1.823 MB / 0.5716 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001725/1.245, allocations: 0.5536 MB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/1.245, allocations: 3.938 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/1.246, allocations: 21.28 kB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/1.246, allocations: 76.48 kB / 0.5723 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/1.246, allocations: 77.36 kB / 0.5723 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002744/1.249, allocations: 1.743 MB / 0.574 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/1.25, allocations: 88.56 kB / 0.5741 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/1.251, allocations: 0.6436 MB / 0.5748 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/1.254, allocations: 0.7207 MB / 0.5755 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0007326/1.254, allocations: 115.5 kB / 0.5756 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009509/1.255, allocations: 110.6 kB / 0.5757 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0005999/1.256, allocations: 412.5 kB / 0.5761 GB, free: 39.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/1.258, allocations: 0.5548 MB / 0.5766 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003199/1.261, allocations: 1.437 MB / 0.578 GB, free: 37.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.261, allocations: 0 / 0.578 GB, free: 37.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.657e-06/1.261, allocations: 3.938 kB / 0.578 GB, free: 37.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.124e-05/1.261, allocations: 0.9375 kB / 0.578 GB, free: 37.92 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0125/1.274, allocations: 2.059 MB / 0.58 GB, free: 36.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001163/1.274, allocations: 10.09 kB / 0.58 GB, free: 36.68 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007894/1.275, allocations: 133.3 kB / 0.5802 GB, free: 36.58 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/1.276, allocations: 95.69 kB / 0.5803 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.278, allocations: 0.6436 MB / 0.5809 GB, free: 36.11 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.278, allocations: 78.78 kB / 0.581 GB, free: 36.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/1.279, allocations: 168.5 kB / 0.5811 GB, free: 36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/1.286, allocations: 1.456 MB / 0.5825 GB, free: 35.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/1.286, allocations: 2.281 kB / 0.5825 GB, free: 35.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/1.286, allocations: 34.34 kB / 0.5826 GB, free: 35.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/1.286, allocations: 33.47 kB / 0.5826 GB, free: 35.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/1.291, allocations: 1.457 MB / 0.584 GB, free: 34.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/1.31, allocations: 4.276 MB / 0.5882 GB, free: 30.68 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006645/1.317, allocations: 2.271 MB / 0.5904 GB, free: 28.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/1.32, allocations: 1.077 MB / 0.5915 GB, free: 27.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/1.32, allocations: 17.3 kB / 0.5915 GB, free: 27.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.32, allocations: 55.81 kB / 0.5915 GB, free: 27.24 MB / 462.3 MB Notification: Performance of pre-optimization done (n=134): time 5.641e-06/1.32, allocations: 0 / 0.5915 GB, free: 27.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=134): time 0.01007/1.33, allocations: 2.802 MB / 0.5943 GB, free: 24.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/1.33, allocations: 68.66 kB / 0.5943 GB, free: 24.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.332, allocations: 0.5017 MB / 0.5948 GB, free: 23.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.332, allocations: 57.7 kB / 0.5949 GB, free: 23.78 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/1.333, allocations: 289.7 kB / 0.5952 GB, free: 23.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/1.333, allocations: 0.5199 MB / 0.5957 GB, free: 22.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/1.334, allocations: 327.5 kB / 0.596 GB, free: 22.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.00017/1.334, allocations: 334 kB / 0.5963 GB, free: 22.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/1.337, allocations: 1.202 MB / 0.5975 GB, free: 21.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/1.34, allocations: 1.403 MB / 0.5989 GB, free: 19.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005013/1.346, allocations: 2.486 MB / 0.6013 GB, free: 17.13 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.346, allocations: 4 kB / 0.6013 GB, free: 17.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006977/1.353, allocations: 2.912 MB / 0.6041 GB, free: 14.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.353, allocations: 4 kB / 0.6041 GB, free: 14.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.353, allocations: 8 kB / 0.6041 GB, free: 14.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.891e-05/1.353, allocations: 12 kB / 0.6042 GB, free: 14.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/1.357, allocations: 0.6245 MB / 0.6048 GB, free: 13.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.776e-05/1.357, allocations: 13.03 kB / 0.6048 GB, free: 13.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.36, allocations: 234.4 kB / 0.605 GB, free: 13.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/1.361, allocations: 48 kB / 0.605 GB, free: 13.27 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 (216): * Single equations (assignments): 216 * 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.001645/1.362, allocations: 389.2 kB / 0.6054 GB, free: 12.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/1.363, allocations: 75.06 kB / 0.6055 GB, free: 12.8 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/1.368, allocations: 2.307 MB / 0.6077 GB, free: 10.48 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.368, allocations: 19.94 kB / 0.6078 GB, free: 10.46 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.368, allocations: 0 / 0.6078 GB, free: 10.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.368, allocations: 3.984 kB / 0.6078 GB, free: 10.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/1.371, allocations: 1.356 MB / 0.6091 GB, free: 9.055 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.371, allocations: 3.938 kB / 0.6091 GB, free: 9.051 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004705/1.376, allocations: 0.5853 MB / 0.6097 GB, free: 8.465 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.048e-05/1.376, allocations: 4 kB / 0.6097 GB, free: 8.461 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005008/1.376, allocations: 79.92 kB / 0.6097 GB, free: 8.383 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/1.377, allocations: 7.938 kB / 0.6097 GB, free: 8.375 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.377, allocations: 0 / 0.6097 GB, free: 8.375 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/1.383, allocations: 3.28 MB / 0.613 GB, free: 5.078 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.385, allocations: 383.6 kB / 0.6133 GB, free: 4.684 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.385, allocations: 71.94 kB / 0.6134 GB, free: 4.613 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.387, allocations: 131.8 kB / 0.6135 GB, free: 4.484 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.387, allocations: 77.19 kB / 0.6136 GB, free: 4.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.387, allocations: 43.98 kB / 0.6136 GB, free: 4.367 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0006002/1.388, allocations: 347.1 kB / 0.614 GB, free: 4.031 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/1.388, allocations: 4 kB / 0.614 GB, free: 4.027 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.002049/1.39, allocations: 347.8 kB / 0.6143 GB, free: 3.688 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 65 (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].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],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].T_s[5],generator[2].T_s[6],generator[2].T_s[7],generator[2].T_s[8],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].T_s[5],generator[3].T_s[6],generator[3].T_s[7],generator[3].T_s[8],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].T_s[5],generator[4].T_s[6],generator[4].T_s[7],generator[4].T_s[8],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 (146): * Single equations (assignments): 146 * 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.007653/1.398, allocations: 3.909 MB / 0.6181 GB, free: 15.75 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.01353/1.411, allocations: 4.153 MB / 0.6222 GB, free: 11.59 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.411, allocations: 3.938 kB / 0.6222 GB, free: 11.58 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.414, allocations: 1.065 MB / 0.6232 GB, free: 10.52 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.416, allocations: 68.56 kB / 0.6233 GB, free: 10.45 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04992/1.466, allocations: 17.21 MB / 0.6401 GB, free: 8.934 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.467, allocations: 1.202 MB / 0.6413 GB, free: 7.707 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.004179/1.471, allocations: 0.686 MB / 0.6419 GB, free: 7.016 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.473, allocations: 327.3 kB / 0.6422 GB, free: 6.695 MB / 494.3 MB Notification: Performance of SimCode: time 2.514e-06/1.473, allocations: 0 / 0.6422 GB, free: 6.695 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.577, allocations: 23.89 MB / 0.6656 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/17.09, allocations: 18.22 kB / 0.6656 GB, free: 15.01 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_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_8.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches