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.0009494/0.0009492, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.001002/0.001002, allocations: 179.8 kB / 18.21 MB, free: 5.68 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.438/1.438, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.119/1.119, allocations: 120.5 MB / 413.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 15.98 kB / 0.4955 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6445, allocations: 82.83 MB / 0.5764 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001061/0.6456, allocations: 0.905 MB / 0.5773 GB, free: 41.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.6458, allocations: 28.8 kB / 0.5773 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.6458, allocations: 1.188 kB / 0.5773 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.658e-05/0.6459, allocations: 0 / 0.5773 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.646, allocations: 5.125 kB / 0.5774 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.6461, allocations: 9.141 kB / 0.5774 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.6462, allocations: 52.05 kB / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.6463, allocations: 5.734 kB / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.6463, allocations: 22.36 kB / 0.5774 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.6464, allocations: 21.12 kB / 0.5775 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.6464, allocations: 3 kB / 0.5775 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.6464, allocations: 6.875 kB / 0.5775 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.6465, allocations: 18.61 kB / 0.5775 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.6465, allocations: 50.8 kB / 0.5775 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.582e-05/0.6466, allocations: 22.84 kB / 0.5776 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6466, allocations: 1.781 kB / 0.5776 GB, free: 41.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6466, allocations: 0 / 0.5776 GB, free: 41.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.6466, allocations: 0 / 0.5776 GB, free: 41.08 MB / 462.3 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.000453/0.6471, allocations: 373.9 kB / 0.5779 GB, free: 40.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6471, allocations: 8.75 kB / 0.5779 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.6471, allocations: 7.562 kB / 0.5779 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6473, allocations: 176 kB / 0.5781 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.6473, allocations: 6.875 kB / 0.5781 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.6473, allocations: 12.08 kB / 0.5781 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.6475, allocations: 78.48 kB / 0.5782 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.6475, allocations: 4.188 kB / 0.5782 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.6475, allocations: 5.312 kB / 0.5782 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6475, allocations: 1.375 kB / 0.5782 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.6476, allocations: 29.86 kB / 0.5782 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.6481, allocations: 321 kB / 0.5785 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.6483, allocations: 125.5 kB / 0.5787 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.6483, allocations: 36.09 kB / 0.5787 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.6484, allocations: 5.375 kB / 0.5787 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.6484, allocations: 34.56 kB / 0.5787 GB, free: 39.95 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.6484, allocations: 1.375 kB / 0.5787 GB, free: 39.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002707/0.6487, allocations: 141.8 kB / 0.5789 GB, free: 39.86 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6487, allocations: 56.69 kB / 0.5789 GB, free: 39.8 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.6488, allocations: 98.98 kB / 0.579 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.6488, allocations: 31.03 kB / 0.579 GB, free: 39.66 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.6488, allocations: 93.34 kB / 0.5791 GB, free: 39.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.6488, allocations: 45.45 kB / 0.5792 GB, free: 39.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6489, allocations: 19.22 kB / 0.5792 GB, free: 39.51 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.649, allocations: 321.7 kB / 0.5795 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.6491, allocations: 69.08 kB / 0.5796 GB, free: 39.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6492, allocations: 80.44 kB / 0.5796 GB, free: 39.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.6494, allocations: 136.3 kB / 0.5798 GB, free: 39.04 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6494, allocations: 4 kB / 0.5798 GB, free: 39.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000294/0.6497, allocations: 196.9 kB / 0.58 GB, free: 38.93 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6497, allocations: 5.656 kB / 0.58 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6497, allocations: 1.406 kB / 0.58 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6498, allocations: 1.688 kB / 0.58 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.65, allocations: 53.53 kB / 0.58 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.65, allocations: 1.531 kB / 0.58 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.65, allocations: 20.98 kB / 0.58 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.6501, allocations: 7.938 kB / 0.5801 GB, free: 38.89 MB / 462.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/0.6502, allocations: 118.1 kB / 0.5802 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.6502, allocations: 8.25 kB / 0.5802 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.6502, allocations: 12.16 kB / 0.5802 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6502, allocations: 5.562 kB / 0.5802 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6503, allocations: 3.984 kB / 0.5802 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6503, allocations: 3.984 kB / 0.5802 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.6505, allocations: 199.7 kB / 0.5804 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6505, allocations: 0 / 0.5804 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.6508, allocations: 49.22 kB / 0.5804 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6508, allocations: 5.375 kB / 0.5804 GB, free: 38.51 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.6508, allocations: 14.73 kB / 0.5805 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6508, allocations: 1.375 kB / 0.5805 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6508, allocations: 0 / 0.5805 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.6511, allocations: 253.4 kB / 0.5807 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.6511, allocations: 78.48 kB / 0.5808 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.6512, allocations: 8.125 kB / 0.5808 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.6512, allocations: 6.734 kB / 0.5808 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.6513, allocations: 6.75 kB / 0.5808 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6513, allocations: 6.734 kB / 0.5808 GB, free: 38.2 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.6513, allocations: 85.97 kB / 0.5809 GB, free: 38.12 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6513, allocations: 5.594 kB / 0.5809 GB, free: 38.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002268/0.6516, allocations: 21.88 kB / 0.5809 GB, free: 38.11 MB / 462.3 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.055e-05/0.6516, allocations: 102.3 kB / 0.581 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.6519, allocations: 135 kB / 0.5811 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6519, allocations: 0.9062 kB / 0.5811 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.652, allocations: 45.75 kB / 0.5812 GB, free: 37.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.6522, allocations: 9.781 kB / 0.5812 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.6527, allocations: 397.5 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.6529, allocations: 0.7027 MB / 0.5823 GB, free: 36.9 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.6529, allocations: 13 kB / 0.5823 GB, free: 36.89 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.6529, allocations: 0.9062 kB / 0.5823 GB, free: 36.89 MB / 462.3 MB Notification: Performance of Templates: time 0.002694/0.6556, allocations: 1.183 MB / 0.5834 GB, free: 36.3 MB / 462.3 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/jenkins1/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