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.001351/0.001351, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001556/0.001556, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9475/0.9475, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 65.3 kB / 0.5718 GB, free: 39.26 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1438, allocations: 80.69 MB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002395/0.1462, allocations: 1.187 MB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.1464, allocations: 31.83 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.1465, allocations: 0 / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.1466, allocations: 3.938 kB / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.1467, allocations: 0 / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1469, allocations: 11.97 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.1474, allocations: 0.4916 MB / 0.6523 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.1474, allocations: 4 kB / 0.6523 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1477, allocations: 171.9 kB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.1481, allocations: 203.6 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.1482, allocations: 24 kB / 0.6527 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.1482, allocations: 28 kB / 0.6527 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1484, allocations: 163.6 kB / 0.6528 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.1487, allocations: 187.2 kB / 0.653 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1491, allocations: 330.6 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1491, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1491, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1491, allocations: 0 / 0.6533 GB, free: 9.379 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.002001/0.1511, allocations: 0.9049 MB / 0.6542 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1511, allocations: 15.89 kB / 0.6542 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.1513, allocations: 86.7 kB / 0.6543 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1514, allocations: 44.7 kB / 0.6544 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.1518, allocations: 267.9 kB / 0.6546 GB, free: 7.965 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1518, allocations: 33.38 kB / 0.6546 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.152, allocations: 84.17 kB / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/0.1528, allocations: 0.5182 MB / 0.6552 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1529, allocations: 11.81 kB / 0.6552 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.1529, allocations: 19.98 kB / 0.6553 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1529, allocations: 8 kB / 0.6553 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.1534, allocations: 307.8 kB / 0.6556 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1553, allocations: 1.048 MB / 0.6566 GB, free: 5.891 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.157, allocations: 1.095 MB / 0.6577 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.1575, allocations: 351.6 kB / 0.658 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.1576, allocations: 24.86 kB / 0.658 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1576, allocations: 51.56 kB / 0.6581 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.405e-06/0.1576, allocations: 0 / 0.6581 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001948/0.1596, allocations: 1.151 MB / 0.6592 GB, free: 3.199 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1596, allocations: 64.41 kB / 0.6593 GB, free: 3.125 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1598, allocations: 101.8 kB / 0.6593 GB, free: 3.016 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.1598, allocations: 41.7 kB / 0.6594 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1599, allocations: 86.09 kB / 0.6595 GB, free: 2.879 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.1603, allocations: 0.492 MB / 0.66 GB, free: 2.383 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.1607, allocations: 252.2 kB / 0.6602 GB, free: 2.133 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1608, allocations: 310 kB / 0.6605 GB, free: 1.824 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.1618, allocations: 0.5972 MB / 0.6611 GB, free: 1.227 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.1628, allocations: 0.7218 MB / 0.6618 GB, free: 0.4961 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.1646, allocations: 1.228 MB / 0.663 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.1646, allocations: 3.938 kB / 0.663 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002257/0.1669, allocations: 1.614 MB / 0.6646 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.1669, allocations: 12.03 kB / 0.6646 GB, free: 13.63 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1669, allocations: 0 / 0.6646 GB, free: 13.63 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.167, allocations: 4 kB / 0.6646 GB, free: 13.62 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.1688, allocations: 0.5151 MB / 0.6651 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.1688, allocations: 8 kB / 0.6651 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.1693, allocations: 155.1 kB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.1694, allocations: 47.98 kB / 0.6653 GB, free: 12.9 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.0002572/0.1697, allocations: 218.8 kB / 0.6655 GB, free: 12.68 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1698, allocations: 39.81 kB / 0.6655 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.17, allocations: 79.61 kB / 0.6656 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.17, allocations: 15.98 kB / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.17, allocations: 0 / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.17, allocations: 3.984 kB / 0.6656 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.1708, allocations: 0.5602 MB / 0.6662 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1709, allocations: 0 / 0.6662 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/0.1735, allocations: 0.5113 MB / 0.6667 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.1735, allocations: 4 kB / 0.6667 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.1736, allocations: 63.92 kB / 0.6667 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.1736, allocations: 7.984 kB / 0.6667 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1736, allocations: 3.938 kB / 0.6667 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.1757, allocations: 1.359 MB / 0.6681 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1758, allocations: 120.7 kB / 0.6682 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.176, allocations: 67.94 kB / 0.6682 GB, free: 9.766 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.1764, allocations: 59.92 kB / 0.6683 GB, free: 9.707 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1766, allocations: 60.91 kB / 0.6684 GB, free: 9.648 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.1766, allocations: 31.98 kB / 0.6684 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.1767, allocations: 79.28 kB / 0.6685 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1767, allocations: 0 / 0.6685 GB, free: 9.539 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005258/0.1772, allocations: 212 kB / 0.6687 GB, free: 9.332 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.002215/0.1794, allocations: 1.985 MB / 0.6706 GB, free: 7.316 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.1815, allocations: 1.186 MB / 0.6718 GB, free: 6.129 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1815, allocations: 0 / 0.6718 GB, free: 6.129 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.1822, allocations: 445.4 kB / 0.6722 GB, free: 5.691 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1825, allocations: 32 kB / 0.6722 GB, free: 5.66 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009226/0.1917, allocations: 8.112 MB / 0.6801 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.1923, allocations: 0.9182 MB / 0.681 GB, free: 12.5 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008103/0.1931, allocations: 393.1 kB / 0.6814 GB, free: 12.11 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.1934, allocations: 187.4 kB / 0.6816 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of SimCode: time 5.31e-07/0.1935, allocations: 0 / 0.6816 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.2486, allocations: 13.6 MB / 0.6949 GB, free: 14.49 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.188/9.437, allocations: 12.38 kB / 0.6949 GB, free: 14.48 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