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.001597/0.001597, allocations: 113.2 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.001999/0.001999, 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.021/1.021, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 59.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5929, allocations: 80.69 MB / 0.5712 GB, free: 43.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001944/0.5949, allocations: 1.176 MB / 0.5723 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.5951, allocations: 29.89 kB / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.5951, allocations: 0 / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.296e-05/0.5952, allocations: 0 / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.5952, allocations: 3.938 kB / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.5954, allocations: 7.172 kB / 0.5723 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.735e-05/0.5955, allocations: 58.91 kB / 0.5724 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.5955, allocations: 2.844 kB / 0.5724 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.5956, allocations: 27.17 kB / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.5956, allocations: 24.08 kB / 0.5725 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.5957, allocations: 2.656 kB / 0.5725 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.5957, allocations: 2.812 kB / 0.5725 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.5957, allocations: 18.8 kB / 0.5725 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.5958, allocations: 20.17 kB / 0.5725 GB, free: 42.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.5958, allocations: 36.39 kB / 0.5725 GB, free: 42.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5958, allocations: 0 / 0.5725 GB, free: 42.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5958, allocations: 0 / 0.5725 GB, free: 42.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.5959, allocations: 0 / 0.5725 GB, free: 42.75 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.0004566/0.5963, allocations: 382.1 kB / 0.5729 GB, free: 42.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5964, allocations: 13.48 kB / 0.5729 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.5964, allocations: 9 kB / 0.5729 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5965, allocations: 183.1 kB / 0.5731 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.5965, allocations: 1.75 kB / 0.5731 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.5966, allocations: 13.64 kB / 0.5731 GB, free: 42.13 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.5967, allocations: 74.61 kB / 0.5732 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.5967, allocations: 4.188 kB / 0.5732 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5967, allocations: 7.938 kB / 0.5732 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5967, allocations: 1.25 kB / 0.5732 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.5968, allocations: 29.73 kB / 0.5732 GB, free: 42.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.5972, allocations: 321.4 kB / 0.5735 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5974, allocations: 122.3 kB / 0.5736 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.5975, allocations: 43.38 kB / 0.5737 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5975, allocations: 1.469 kB / 0.5737 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.5975, allocations: 34.67 kB / 0.5737 GB, free: 41.6 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.5975, allocations: 5.344 kB / 0.5737 GB, free: 41.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002597/0.5978, allocations: 142.1 kB / 0.5739 GB, free: 41.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.5978, allocations: 52.81 kB / 0.5739 GB, free: 41.45 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.5979, allocations: 102.4 kB / 0.574 GB, free: 41.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.5979, allocations: 26.67 kB / 0.574 GB, free: 41.31 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.5979, allocations: 93.09 kB / 0.5741 GB, free: 41.22 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5979, allocations: 50.02 kB / 0.5742 GB, free: 41.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.598, allocations: 39.14 kB / 0.5742 GB, free: 41.14 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.598, allocations: 318.2 kB / 0.5745 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.5981, allocations: 59.95 kB / 0.5746 GB, free: 40.8 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.5982, allocations: 86.25 kB / 0.5746 GB, free: 40.75 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5984, allocations: 138.1 kB / 0.5748 GB, free: 40.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5984, allocations: 0 / 0.5748 GB, free: 40.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002279/0.5986, allocations: 195.8 kB / 0.575 GB, free: 40.57 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5987, allocations: 5.438 kB / 0.575 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5987, allocations: 5.438 kB / 0.575 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5987, allocations: 0 / 0.575 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.5989, allocations: 54.88 kB / 0.575 GB, free: 40.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5989, allocations: 2.469 kB / 0.575 GB, free: 40.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.5989, allocations: 19.95 kB / 0.575 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.5989, allocations: 4.344 kB / 0.5751 GB, free: 40.54 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.639e-05/0.599, allocations: 126.1 kB / 0.5752 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.599, allocations: 8.062 kB / 0.5752 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.5991, allocations: 15.91 kB / 0.5752 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5991, allocations: 0.9375 kB / 0.5752 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5991, allocations: 5.266 kB / 0.5752 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5991, allocations: 4.125 kB / 0.5752 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.5993, allocations: 190.9 kB / 0.5754 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5993, allocations: 0 / 0.5754 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.5996, allocations: 57.33 kB / 0.5754 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5996, allocations: 1.219 kB / 0.5754 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.5996, allocations: 8.234 kB / 0.5755 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5996, allocations: 0 / 0.5755 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5996, allocations: 0 / 0.5755 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.5998, allocations: 257.9 kB / 0.5757 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.5999, allocations: 79.17 kB / 0.5758 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.5999, allocations: 7.156 kB / 0.5758 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.6, allocations: 14.05 kB / 0.5758 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.6, allocations: 2.875 kB / 0.5758 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6, allocations: 11.14 kB / 0.5758 GB, free: 39.84 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.034e-05/0.6, allocations: 78.56 kB / 0.5759 GB, free: 39.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6, allocations: 0 / 0.5759 GB, free: 39.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002302/0.6003, allocations: 22.62 kB / 0.5759 GB, free: 39.76 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 7.763e-05/0.6003, allocations: 104.3 kB / 0.576 GB, free: 39.66 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.6006, allocations: 123.8 kB / 0.5761 GB, free: 39.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6006, allocations: 1.094 kB / 0.5761 GB, free: 39.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.6006, allocations: 49.5 kB / 0.5762 GB, free: 39.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6008, allocations: 6.969 kB / 0.5762 GB, free: 39.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.6013, allocations: 325.9 kB / 0.5765 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.6014, allocations: 0.698 MB / 0.5772 GB, free: 38.63 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.419e-05/0.6015, allocations: 34.58 kB / 0.5772 GB, free: 38.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.6015, allocations: 12.34 kB / 0.5772 GB, free: 38.62 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.6016, allocations: 0 / 0.5772 GB, free: 38.62 MB / 462.3 MB Notification: Performance of Templates: time 0.002709/0.6043, allocations: 0.8029 MB / 0.578 GB, free: 38.22 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 gbode -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