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.001126/0.001126, allocations: 105.8 kB / 16.51 MB, free: 6.719 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.001164/0.001164, allocations: 197.9 kB / 17.43 MB, free: 6.055 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7425/0.7425, allocations: 119.3 MB / 410.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 0.4903 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3465, allocations: 80.67 MB / 0.569 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.0015/0.348, allocations: 1.248 MB / 0.5703 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000104/0.3482, allocations: 21.78 kB / 0.5703 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.3482, allocations: 0 / 0.5703 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.495e-05/0.3483, allocations: 5.406 kB / 0.5703 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.3483, allocations: 3.984 kB / 0.5703 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.644e-05/0.3484, allocations: 1.5 kB / 0.5703 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.3485, allocations: 60.06 kB / 0.5704 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.3485, allocations: 5.516 kB / 0.5704 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.3485, allocations: 18.97 kB / 0.5704 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.3486, allocations: 21.25 kB / 0.5704 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3486, allocations: 2.344 kB / 0.5704 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3486, allocations: 6.844 kB / 0.5704 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.3486, allocations: 22.81 kB / 0.5704 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.3487, allocations: 20.58 kB / 0.5704 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 4.91e-05/0.3487, allocations: 26.22 kB / 0.5705 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3487, allocations: 1.031 kB / 0.5705 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.51e-07/0.3487, allocations: 0 / 0.5705 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.395e-06/0.3487, allocations: 0 / 0.5705 GB, free: 41.82 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.0003353/0.3491, allocations: 386.5 kB / 0.5708 GB, free: 41.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.3491, allocations: 9.031 kB / 0.5709 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3491, allocations: 8.953 kB / 0.5709 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.3492, allocations: 179.2 kB / 0.571 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.3492, allocations: 10.92 kB / 0.571 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3493, allocations: 4.125 kB / 0.571 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.3494, allocations: 78.95 kB / 0.5711 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-06/0.3494, allocations: 192 / 0.5711 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3494, allocations: 3.938 kB / 0.5711 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3494, allocations: 6.094 kB / 0.5711 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.3495, allocations: 29.05 kB / 0.5712 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3498, allocations: 328.7 kB / 0.5715 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.35, allocations: 126.2 kB / 0.5716 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.3501, allocations: 40.11 kB / 0.5716 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3501, allocations: 1.188 kB / 0.5716 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.3501, allocations: 43.84 kB / 0.5717 GB, free: 40.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3501, allocations: 112 / 0.5717 GB, free: 40.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002069/0.3503, allocations: 138 kB / 0.5718 GB, free: 40.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.378e-05/0.3503, allocations: 52.62 kB / 0.5719 GB, free: 40.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.935e-05/0.3504, allocations: 103.9 kB / 0.572 GB, free: 40.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.3504, allocations: 25.7 kB / 0.572 GB, free: 40.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.3504, allocations: 89.14 kB / 0.5721 GB, free: 40.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3504, allocations: 45.11 kB / 0.5721 GB, free: 40.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3505, allocations: 39.61 kB / 0.5721 GB, free: 40.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.3505, allocations: 321.1 kB / 0.5725 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.3506, allocations: 65.8 kB / 0.5725 GB, free: 39.87 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.3507, allocations: 78.3 kB / 0.5726 GB, free: 39.83 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3508, allocations: 148.3 kB / 0.5727 GB, free: 39.75 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3508, allocations: 0 / 0.5727 GB, free: 39.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001988/0.351, allocations: 197.3 kB / 0.5729 GB, free: 39.64 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.351, allocations: 5.375 kB / 0.5729 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.351, allocations: 1.469 kB / 0.5729 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.351, allocations: 1.031 kB / 0.5729 GB, free: 39.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3512, allocations: 50.33 kB / 0.573 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3512, allocations: 1.25 kB / 0.573 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3513, allocations: 20.36 kB / 0.573 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3513, allocations: 3.781 kB / 0.573 GB, free: 39.62 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 4.366e-05/0.3513, allocations: 118.7 kB / 0.5731 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3514, allocations: 15.14 kB / 0.5731 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.3514, allocations: 13.09 kB / 0.5731 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3514, allocations: 1.125 kB / 0.5731 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3514, allocations: 1.125 kB / 0.5731 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3514, allocations: 3.938 kB / 0.5731 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3516, allocations: 198.6 kB / 0.5733 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3516, allocations: 1.75 kB / 0.5733 GB, free: 39.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.3518, allocations: 53.19 kB / 0.5734 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3518, allocations: 0 / 0.5734 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3519, allocations: 11.89 kB / 0.5734 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3519, allocations: 5.219 kB / 0.5734 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3519, allocations: 0 / 0.5734 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.3521, allocations: 249.2 kB / 0.5736 GB, free: 39.04 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.3521, allocations: 79.27 kB / 0.5737 GB, free: 38.94 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3521, allocations: 11.39 kB / 0.5737 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.3522, allocations: 9.938 kB / 0.5737 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.3522, allocations: 7.641 kB / 0.5737 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3522, allocations: 10.88 kB / 0.5738 GB, free: 38.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.3522, allocations: 86.86 kB / 0.5738 GB, free: 38.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.3522, allocations: 0 / 0.5738 GB, free: 38.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002034/0.3524, allocations: 21.22 kB / 0.5739 GB, free: 38.83 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 4.792e-05/0.3525, allocations: 104.3 kB / 0.574 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3527, allocations: 123.1 kB / 0.5741 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.3527, allocations: 1.375 kB / 0.5741 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.3527, allocations: 45.73 kB / 0.5741 GB, free: 38.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.3529, allocations: 10.19 kB / 0.5741 GB, free: 38.66 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.3532, allocations: 338.4 kB / 0.5744 GB, free: 38.4 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.683e-05/0.3533, allocations: 0.7029 MB / 0.5751 GB, free: 37.69 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.936e-05/0.3534, allocations: 36.97 kB / 0.5752 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.3534, allocations: 12.97 kB / 0.5752 GB, free: 37.67 MB / 462.3 MB Notification: Performance of SimCode: time 6.31e-07/0.3534, allocations: 0 / 0.5752 GB, free: 37.67 MB / 462.3 MB Notification: Performance of Templates: time 0.1382/0.4916, allocations: 0.7794 MB / 0.5759 GB, free: 37.29 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