Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009401, allocations: 92.23 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.0009564/0.0009565, allocations: 175 kB / 18.21 MB, free: 5.684 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.272/1.272, allocations: 223.3 MB / 242.2 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8559/0.8559, allocations: 120.5 MB / 413.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 8 kB / 0.4955 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5027, allocations: 82.84 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.0009846/0.5038, allocations: 0.9113 MB / 0.5773 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000137/0.5039, allocations: 22.02 kB / 0.5773 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.5039, allocations: 0 / 0.5773 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.504, allocations: 9.531 kB / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.5041, allocations: 0 / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.5042, allocations: 5.391 kB / 0.5774 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.5043, allocations: 55.09 kB / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.5044, allocations: 2.906 kB / 0.5774 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.5044, allocations: 22.05 kB / 0.5774 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.5045, allocations: 21.12 kB / 0.5775 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.5045, allocations: 7.625 kB / 0.5775 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.5045, allocations: 1.781 kB / 0.5775 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.5046, allocations: 19.19 kB / 0.5775 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.5046, allocations: 46.55 kB / 0.5775 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.368e-05/0.5047, allocations: 24.48 kB / 0.5775 GB, free: 41.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5047, allocations: 0 / 0.5775 GB, free: 41.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5047, allocations: 0 / 0.5775 GB, free: 41.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.5047, allocations: 0 / 0.5775 GB, free: 41.05 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.0004261/0.5051, allocations: 377.3 kB / 0.5779 GB, free: 40.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5052, allocations: 9.656 kB / 0.5779 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.5052, allocations: 3.688 kB / 0.5779 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.5053, allocations: 176.6 kB / 0.5781 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5054, allocations: 5.75 kB / 0.5781 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5054, allocations: 17.66 kB / 0.5781 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.5055, allocations: 77.58 kB / 0.5782 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.5056, allocations: 4.188 kB / 0.5782 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.5056, allocations: 9.297 kB / 0.5782 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5056, allocations: 1.375 kB / 0.5782 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.5056, allocations: 28.48 kB / 0.5782 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.5061, allocations: 321 kB / 0.5785 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.5062, allocations: 122.7 kB / 0.5786 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.5063, allocations: 35.72 kB / 0.5787 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.5063, allocations: 9.328 kB / 0.5787 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.5063, allocations: 35.84 kB / 0.5787 GB, free: 39.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.5064, allocations: 3.938 kB / 0.5787 GB, free: 39.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002668/0.5066, allocations: 142 kB / 0.5789 GB, free: 39.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.5067, allocations: 56.56 kB / 0.5789 GB, free: 39.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.5067, allocations: 95.45 kB / 0.579 GB, free: 39.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.5067, allocations: 31.2 kB / 0.579 GB, free: 39.62 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.5068, allocations: 84.14 kB / 0.5791 GB, free: 39.54 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.5068, allocations: 54.25 kB / 0.5792 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.5068, allocations: 18.22 kB / 0.5792 GB, free: 39.47 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.5069, allocations: 321.9 kB / 0.5795 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.507, allocations: 66.22 kB / 0.5796 GB, free: 39.12 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.5071, allocations: 86.34 kB / 0.5796 GB, free: 39.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5072, allocations: 139.3 kB / 0.5798 GB, free: 38.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5073, allocations: 5.188 kB / 0.5798 GB, free: 38.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002331/0.5075, allocations: 192 kB / 0.58 GB, free: 38.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5075, allocations: 7.438 kB / 0.58 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5075, allocations: 0 / 0.58 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5075, allocations: 1.531 kB / 0.58 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.5077, allocations: 54.91 kB / 0.58 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5078, allocations: 5.188 kB / 0.58 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.5078, allocations: 17.34 kB / 0.58 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5078, allocations: 7.938 kB / 0.5801 GB, free: 38.86 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 6.202e-05/0.5079, allocations: 125.9 kB / 0.5802 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.5079, allocations: 6.656 kB / 0.5802 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.508, allocations: 13.34 kB / 0.5802 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.508, allocations: 5.375 kB / 0.5802 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.508, allocations: 0 / 0.5802 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.508, allocations: 1.375 kB / 0.5802 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.5082, allocations: 198.2 kB / 0.5804 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5082, allocations: 0 / 0.5804 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.5085, allocations: 50.59 kB / 0.5804 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5085, allocations: 4 kB / 0.5804 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5085, allocations: 8.125 kB / 0.5804 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5085, allocations: 0 / 0.5804 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5085, allocations: 1.375 kB / 0.5804 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.5087, allocations: 252 kB / 0.5807 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.5088, allocations: 83.84 kB / 0.5808 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5088, allocations: 6.75 kB / 0.5808 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.5089, allocations: 6.734 kB / 0.5808 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.5089, allocations: 10.78 kB / 0.5808 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.5089, allocations: 2.75 kB / 0.5808 GB, free: 38.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.355e-05/0.5089, allocations: 91.33 kB / 0.5809 GB, free: 38.08 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5089, allocations: 0 / 0.5809 GB, free: 38.08 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002269/0.5092, allocations: 21.88 kB / 0.5809 GB, free: 38.07 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 6.973e-05/0.5093, allocations: 99.69 kB / 0.581 GB, free: 37.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5095, allocations: 130.1 kB / 0.5811 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5095, allocations: 0.9062 kB / 0.5811 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5095, allocations: 49.97 kB / 0.5812 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.5098, allocations: 6.031 kB / 0.5812 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.5102, allocations: 397.5 kB / 0.5816 GB, free: 37.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.5103, allocations: 0.7066 MB / 0.5822 GB, free: 36.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.5104, allocations: 12.97 kB / 0.5823 GB, free: 36.86 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.5104, allocations: 0.9375 kB / 0.5823 GB, free: 36.86 MB / 462.3 MB Notification: Performance of Templates: time 0.002423/0.5128, allocations: 1.179 MB / 0.5834 GB, free: 36.27 MB / 462.3 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/jenkins1/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