Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 182.6 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 243.2 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007632/0.0007632, allocations: 100.6 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9769/0.9769, allocations: 120.5 MB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 4 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1634, allocations: 82.85 MB / 0.6273 GB, free: 7.867 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001268/0.1647, allocations: 0.9035 MB / 0.6282 GB, free: 6.957 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.165, allocations: 19.92 kB / 0.6282 GB, free: 6.938 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.165, allocations: 0 / 0.6282 GB, free: 6.938 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.1651, allocations: 0 / 0.6282 GB, free: 6.938 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.1652, allocations: 11.94 kB / 0.6282 GB, free: 6.926 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.1653, allocations: 7.984 kB / 0.6282 GB, free: 6.918 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1654, allocations: 47.95 kB / 0.6282 GB, free: 6.871 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.1655, allocations: 0 / 0.6282 GB, free: 6.871 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1655, allocations: 23.97 kB / 0.6283 GB, free: 6.848 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.1656, allocations: 27.84 kB / 0.6283 GB, free: 6.82 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.1656, allocations: 4 kB / 0.6283 GB, free: 6.816 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.1656, allocations: 4 kB / 0.6283 GB, free: 6.812 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.1657, allocations: 11.98 kB / 0.6283 GB, free: 6.801 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1658, allocations: 53.55 kB / 0.6284 GB, free: 6.742 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.976e-05/0.1658, allocations: 35.91 kB / 0.6284 GB, free: 6.707 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1659, allocations: 0 / 0.6284 GB, free: 6.707 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1659, allocations: 0 / 0.6284 GB, free: 6.707 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1659, allocations: 0 / 0.6284 GB, free: 6.707 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005539/0.1664, allocations: 363.7 kB / 0.6287 GB, free: 6.301 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1665, allocations: 12.03 kB / 0.6288 GB, free: 6.289 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.1665, allocations: 4.938 kB / 0.6288 GB, free: 6.285 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1667, allocations: 184.2 kB / 0.6289 GB, free: 6.066 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1667, allocations: 384 / 0.6289 GB, free: 6.066 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.1668, allocations: 12.38 kB / 0.629 GB, free: 6.055 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1669, allocations: 78.08 kB / 0.629 GB, free: 5.973 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.167, allocations: 192 / 0.629 GB, free: 5.973 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.167, allocations: 3.938 kB / 0.629 GB, free: 5.969 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.167, allocations: 4 kB / 0.629 GB, free: 5.965 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.167, allocations: 27.98 kB / 0.6291 GB, free: 5.938 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.1674, allocations: 193.6 kB / 0.6292 GB, free: 5.699 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1676, allocations: 122.5 kB / 0.6294 GB, free: 5.57 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.1676, allocations: 32.84 kB / 0.6294 GB, free: 5.535 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1677, allocations: 4 kB / 0.6294 GB, free: 5.531 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1677, allocations: 30.56 kB / 0.6294 GB, free: 5.492 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.1677, allocations: 3.984 kB / 0.6294 GB, free: 5.488 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002689/0.168, allocations: 153.7 kB / 0.6296 GB, free: 5.332 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.168, allocations: 55.41 kB / 0.6296 GB, free: 5.266 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.1681, allocations: 97.86 kB / 0.6297 GB, free: 5.16 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1681, allocations: 29.64 kB / 0.6298 GB, free: 5.125 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.1682, allocations: 80.22 kB / 0.6298 GB, free: 5.043 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.1682, allocations: 59.2 kB / 0.6299 GB, free: 4.984 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.1682, allocations: 8 kB / 0.6299 GB, free: 4.977 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1683, allocations: 314.8 kB / 0.6302 GB, free: 4.66 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.1684, allocations: 63.91 kB / 0.6303 GB, free: 4.598 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.1685, allocations: 63.95 kB / 0.6303 GB, free: 4.535 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1687, allocations: 127.7 kB / 0.6304 GB, free: 4.41 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1687, allocations: 0 / 0.6304 GB, free: 4.41 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000312/0.169, allocations: 185.9 kB / 0.6306 GB, free: 4.223 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1691, allocations: 7.984 kB / 0.6306 GB, free: 4.215 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1691, allocations: 3.938 kB / 0.6306 GB, free: 4.211 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1691, allocations: 7.938 kB / 0.6306 GB, free: 4.203 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1693, allocations: 47.92 kB / 0.6307 GB, free: 4.156 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1693, allocations: 0 / 0.6307 GB, free: 4.156 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1694, allocations: 19.89 kB / 0.6307 GB, free: 4.137 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1694, allocations: 7.984 kB / 0.6307 GB, free: 4.129 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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 8.42e-05/0.1695, allocations: 121.7 kB / 0.6308 GB, free: 4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1695, allocations: 4 kB / 0.6308 GB, free: 3.996 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1696, allocations: 19.89 kB / 0.6308 GB, free: 3.973 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1696, allocations: 4 kB / 0.6308 GB, free: 3.969 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1696, allocations: 0 / 0.6308 GB, free: 3.969 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1696, allocations: 0 / 0.6308 GB, free: 3.969 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1698, allocations: 197.5 kB / 0.631 GB, free: 3.727 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1698, allocations: 0 / 0.631 GB, free: 3.727 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.1701, allocations: 55.97 kB / 0.6311 GB, free: 3.672 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1701, allocations: 0 / 0.6311 GB, free: 3.672 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1701, allocations: 11.92 kB / 0.6311 GB, free: 3.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1701, allocations: 4 kB / 0.6311 GB, free: 3.656 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1702, allocations: 0 / 0.6311 GB, free: 3.656 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1704, allocations: 172.9 kB / 0.6313 GB, free: 3.469 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.1705, allocations: 81.11 kB / 0.6313 GB, free: 3.371 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1705, allocations: 11.94 kB / 0.6314 GB, free: 3.359 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.1705, allocations: 3.984 kB / 0.6314 GB, free: 3.355 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1706, allocations: 12.02 kB / 0.6314 GB, free: 3.344 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1706, allocations: 4 kB / 0.6314 GB, free: 3.34 MB / 442.8 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.1706, allocations: 87.22 kB / 0.6315 GB, free: 3.254 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1706, allocations: 0 / 0.6315 GB, free: 3.254 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001824/0.1708, allocations: 20 kB / 0.6315 GB, free: 3.234 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (10): * Single equations (assignments): 10 * 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 9.858e-05/0.1709, allocations: 107.2 kB / 0.6316 GB, free: 3.121 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1712, allocations: 115.9 kB / 0.6317 GB, free: 3.008 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1712, allocations: 0 / 0.6317 GB, free: 3.008 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.1712, allocations: 56.12 kB / 0.6317 GB, free: 2.953 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.1714, allocations: 0 / 0.6317 GB, free: 2.953 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.1719, allocations: 366.2 kB / 0.6321 GB, free: 2.562 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1721, allocations: 0.7004 MB / 0.6328 GB, free: 1.836 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 8.737e-05/0.1722, allocations: 36.38 kB / 0.6328 GB, free: 1.797 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1722, allocations: 11.44 kB / 0.6328 GB, free: 1.789 MB / 442.8 MB Notification: Performance of SimCode: time 3e-07/0.1722, allocations: 0 / 0.6328 GB, free: 1.789 MB / 442.8 MB Notification: Performance of Templates: time 0.002547/0.1748, allocations: 0.7496 MB / 0.6336 GB, free: 1.043 MB / 442.8 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches