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.001243/0.001243, allocations: 112 kB / 17.06 MB, free: 5.996 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.001165/0.001165, allocations: 197.3 kB / 18 MB, free: 5.074 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8899/0.8899, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 70.81 kB / 0.5705 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1262, allocations: 80.7 MB / 0.6493 GB, free: 13.51 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002621/0.1288, allocations: 1.814 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1298, allocations: 0.5575 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.1299, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.13, allocations: 23.78 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1302, allocations: 67.52 kB / 0.6517 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1305, allocations: 79.83 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000678/0.1312, allocations: 0.648 MB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1313, allocations: 48.73 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1316, allocations: 255.3 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.132, allocations: 283.1 kB / 0.653 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.1321, allocations: 40 kB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.1322, allocations: 40 kB / 0.653 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1323, allocations: 147.7 kB / 0.6532 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1326, allocations: 219 kB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.1331, allocations: 0.5257 MB / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1331, allocations: 7.938 kB / 0.6539 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1331, allocations: 3.938 kB / 0.6539 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.1331, allocations: 0 / 0.6539 GB, free: 8.75 MB / 0.4983 GB 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.002006/0.1351, allocations: 0.9625 MB / 0.6548 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1352, allocations: 8.031 kB / 0.6549 GB, free: 7.73 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.403e-05/0.1353, allocations: 74.72 kB / 0.6549 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.1354, allocations: 44.66 kB / 0.655 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1359, allocations: 354.8 kB / 0.6553 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.1359, allocations: 29.03 kB / 0.6553 GB, free: 7.188 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.1361, allocations: 72.42 kB / 0.6554 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.1369, allocations: 0.5212 MB / 0.6559 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1369, allocations: 4 kB / 0.6559 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.137, allocations: 16 kB / 0.6559 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.137, allocations: 12.66 kB / 0.6559 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.1377, allocations: 0.5099 MB / 0.6564 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.1409, allocations: 1.577 MB / 0.658 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.1424, allocations: 0.8747 MB / 0.6588 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.143, allocations: 381.8 kB / 0.6592 GB, free: 3.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.143, allocations: 16.44 kB / 0.6592 GB, free: 3.145 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1431, allocations: 31 kB / 0.6592 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 2.083e-06/0.1431, allocations: 0 / 0.6592 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001503/0.1446, allocations: 0.9922 MB / 0.6602 GB, free: 2.109 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1446, allocations: 59.83 kB / 0.6603 GB, free: 2.039 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1449, allocations: 314.7 kB / 0.6606 GB, free: 1.719 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.145, allocations: 37.7 kB / 0.6606 GB, free: 1.676 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1451, allocations: 181 kB / 0.6608 GB, free: 1.496 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1453, allocations: 210.2 kB / 0.661 GB, free: 1.289 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.1455, allocations: 138.6 kB / 0.6611 GB, free: 1.148 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1457, allocations: 350.8 kB / 0.6614 GB, free: 0.7969 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.1463, allocations: 421.6 kB / 0.6618 GB, free: 392 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.147, allocations: 0.4972 MB / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1481, allocations: 0.8741 MB / 0.6632 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1481, allocations: 4 kB / 0.6632 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001468/0.1496, allocations: 1.024 MB / 0.6642 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1497, allocations: 11.11 kB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1497, allocations: 7.938 kB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1497, allocations: 4 kB / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.1506, allocations: 223.9 kB / 0.6644 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.1506, allocations: 15.98 kB / 0.6644 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.151, allocations: 91.44 kB / 0.6645 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.1511, allocations: 20 kB / 0.6645 GB, free: 13.56 MB / 0.5139 GB 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.0002569/0.1514, allocations: 221.6 kB / 0.6648 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.1515, allocations: 39.75 kB / 0.6648 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.1527, allocations: 0.8098 MB / 0.6656 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1527, allocations: 4 kB / 0.6656 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1527, allocations: 0 / 0.6656 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1528, allocations: 4 kB / 0.6656 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.1535, allocations: 0.5794 MB / 0.6662 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1535, allocations: 0 / 0.6662 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.1545, allocations: 203.8 kB / 0.6664 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1545, allocations: 0 / 0.6664 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.1546, allocations: 35.91 kB / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1546, allocations: 4 kB / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1546, allocations: 0 / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.1563, allocations: 1.227 MB / 0.6676 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.1565, allocations: 188.7 kB / 0.6678 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/0.1566, allocations: 35.91 kB / 0.6678 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.157, allocations: 39.94 kB / 0.6678 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1571, allocations: 36.39 kB / 0.6679 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.1571, allocations: 12 kB / 0.6679 GB, free: 10.04 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002256/0.1573, allocations: 225.9 kB / 0.6681 GB, free: 9.82 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1573, allocations: 0 / 0.6681 GB, free: 9.82 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004251/0.1578, allocations: 127.9 kB / 0.6682 GB, free: 9.695 MB / 0.5139 GB 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.001994/0.1598, allocations: 1.806 MB / 0.67 GB, free: 7.863 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.161, allocations: 0.8262 MB / 0.6708 GB, free: 7.035 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1611, allocations: 4.062 kB / 0.6708 GB, free: 7.031 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.1616, allocations: 374.2 kB / 0.6712 GB, free: 6.668 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.1619, allocations: 28.83 kB / 0.6712 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.1707, allocations: 6.984 MB / 0.678 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.1714, allocations: 0.9053 MB / 0.6789 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.1719, allocations: 243 kB / 0.6791 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.1722, allocations: 127.4 kB / 0.6792 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of SimCode: time 8.92e-07/0.1722, allocations: 0 / 0.6792 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.2064, allocations: 9.646 MB / 0.6887 GB, free: 4.789 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.554, allocations: 7.719 kB / 0.6887 GB, free: 4.785 MB / 0.5295 GB (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