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.001047/0.001047, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001038/0.001038, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8808/0.8808, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 65.8 kB / 0.5718 GB, free: 39.27 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1566, allocations: 80.7 MB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002667/0.1593, allocations: 1.192 MB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.1595, allocations: 27.84 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.1596, allocations: 4 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.613e-05/0.1596, allocations: 0 / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.628e-05/0.1597, allocations: 7.922 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.1598, allocations: 4 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1603, allocations: 499.4 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1604, allocations: 8 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1606, allocations: 171.8 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.1609, allocations: 199.7 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.161, allocations: 24 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.1611, allocations: 27.94 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1612, allocations: 175.6 kB / 0.6528 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1614, allocations: 187.2 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1618, allocations: 334.5 kB / 0.6533 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1618, allocations: 3.984 kB / 0.6533 GB, free: 9.324 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1618, allocations: 0 / 0.6533 GB, free: 9.324 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.1618, allocations: 0 / 0.6533 GB, free: 9.324 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.001803/0.1636, allocations: 0.886 MB / 0.6542 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1636, allocations: 12.03 kB / 0.6542 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.397e-05/0.1637, allocations: 86.7 kB / 0.6543 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1638, allocations: 36.56 kB / 0.6543 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.1643, allocations: 279.8 kB / 0.6546 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1643, allocations: 33.38 kB / 0.6546 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.1644, allocations: 87.97 kB / 0.6547 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.1652, allocations: 0.5143 MB / 0.6552 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1652, allocations: 7.938 kB / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.1653, allocations: 16 kB / 0.6552 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1653, allocations: 12 kB / 0.6553 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1657, allocations: 295.8 kB / 0.6555 GB, free: 6.969 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1674, allocations: 1.052 MB / 0.6566 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.1689, allocations: 1.102 MB / 0.6576 GB, free: 4.754 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.1694, allocations: 355.6 kB / 0.658 GB, free: 4.406 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1694, allocations: 13 kB / 0.658 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1695, allocations: 43.55 kB / 0.658 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 1.854e-06/0.1695, allocations: 0 / 0.658 GB, free: 4.344 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.00167/0.1712, allocations: 1.151 MB / 0.6592 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1712, allocations: 64.41 kB / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.1713, allocations: 105.8 kB / 0.6593 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.1714, allocations: 41.7 kB / 0.6594 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1714, allocations: 86.14 kB / 0.6594 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.1717, allocations: 477.3 kB / 0.6599 GB, free: 2.387 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.172, allocations: 256.2 kB / 0.6601 GB, free: 2.133 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1721, allocations: 306 kB / 0.6604 GB, free: 1.828 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008185/0.173, allocations: 0.5933 MB / 0.661 GB, free: 1.234 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/0.1739, allocations: 0.7218 MB / 0.6617 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.1755, allocations: 1.235 MB / 0.6629 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1755, allocations: 3.938 kB / 0.6629 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002049/0.1776, allocations: 1.606 MB / 0.6645 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1776, allocations: 4 kB / 0.6645 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1776, allocations: 0 / 0.6645 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1777, allocations: 8 kB / 0.6645 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.1792, allocations: 0.5151 MB / 0.665 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.1792, allocations: 11.94 kB / 0.665 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.1797, allocations: 154.6 kB / 0.6652 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.1799, allocations: 44 kB / 0.6652 GB, free: 12.91 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.0003598/0.1803, allocations: 222.8 kB / 0.6654 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1804, allocations: 43.61 kB / 0.6655 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1807, allocations: 83.61 kB / 0.6655 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.1807, allocations: 8 kB / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1807, allocations: 4.188 kB / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1808, allocations: 3.984 kB / 0.6656 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.1818, allocations: 0.5561 MB / 0.6661 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1818, allocations: 0 / 0.6661 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/0.1843, allocations: 0.523 MB / 0.6666 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1843, allocations: 4 kB / 0.6666 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.1844, allocations: 59.94 kB / 0.6667 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.1845, allocations: 8 kB / 0.6667 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1845, allocations: 3.938 kB / 0.6667 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.1861, allocations: 1.347 MB / 0.668 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.1862, allocations: 120.5 kB / 0.6681 GB, free: 9.844 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.1864, allocations: 55.94 kB / 0.6682 GB, free: 9.789 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.1868, allocations: 67.92 kB / 0.6682 GB, free: 9.723 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1869, allocations: 60.91 kB / 0.6683 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.1869, allocations: 27.98 kB / 0.6683 GB, free: 9.637 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.187, allocations: 83.28 kB / 0.6684 GB, free: 9.555 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.187, allocations: 4 kB / 0.6684 GB, free: 9.551 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004725/0.1875, allocations: 208 kB / 0.6686 GB, free: 9.348 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.002076/0.1895, allocations: 1.977 MB / 0.6705 GB, free: 7.34 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.1913, allocations: 1.193 MB / 0.6717 GB, free: 6.145 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1913, allocations: 0 / 0.6717 GB, free: 6.145 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.1919, allocations: 441.4 kB / 0.6721 GB, free: 5.711 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1922, allocations: 35.98 kB / 0.6722 GB, free: 5.676 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/0.2012, allocations: 8.052 MB / 0.68 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.2018, allocations: 0.9221 MB / 0.6809 GB, free: 12.57 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0007996/0.2026, allocations: 389.1 kB / 0.6813 GB, free: 12.19 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.2029, allocations: 183.4 kB / 0.6815 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of SimCode: time 2.5e-07/0.2029, allocations: 0 / 0.6815 GB, free: 12.01 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/1.841, allocations: 13.62 MB / 0.6948 GB, free: 14.57 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/12.71, allocations: 8.438 kB / 0.6948 GB, free: 14.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 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.mat","/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