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.001034/0.001035, allocations: 107.2 kB / 17.28 MB, free: 6.199 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.00102/0.00102, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.366/1.366, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.046/1.046, allocations: 119.3 MB / 411.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 59.91 kB / 0.4911 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5986/0.6, allocations: 80.7 MB / 0.5699 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002254/0.6023, allocations: 1.245 MB / 0.5711 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.6025, allocations: 21.34 kB / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.6026, allocations: 1.094 kB / 0.5711 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.879e-05/0.6026, allocations: 4 kB / 0.5711 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.6027, allocations: 9.047 kB / 0.5711 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.6028, allocations: 10.14 kB / 0.5711 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.603, allocations: 51.17 kB / 0.5712 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.603, allocations: 5.609 kB / 0.5712 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.6031, allocations: 23.42 kB / 0.5712 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.6031, allocations: 24.94 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.6031, allocations: 2.406 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.6032, allocations: 3.281 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.6032, allocations: 14.42 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.6033, allocations: 32 kB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.948e-05/0.6033, allocations: 21.38 kB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6033, allocations: 0 / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6033, allocations: 3.938 kB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.6034, allocations: 0 / 0.5713 GB, free: 42.34 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.0004867/0.6038, allocations: 374.3 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6039, allocations: 13.89 kB / 0.5717 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.6039, allocations: 8.469 kB / 0.5717 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.6041, allocations: 175.6 kB / 0.5719 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.6041, allocations: 9.844 kB / 0.5719 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.6041, allocations: 9.344 kB / 0.5719 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.6043, allocations: 81.94 kB / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.6043, allocations: 192 / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.6043, allocations: 8.938 kB / 0.572 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6043, allocations: 1.375 kB / 0.572 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.6044, allocations: 25.92 kB / 0.572 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.6049, allocations: 327.8 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.6051, allocations: 126.9 kB / 0.5724 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.6051, allocations: 39.44 kB / 0.5725 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.6051, allocations: 1.594 kB / 0.5725 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.6052, allocations: 30.56 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.6052, allocations: 1.406 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.00027/0.6054, allocations: 146.2 kB / 0.5726 GB, free: 41.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.6055, allocations: 52.78 kB / 0.5727 GB, free: 41.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.6055, allocations: 99.34 kB / 0.5728 GB, free: 40.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.6056, allocations: 29.7 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.6056, allocations: 85.42 kB / 0.5729 GB, free: 40.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.6056, allocations: 48.84 kB / 0.5729 GB, free: 40.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.6057, allocations: 35.84 kB / 0.573 GB, free: 40.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.6058, allocations: 321.7 kB / 0.5733 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.6059, allocations: 68.83 kB / 0.5733 GB, free: 40.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.606, allocations: 90.16 kB / 0.5734 GB, free: 40.35 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.6061, allocations: 137.1 kB / 0.5735 GB, free: 40.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6061, allocations: 0 / 0.5735 GB, free: 40.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002384/0.6064, allocations: 195.7 kB / 0.5737 GB, free: 40.17 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6064, allocations: 6.219 kB / 0.5737 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6064, allocations: 0 / 0.5737 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6064, allocations: 5.562 kB / 0.5737 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6066, allocations: 54.62 kB / 0.5738 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.6067, allocations: 5.656 kB / 0.5738 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.6067, allocations: 16.47 kB / 0.5738 GB, free: 40.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6067, allocations: 8.234 kB / 0.5738 GB, free: 40.14 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.277e-05/0.6068, allocations: 117.9 kB / 0.5739 GB, free: 40.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.6068, allocations: 8 kB / 0.5739 GB, free: 40.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.6069, allocations: 11.97 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6069, allocations: 5.062 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6069, allocations: 1.344 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6069, allocations: 7.922 kB / 0.574 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.6071, allocations: 190.2 kB / 0.5742 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6071, allocations: 1.562 kB / 0.5742 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.6074, allocations: 52.75 kB / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6074, allocations: 1.281 kB / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6074, allocations: 3.75 kB / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6074, allocations: 0 / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6074, allocations: 5.391 kB / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.6077, allocations: 259.9 kB / 0.5745 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.6077, allocations: 80.45 kB / 0.5745 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.6078, allocations: 2.688 kB / 0.5745 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.6078, allocations: 6.609 kB / 0.5745 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.6079, allocations: 7.031 kB / 0.5746 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.6079, allocations: 10.05 kB / 0.5746 GB, free: 39.45 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.6079, allocations: 78.47 kB / 0.5746 GB, free: 39.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6079, allocations: 4 kB / 0.5746 GB, free: 39.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002357/0.6082, allocations: 22.84 kB / 0.5747 GB, free: 39.37 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 8.987e-05/0.6083, allocations: 103.4 kB / 0.5748 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.6085, allocations: 135.4 kB / 0.5749 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6085, allocations: 3.938 kB / 0.5749 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.6086, allocations: 50.47 kB / 0.5749 GB, free: 39.19 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.6088, allocations: 1.344 kB / 0.5749 GB, free: 39.19 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.6093, allocations: 376.4 kB / 0.5753 GB, free: 38.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.6094, allocations: 0.6981 MB / 0.576 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.6095, allocations: 13.22 kB / 0.576 GB, free: 38.18 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.6095, allocations: 4 kB / 0.576 GB, free: 38.18 MB / 462.3 MB Notification: Performance of Templates: time 0.002601/0.6121, allocations: 1.189 MB / 0.5772 GB, free: 37.57 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