Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.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.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",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.001242/0.001242, allocations: 111.7 kB / 17.06 MB, free: 6.016 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.00121/0.00121, allocations: 189.4 kB / 18 MB, free: 5.098 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.051/1.051, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 62.66 kB / 0.5718 GB, free: 39.27 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1494, allocations: 80.7 MB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002514/0.152, allocations: 1.184 MB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002045/0.1522, allocations: 27.83 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.1523, allocations: 7.938 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.797e-05/0.1524, allocations: 0 / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.1525, allocations: 11.94 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1526, allocations: 7.969 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.1532, allocations: 499.4 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.1533, allocations: 7.938 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1535, allocations: 171.9 kB / 0.6524 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.1538, allocations: 199.6 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.1539, allocations: 24 kB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.154, allocations: 24 kB / 0.6527 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1541, allocations: 167.6 kB / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.1544, allocations: 183.2 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.1547, allocations: 342.6 kB / 0.6533 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1548, allocations: 0 / 0.6533 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1548, allocations: 0 / 0.6533 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1548, allocations: 0 / 0.6533 GB, free: 9.316 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002141/0.1569, allocations: 0.901 MB / 0.6542 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.157, allocations: 11.89 kB / 0.6542 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.1571, allocations: 78.72 kB / 0.6543 GB, free: 8.262 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.1572, allocations: 44.7 kB / 0.6544 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1576, allocations: 279.8 kB / 0.6546 GB, free: 7.906 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.1577, allocations: 29.38 kB / 0.6547 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.1578, allocations: 88.17 kB / 0.6547 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.1587, allocations: 0.5182 MB / 0.6552 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1587, allocations: 3.938 kB / 0.6552 GB, free: 7.266 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.1587, allocations: 16 kB / 0.6553 GB, free: 7.25 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1588, allocations: 12 kB / 0.6553 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.1593, allocations: 299.8 kB / 0.6556 GB, free: 6.945 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.161, allocations: 1.052 MB / 0.6566 GB, free: 5.844 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.1628, allocations: 1.102 MB / 0.6577 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.1634, allocations: 355.6 kB / 0.658 GB, free: 4.383 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.1634, allocations: 12.94 kB / 0.658 GB, free: 4.371 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1635, allocations: 43.56 kB / 0.6581 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.525e-06/0.1635, allocations: 0 / 0.6581 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001988/0.1655, allocations: 1.159 MB / 0.6592 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1655, allocations: 60.41 kB / 0.6592 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.1656, allocations: 101.9 kB / 0.6593 GB, free: 2.973 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.1657, allocations: 41.7 kB / 0.6594 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1658, allocations: 90.09 kB / 0.6595 GB, free: 2.832 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.1662, allocations: 0.492 MB / 0.6599 GB, free: 2.336 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.1665, allocations: 248.2 kB / 0.6602 GB, free: 2.09 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1667, allocations: 306 kB / 0.6605 GB, free: 1.785 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.1676, allocations: 0.601 MB / 0.6611 GB, free: 1.184 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.1687, allocations: 0.7179 MB / 0.6618 GB, free: 468 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.1706, allocations: 1.239 MB / 0.663 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.1707, allocations: 3.938 kB / 0.663 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002482/0.1731, allocations: 1.614 MB / 0.6646 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.1732, allocations: 4 kB / 0.6646 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1732, allocations: 0 / 0.6646 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.1732, allocations: 8.188 kB / 0.6646 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.175, allocations: 0.5112 MB / 0.6651 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1751, allocations: 4 kB / 0.6651 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.1755, allocations: 159.1 kB / 0.6652 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.1756, allocations: 48 kB / 0.6653 GB, free: 12.86 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (201): * Single equations (assignments): 201 * 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.0002786/0.1759, allocations: 222.8 kB / 0.6655 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/0.176, allocations: 43.8 kB / 0.6655 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1763, allocations: 83.61 kB / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1763, allocations: 8 kB / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1763, allocations: 0 / 0.6656 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.1763, allocations: 3.984 kB / 0.6656 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008644/0.1772, allocations: 0.5679 MB / 0.6662 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1772, allocations: 0 / 0.6662 GB, free: 11.88 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/0.1799, allocations: 0.5152 MB / 0.6667 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1799, allocations: 4 kB / 0.6667 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.18, allocations: 63.92 kB / 0.6667 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.18, allocations: 4 kB / 0.6667 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.18, allocations: 4 kB / 0.6667 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.182, allocations: 1.356 MB / 0.6681 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1821, allocations: 120.7 kB / 0.6682 GB, free: 9.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.1822, allocations: 55.94 kB / 0.6682 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.1827, allocations: 63.94 kB / 0.6683 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1828, allocations: 60.91 kB / 0.6684 GB, free: 9.605 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.1829, allocations: 31.98 kB / 0.6684 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.1829, allocations: 79.27 kB / 0.6685 GB, free: 9.496 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.183, allocations: 7.938 kB / 0.6685 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005292/0.1835, allocations: 212 kB / 0.6687 GB, free: 9.281 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100]) * 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 (100): * Single equations (assignments): 100 * 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.002387/0.1859, allocations: 1.969 MB / 0.6706 GB, free: 7.281 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.1879, allocations: 1.197 MB / 0.6718 GB, free: 6.082 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1879, allocations: 0 / 0.6718 GB, free: 6.082 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.1886, allocations: 449.4 kB / 0.6722 GB, free: 5.641 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1889, allocations: 43.06 kB / 0.6722 GB, free: 5.602 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.1992, allocations: 8.111 MB / 0.6802 GB, free: 13.39 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.1998, allocations: 0.9183 MB / 0.681 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008636/0.2007, allocations: 389.1 kB / 0.6814 GB, free: 12.06 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.2011, allocations: 183.4 kB / 0.6816 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of SimCode: time 9.02e-07/0.2011, allocations: 0 / 0.6816 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.2416, allocations: 13.61 MB / 0.6949 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.251/9.493, allocations: 6.875 kB / 0.6949 GB, free: 14.43 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.csv --start-time 0 --stop-time 2 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches