Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009361/0.0009362, allocations: 177.3 kB / 16.71 MB, free: 5.09 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.35/1.35, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007858/0.0007862, allocations: 95.56 kB / 294.4 MB, free: 9.492 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.7964/0.7964, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 8 kB / 0.5464 GB, free: 41.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1675, allocations: 82.85 MB / 0.6273 GB, free: 7.863 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001134/0.1687, allocations: 0.8995 MB / 0.6282 GB, free: 6.957 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.1689, allocations: 35.84 kB / 0.6282 GB, free: 6.922 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1689, allocations: 0 / 0.6282 GB, free: 6.922 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.14e-05/0.169, allocations: 0 / 0.6282 GB, free: 6.922 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.1691, allocations: 3.938 kB / 0.6282 GB, free: 6.918 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.1692, allocations: 11.97 kB / 0.6282 GB, free: 6.906 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1693, allocations: 51.95 kB / 0.6283 GB, free: 6.855 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.1694, allocations: 0 / 0.6283 GB, free: 6.855 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.1694, allocations: 15.98 kB / 0.6283 GB, free: 6.84 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1695, allocations: 31.89 kB / 0.6283 GB, free: 6.809 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1695, allocations: 7.938 kB / 0.6283 GB, free: 6.801 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.1695, allocations: 0 / 0.6283 GB, free: 6.801 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.1695, allocations: 15.98 kB / 0.6283 GB, free: 6.785 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1696, allocations: 45.58 kB / 0.6284 GB, free: 6.734 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.551e-05/0.1697, allocations: 39.88 kB / 0.6284 GB, free: 6.695 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1697, allocations: 0 / 0.6284 GB, free: 6.695 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1697, allocations: 0 / 0.6284 GB, free: 6.695 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1697, allocations: 0 / 0.6284 GB, free: 6.695 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.0005058/0.1702, allocations: 367.7 kB / 0.6288 GB, free: 6.285 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1703, allocations: 8.031 kB / 0.6288 GB, free: 6.277 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1703, allocations: 4.938 kB / 0.6288 GB, free: 6.273 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1705, allocations: 180.2 kB / 0.6289 GB, free: 6.059 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1705, allocations: 384 / 0.6289 GB, free: 6.059 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1705, allocations: 12.36 kB / 0.629 GB, free: 6.047 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1707, allocations: 78.14 kB / 0.629 GB, free: 5.965 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1707, allocations: 192 / 0.629 GB, free: 5.965 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1707, allocations: 7.938 kB / 0.629 GB, free: 5.957 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1707, allocations: 4 kB / 0.629 GB, free: 5.953 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.1708, allocations: 31.98 kB / 0.6291 GB, free: 5.922 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.1711, allocations: 185.6 kB / 0.6292 GB, free: 5.691 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1713, allocations: 118.5 kB / 0.6294 GB, free: 5.566 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.1713, allocations: 40.83 kB / 0.6294 GB, free: 5.523 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.1714, allocations: 0 / 0.6294 GB, free: 5.523 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1714, allocations: 42.56 kB / 0.6294 GB, free: 5.473 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1714, allocations: 0 / 0.6294 GB, free: 5.473 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.0002461/0.1716, allocations: 141.7 kB / 0.6296 GB, free: 5.328 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1717, allocations: 55.41 kB / 0.6296 GB, free: 5.262 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.1718, allocations: 101.8 kB / 0.6297 GB, free: 5.152 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1718, allocations: 29.7 kB / 0.6298 GB, free: 5.117 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.1718, allocations: 84.14 kB / 0.6298 GB, free: 5.031 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1719, allocations: 43.38 kB / 0.6299 GB, free: 4.988 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.1719, allocations: 4 kB / 0.6299 GB, free: 4.984 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.172, allocations: 330.8 kB / 0.6302 GB, free: 4.652 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.1721, allocations: 63.91 kB / 0.6303 GB, free: 4.59 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.1722, allocations: 59.95 kB / 0.6303 GB, free: 4.531 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1723, allocations: 123.7 kB / 0.6304 GB, free: 4.41 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1724, allocations: 0 / 0.6304 GB, free: 4.41 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002329/0.1726, allocations: 189.5 kB / 0.6306 GB, free: 4.219 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1726, allocations: 4 kB / 0.6306 GB, free: 4.215 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1726, allocations: 3.938 kB / 0.6306 GB, free: 4.211 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1726, allocations: 0 / 0.6306 GB, free: 4.211 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1728, allocations: 63.91 kB / 0.6307 GB, free: 4.148 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1729, allocations: 0 / 0.6307 GB, free: 4.148 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1729, allocations: 11.91 kB / 0.6307 GB, free: 4.137 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1729, allocations: 8 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 7.978e-05/0.173, allocations: 125.7 kB / 0.6308 GB, free: 3.996 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.173, allocations: 4 kB / 0.6308 GB, free: 3.992 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.1731, allocations: 16.09 kB / 0.6308 GB, free: 3.973 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1731, allocations: 3.984 kB / 0.6308 GB, free: 3.969 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1731, allocations: 0 / 0.6308 GB, free: 3.969 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1731, allocations: 11.98 kB / 0.6309 GB, free: 3.957 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1733, allocations: 197.5 kB / 0.631 GB, free: 3.715 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1733, allocations: 384 / 0.631 GB, free: 3.715 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.1736, allocations: 47.97 kB / 0.6311 GB, free: 3.668 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1736, allocations: 4 kB / 0.6311 GB, free: 3.664 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1736, allocations: 3.938 kB / 0.6311 GB, free: 3.66 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1736, allocations: 7.938 kB / 0.6311 GB, free: 3.652 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1736, allocations: 0 / 0.6311 GB, free: 3.652 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1739, allocations: 176.9 kB / 0.6313 GB, free: 3.461 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1739, allocations: 85.09 kB / 0.6314 GB, free: 3.359 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1739, allocations: 7.938 kB / 0.6314 GB, free: 3.352 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.174, allocations: 3.984 kB / 0.6314 GB, free: 3.348 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.174, allocations: 12.03 kB / 0.6314 GB, free: 3.336 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.174, allocations: 7.938 kB / 0.6314 GB, free: 3.328 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.1741, allocations: 79.27 kB / 0.6315 GB, free: 3.25 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1741, allocations: 0 / 0.6315 GB, free: 3.25 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001753/0.1743, allocations: 24 kB / 0.6315 GB, free: 3.227 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 0.0001043/0.1744, allocations: 107.2 kB / 0.6316 GB, free: 3.113 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1746, allocations: 119.9 kB / 0.6317 GB, free: 2.996 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1746, allocations: 0 / 0.6317 GB, free: 2.996 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.1747, allocations: 39.92 kB / 0.6317 GB, free: 2.957 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1748, allocations: 12.92 kB / 0.6317 GB, free: 2.945 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.1752, allocations: 361 kB / 0.6321 GB, free: 2.559 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1755, allocations: 0.7005 MB / 0.6328 GB, free: 1.828 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.1756, allocations: 36.38 kB / 0.6328 GB, free: 1.789 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1756, allocations: 15.44 kB / 0.6328 GB, free: 1.777 MB / 442.8 MB Notification: Performance of SimCode: time 3.6e-07/0.1756, allocations: 0 / 0.6328 GB, free: 1.777 MB / 442.8 MB Notification: Performance of Templates: time 0.002407/0.178, allocations: 0.734 MB / 0.6335 GB, free: 1.047 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches