Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 94.89 kB / 16.3 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.001777/0.001777, allocations: 183.5 kB / 17.2 MB, free: 5.914 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: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7647/0.7647, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 4 kB / 0.4942 GB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 82.85 MB / 0.5751 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.00148/0.1576, allocations: 0.8926 MB / 0.5759 GB, free: 7.246 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1578, allocations: 19.94 kB / 0.576 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1579, allocations: 4 kB / 0.576 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.501e-05/0.158, allocations: 3.984 kB / 0.576 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.158, allocations: 7.922 kB / 0.576 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1582, allocations: 8 kB / 0.576 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1583, allocations: 39.88 kB / 0.576 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.1584, allocations: 0 / 0.576 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.1584, allocations: 19.98 kB / 0.576 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.1585, allocations: 19.97 kB / 0.5761 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1586, allocations: 4 kB / 0.5761 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.1586, allocations: 4 kB / 0.5761 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.1586, allocations: 27.91 kB / 0.5761 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.1587, allocations: 29.7 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.807e-05/0.1587, allocations: 23.95 kB / 0.5761 GB, free: 7.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1587, allocations: 4 kB / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1588, allocations: 0 / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1588, allocations: 0 / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005653/0.1593, allocations: 371.5 kB / 0.5765 GB, free: 6.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1594, allocations: 8.031 kB / 0.5765 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1594, allocations: 7.953 kB / 0.5765 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1596, allocations: 182.8 kB / 0.5767 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1596, allocations: 0 / 0.5767 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1597, allocations: 11.98 kB / 0.5767 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1598, allocations: 77.64 kB / 0.5768 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1599, allocations: 0 / 0.5768 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1599, allocations: 4 kB / 0.5768 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1599, allocations: 4 kB / 0.5768 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.1599, allocations: 35.88 kB / 0.5768 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1605, allocations: 316.8 kB / 0.5771 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1606, allocations: 118.5 kB / 0.5772 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.1607, allocations: 0 / 0.5772 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1607, allocations: 38.56 kB / 0.5773 GB, free: 5.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.866e-06/0.1607, allocations: 112 / 0.5773 GB, free: 5.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002738/0.161, allocations: 153.6 kB / 0.5774 GB, free: 5.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.161, allocations: 59.39 kB / 0.5775 GB, free: 5.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.1611, allocations: 105.8 kB / 0.5776 GB, free: 5.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1611, allocations: 25.7 kB / 0.5776 GB, free: 5.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1612, allocations: 80.33 kB / 0.5777 GB, free: 5.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.1612, allocations: 55.28 kB / 0.5777 GB, free: 5.203 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.1613, allocations: 4 kB / 0.5777 GB, free: 5.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1614, allocations: 322.8 kB / 0.578 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.1615, allocations: 56.33 kB / 0.5781 GB, free: 4.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1616, allocations: 85.03 kB / 0.5782 GB, free: 4.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1617, allocations: 75.95 kB / 0.5782 GB, free: 4.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1617, allocations: 0 / 0.5782 GB, free: 4.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002674/0.162, allocations: 195.6 kB / 0.5784 GB, free: 4.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.162, allocations: 4 kB / 0.5784 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.162, allocations: 8.031 kB / 0.5784 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1621, allocations: 3.953 kB / 0.5784 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1623, allocations: 51.97 kB / 0.5785 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1623, allocations: 0 / 0.5785 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.1624, allocations: 15.84 kB / 0.5785 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1624, allocations: 4 kB / 0.5785 GB, free: 4.379 MB / 446.1 MB 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.1625, allocations: 125.8 kB / 0.5786 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1625, allocations: 7.906 kB / 0.5786 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.1626, allocations: 11.97 kB / 0.5787 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1626, allocations: 8 kB / 0.5787 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1626, allocations: 3.953 kB / 0.5787 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1626, allocations: 0 / 0.5787 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1629, allocations: 193.7 kB / 0.5789 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1629, allocations: 0 / 0.5789 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1632, allocations: 55.91 kB / 0.5789 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1632, allocations: 0 / 0.5789 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1632, allocations: 4 kB / 0.5789 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1632, allocations: 0 / 0.5789 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1632, allocations: 0 / 0.5789 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1635, allocations: 267.6 kB / 0.5792 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1636, allocations: 81.09 kB / 0.5792 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1636, allocations: 4 kB / 0.5792 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.1637, allocations: 7.938 kB / 0.5793 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.1637, allocations: 11.94 kB / 0.5793 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.1637, allocations: 4 kB / 0.5793 GB, free: 3.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.1638, allocations: 83.27 kB / 0.5793 GB, free: 3.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 4 kB / 0.5794 GB, free: 3.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.164, allocations: 20 kB / 0.5794 GB, free: 3.406 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.1641, allocations: 103.2 kB / 0.5795 GB, free: 3.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1644, allocations: 123.9 kB / 0.5796 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1644, allocations: 0 / 0.5796 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.1645, allocations: 39.98 kB / 0.5796 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.1646, allocations: 4 kB / 0.5796 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1651, allocations: 371.1 kB / 0.58 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1655, allocations: 0.7042 MB / 0.5807 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.1656, allocations: 44.38 kB / 0.5807 GB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1656, allocations: 11.44 kB / 0.5807 GB, free: 1.957 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.1656, allocations: 0 / 0.5807 GB, free: 1.957 MB / 446.1 MB Notification: Performance of Templates: time 0.002711/0.1683, allocations: 0.7183 MB / 0.5814 GB, free: 1.246 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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