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: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001301/0.001301, allocations: 188.4 kB / 18.67 MB, free: 4.395 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9332/0.9332, allocations: 119.3 MB / 411.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.42 kB / 0.5729 GB, free: 39.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 80.69 MB / 0.6517 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002047/0.141, allocations: 1.188 MB / 0.6529 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.1412, allocations: 31.83 kB / 0.6529 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.1412, allocations: 0 / 0.6529 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.416e-05/0.1413, allocations: 3.938 kB / 0.6529 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.1413, allocations: 7.938 kB / 0.6529 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.1415, allocations: 4 kB / 0.6529 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.1419, allocations: 0.4916 MB / 0.6534 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.142, allocations: 11.97 kB / 0.6534 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1421, allocations: 171.8 kB / 0.6536 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1424, allocations: 195.7 kB / 0.6538 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.1424, allocations: 24 kB / 0.6538 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.498e-05/0.1425, allocations: 28 kB / 0.6538 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1426, allocations: 167.6 kB / 0.654 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.1428, allocations: 183.2 kB / 0.6542 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1431, allocations: 338.8 kB / 0.6545 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1431, allocations: 0 / 0.6545 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1431, allocations: 0 / 0.6545 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.1431, allocations: 4 kB / 0.6545 GB, free: 8.934 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.001832/0.145, allocations: 0.8938 MB / 0.6554 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.145, allocations: 15.89 kB / 0.6554 GB, free: 7.969 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.1451, allocations: 36.56 kB / 0.6554 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1454, allocations: 275.9 kB / 0.6557 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1455, allocations: 29.38 kB / 0.6557 GB, free: 7.598 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1456, allocations: 87.92 kB / 0.6558 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.1464, allocations: 0.5182 MB / 0.6563 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1464, allocations: 4.172 kB / 0.6563 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1465, allocations: 19.94 kB / 0.6563 GB, free: 6.965 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1465, allocations: 12 kB / 0.6563 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.1469, allocations: 303.8 kB / 0.6566 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1485, allocations: 1.048 MB / 0.6576 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1499, allocations: 1.102 MB / 0.6587 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.1504, allocations: 351.6 kB / 0.659 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.1504, allocations: 17 kB / 0.6591 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1505, allocations: 47.5 kB / 0.6591 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 1.964e-06/0.1505, allocations: 0 / 0.6591 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001649/0.1521, allocations: 1.151 MB / 0.6602 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1522, allocations: 64.41 kB / 0.6603 GB, free: 2.797 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.1523, allocations: 105.8 kB / 0.6604 GB, free: 2.684 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.1523, allocations: 41.7 kB / 0.6604 GB, free: 2.637 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1524, allocations: 82.14 kB / 0.6605 GB, free: 2.551 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.1527, allocations: 481.3 kB / 0.661 GB, free: 2.074 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.153, allocations: 255.6 kB / 0.6612 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.1531, allocations: 310.6 kB / 0.6615 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.1539, allocations: 0.5894 MB / 0.6621 GB, free: 0.9219 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/0.1547, allocations: 0.7218 MB / 0.6628 GB, free: 196 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.1564, allocations: 1.235 MB / 0.664 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1564, allocations: 0 / 0.664 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002042/0.1584, allocations: 1.617 MB / 0.6656 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1585, allocations: 4 kB / 0.6656 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1585, allocations: 4 kB / 0.6656 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1585, allocations: 4 kB / 0.6656 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.1602, allocations: 0.5151 MB / 0.6661 GB, free: 12.8 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.1602, allocations: 8 kB / 0.6661 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.1607, allocations: 146.8 kB / 0.6662 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.1608, allocations: 47.98 kB / 0.6663 GB, free: 12.6 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.0002338/0.161, allocations: 218.3 kB / 0.6665 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.1611, allocations: 43.53 kB / 0.6665 GB, free: 12.33 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1613, allocations: 83.61 kB / 0.6666 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1613, allocations: 15.98 kB / 0.6666 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.1614, allocations: 4 kB / 0.6666 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1614, allocations: 3.984 kB / 0.6666 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.1621, allocations: 0.5483 MB / 0.6672 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1621, allocations: 0 / 0.6672 GB, free: 11.63 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/0.1647, allocations: 0.5152 MB / 0.6677 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.1647, allocations: 4 kB / 0.6677 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.1648, allocations: 67.92 kB / 0.6677 GB, free: 11.05 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1648, allocations: 4 kB / 0.6677 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1648, allocations: 0 / 0.6677 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.1665, allocations: 1.347 MB / 0.6691 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1666, allocations: 128.5 kB / 0.6692 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1667, allocations: 59.94 kB / 0.6692 GB, free: 9.477 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.1672, allocations: 63.92 kB / 0.6693 GB, free: 9.414 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1673, allocations: 60.91 kB / 0.6694 GB, free: 9.355 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.1673, allocations: 27.98 kB / 0.6694 GB, free: 9.328 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.1674, allocations: 83.28 kB / 0.6695 GB, free: 9.246 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 0.6695 GB, free: 9.246 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004974/0.1679, allocations: 208 kB / 0.6697 GB, free: 9.043 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.0002157/0.1681, allocations: 190.1 kB / 0.6698 GB, free: 8.848 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.1697, allocations: 1.186 MB / 0.671 GB, free: 7.66 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1697, allocations: 0 / 0.671 GB, free: 7.66 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.1703, allocations: 449.4 kB / 0.6714 GB, free: 7.219 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1706, allocations: 31.94 kB / 0.6715 GB, free: 7.188 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.173, allocations: 2.591 MB / 0.674 GB, free: 4.562 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1734, allocations: 0.9221 MB / 0.6749 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.1737, allocations: 59.44 kB / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of SimCode: time 5.31e-07/0.1737, allocations: 0 / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of Templates: time 0.01249/0.1862, allocations: 9.421 MB / 0.6842 GB, free: 10.14 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > 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