Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_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_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_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.001482/0.001482, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001763/0.001762, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.491/1.491, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.124/1.124, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 59.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6468, allocations: 80.69 MB / 0.5698 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002816/0.6496, allocations: 1.818 MB / 0.5716 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.6506, allocations: 0.556 MB / 0.5722 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.6507, allocations: 5.188 kB / 0.5722 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.6508, allocations: 24.94 kB / 0.5722 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.651, allocations: 64.66 kB / 0.5723 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.6513, allocations: 77.45 kB / 0.5723 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.6519, allocations: 0.6598 MB / 0.573 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.652, allocations: 46.36 kB / 0.573 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.6523, allocations: 250.2 kB / 0.5733 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.6526, allocations: 282.6 kB / 0.5735 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.011e-05/0.6527, allocations: 39.28 kB / 0.5736 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.6528, allocations: 39.28 kB / 0.5736 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.653, allocations: 150.8 kB / 0.5737 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.6534, allocations: 212.1 kB / 0.5739 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.6538, allocations: 0.5298 MB / 0.5745 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6538, allocations: 0 / 0.5745 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6538, allocations: 1.469 kB / 0.5745 GB, free: 40.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.6538, allocations: 7.938 kB / 0.5745 GB, free: 40.09 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002041/0.6558, allocations: 0.9408 MB / 0.5754 GB, free: 39.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.6559, allocations: 9.438 kB / 0.5754 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.656, allocations: 72.5 kB / 0.5755 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.6561, allocations: 46.16 kB / 0.5755 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.6566, allocations: 356.5 kB / 0.5759 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.6566, allocations: 32.5 kB / 0.5759 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.6569, allocations: 67.67 kB / 0.576 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.6577, allocations: 0.526 MB / 0.5765 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6577, allocations: 5.688 kB / 0.5765 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.6577, allocations: 9.844 kB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.6578, allocations: 13.19 kB / 0.5765 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.6585, allocations: 0.5054 MB / 0.577 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.6619, allocations: 1.584 MB / 0.5785 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.6637, allocations: 0.8675 MB / 0.5794 GB, free: 37.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.6642, allocations: 382.3 kB / 0.5797 GB, free: 36.85 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.6643, allocations: 13.41 kB / 0.5798 GB, free: 36.84 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.6643, allocations: 37.53 kB / 0.5798 GB, free: 36.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 3.015e-06/0.6643, allocations: 0 / 0.5798 GB, free: 36.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001578/0.6659, allocations: 0.9931 MB / 0.5808 GB, free: 36.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.6659, allocations: 56.91 kB / 0.5808 GB, free: 36.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.6663, allocations: 310.9 kB / 0.5811 GB, free: 36.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.6664, allocations: 36.23 kB / 0.5811 GB, free: 36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.6665, allocations: 173.1 kB / 0.5813 GB, free: 35.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.6666, allocations: 213.6 kB / 0.5815 GB, free: 35.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.6669, allocations: 129.8 kB / 0.5816 GB, free: 35.59 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6671, allocations: 360.1 kB / 0.582 GB, free: 35.24 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.6677, allocations: 409 kB / 0.5824 GB, free: 35.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007028/0.6685, allocations: 0.4963 MB / 0.5829 GB, free: 34.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6697, allocations: 0.8729 MB / 0.5837 GB, free: 34.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6697, allocations: 13.09 kB / 0.5837 GB, free: 34.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001497/0.6712, allocations: 1.024 MB / 0.5847 GB, free: 33.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6713, allocations: 6.781 kB / 0.5847 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6713, allocations: 9.25 kB / 0.5847 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6713, allocations: 5.75 kB / 0.5847 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.6724, allocations: 232.5 kB / 0.585 GB, free: 33.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.6725, allocations: 6.062 kB / 0.585 GB, free: 33.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.6729, allocations: 84.16 kB / 0.5851 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.673, allocations: 29.3 kB / 0.5851 GB, free: 33.65 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0002416/0.6732, allocations: 221.1 kB / 0.5853 GB, free: 33.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.6733, allocations: 32.75 kB / 0.5853 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.6744, allocations: 0.8098 MB / 0.5861 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6745, allocations: 4 kB / 0.5861 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6745, allocations: 0 / 0.5861 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.6745, allocations: 3.984 kB / 0.5861 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.6751, allocations: 0.5832 MB / 0.5867 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6751, allocations: 0 / 0.5867 GB, free: 32.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/0.6761, allocations: 199.8 kB / 0.5869 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6761, allocations: 4 kB / 0.5869 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.6761, allocations: 35.91 kB / 0.5869 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6761, allocations: 0 / 0.5869 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6762, allocations: 4 kB / 0.5869 GB, free: 31.83 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.6775, allocations: 1.219 MB / 0.5881 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.6777, allocations: 188.5 kB / 0.5883 GB, free: 30.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.6778, allocations: 35.91 kB / 0.5883 GB, free: 30.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.6781, allocations: 39.94 kB / 0.5884 GB, free: 30.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.6782, allocations: 32.39 kB / 0.5884 GB, free: 30.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.6782, allocations: 19.98 kB / 0.5884 GB, free: 30.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002093/0.6784, allocations: 221.9 kB / 0.5886 GB, free: 30.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6784, allocations: 0 / 0.5886 GB, free: 30.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000419/0.6789, allocations: 127.9 kB / 0.5887 GB, free: 29.93 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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) * 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 (54): * Single equations (assignments): 54 * 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.001558/0.6804, allocations: 1.805 MB / 0.5905 GB, free: 28.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.6818, allocations: 1.053 MB / 0.5915 GB, free: 27.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6818, allocations: 4.125 kB / 0.5915 GB, free: 27.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.6822, allocations: 374.2 kB / 0.5919 GB, free: 26.68 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.6825, allocations: 20.89 kB / 0.5919 GB, free: 26.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.6897, allocations: 7.018 MB / 0.5988 GB, free: 19.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.69, allocations: 0.9014 MB / 0.5997 GB, free: 18.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005201/0.6906, allocations: 247 kB / 0.5999 GB, free: 18.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.6908, allocations: 127.4 kB / 0.6 GB, free: 18.21 MB / 462.3 MB Notification: Performance of SimCode: time 1.002e-06/0.6908, allocations: 0 / 0.6 GB, free: 18.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.7335, allocations: 9.46 MB / 0.6093 GB, free: 8.93 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.664/10.4, allocations: 9.5 kB / 0.6093 GB, free: 8.926 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_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_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches