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.001062/0.001062, allocations: 114.1 kB / 17.69 MB, free: 5.309 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.0009938/0.0009938, allocations: 187 kB / 18.63 MB, free: 4.379 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.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9235/0.9235, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5414, allocations: 80.68 MB / 0.5712 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002259/0.5437, allocations: 1.173 MB / 0.5723 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.5439, allocations: 29.33 kB / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.5439, allocations: 7.875 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.777e-05/0.544, allocations: 0 / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.28e-05/0.5441, allocations: 0.8438 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.5442, allocations: 9.828 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.5443, allocations: 56.28 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.5444, allocations: 1.438 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.5444, allocations: 28.06 kB / 0.5724 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.5445, allocations: 20.56 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.5445, allocations: 6.438 kB / 0.5725 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.5445, allocations: 6.469 kB / 0.5725 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.5446, allocations: 19.64 kB / 0.5725 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.5446, allocations: 15.81 kB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.077e-05/0.5447, allocations: 39.84 kB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5447, allocations: 0 / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5447, allocations: 0 / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.5447, allocations: 1.438 kB / 0.5725 GB, free: 42.41 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.0004822/0.5452, allocations: 379.9 kB / 0.5729 GB, free: 42.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5453, allocations: 12.39 kB / 0.5729 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.5453, allocations: 4.656 kB / 0.5729 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5455, allocations: 176.9 kB / 0.5731 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5455, allocations: 7.125 kB / 0.5731 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5455, allocations: 4.562 kB / 0.5731 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.5457, allocations: 82.86 kB / 0.5732 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5457, allocations: 4.172 kB / 0.5732 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5457, allocations: 3.938 kB / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5457, allocations: 6.156 kB / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.5458, allocations: 28.83 kB / 0.5732 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.5462, allocations: 325.6 kB / 0.5735 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.5464, allocations: 125.4 kB / 0.5736 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.5465, allocations: 35.25 kB / 0.5737 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.5465, allocations: 2.203 kB / 0.5737 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.5465, allocations: 47.56 kB / 0.5737 GB, free: 41.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.5465, allocations: 0 / 0.5737 GB, free: 41.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002667/0.5468, allocations: 141.9 kB / 0.5739 GB, free: 41.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.5468, allocations: 57.97 kB / 0.5739 GB, free: 41.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.5469, allocations: 94.77 kB / 0.574 GB, free: 41.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.5469, allocations: 29.7 kB / 0.574 GB, free: 40.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.5469, allocations: 85.42 kB / 0.5741 GB, free: 40.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.5469, allocations: 49.91 kB / 0.5742 GB, free: 40.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.547, allocations: 35.31 kB / 0.5742 GB, free: 40.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.547, allocations: 321.3 kB / 0.5745 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.5471, allocations: 64.52 kB / 0.5746 GB, free: 40.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.5472, allocations: 83.25 kB / 0.5746 GB, free: 40.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5474, allocations: 145.2 kB / 0.5748 GB, free: 40.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5474, allocations: 0 / 0.5748 GB, free: 40.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002311/0.5476, allocations: 197.8 kB / 0.575 GB, free: 40.24 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5477, allocations: 7.25 kB / 0.575 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5477, allocations: 0 / 0.575 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5477, allocations: 2.75 kB / 0.575 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5479, allocations: 50.41 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5479, allocations: 1.406 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.5479, allocations: 15.62 kB / 0.575 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.548, allocations: 12.27 kB / 0.5751 GB, free: 40.21 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 5.547e-05/0.548, allocations: 123.1 kB / 0.5752 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5481, allocations: 6.406 kB / 0.5752 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.5481, allocations: 13.53 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5481, allocations: 1.188 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5481, allocations: 3.984 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5481, allocations: 9.266 kB / 0.5752 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.5483, allocations: 199 kB / 0.5754 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5483, allocations: 0 / 0.5754 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.5486, allocations: 53.19 kB / 0.5754 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5486, allocations: 1.406 kB / 0.5754 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5486, allocations: 6.656 kB / 0.5755 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5486, allocations: 1.312 kB / 0.5755 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5486, allocations: 3.984 kB / 0.5755 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.5489, allocations: 261.4 kB / 0.5757 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.5489, allocations: 83.98 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.5489, allocations: 2.969 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.549, allocations: 6.172 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.5491, allocations: 3.625 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.5491, allocations: 17.98 kB / 0.5758 GB, free: 39.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.181e-05/0.5491, allocations: 78.91 kB / 0.5759 GB, free: 39.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5491, allocations: 0 / 0.5759 GB, free: 39.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002426/0.5494, allocations: 22.47 kB / 0.5759 GB, free: 39.43 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.772e-05/0.5494, allocations: 95.22 kB / 0.576 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.5496, allocations: 129.5 kB / 0.5761 GB, free: 39.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5497, allocations: 64 / 0.5761 GB, free: 39.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.5497, allocations: 46.69 kB / 0.5762 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.55, allocations: 5.25 kB / 0.5762 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.5504, allocations: 322.4 kB / 0.5765 GB, free: 39.02 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.5505, allocations: 0.6978 MB / 0.5772 GB, free: 38.31 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.086e-05/0.5506, allocations: 37.64 kB / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.5506, allocations: 13.09 kB / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of SimCode: time 4.41e-07/0.5507, allocations: 0 / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of Templates: time 0.002704/0.5534, allocations: 0.8053 MB / 0.578 GB, free: 37.89 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches