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.001665/0.001665, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00168/0.00168, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.431/1.431, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.426/1.426, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.863, allocations: 80.69 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.003364/0.8664, allocations: 1.176 MB / 0.5709 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.8667, allocations: 20.69 kB / 0.5709 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.8667, allocations: 1.406 kB / 0.5709 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.8668, allocations: 0 / 0.5709 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.8669, allocations: 7.984 kB / 0.5709 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.8671, allocations: 5.875 kB / 0.5709 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.8673, allocations: 55.75 kB / 0.571 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.8674, allocations: 6.703 kB / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.8674, allocations: 15.22 kB / 0.571 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.8675, allocations: 28 kB / 0.571 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.8676, allocations: 3.625 kB / 0.571 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.8676, allocations: 2.438 kB / 0.571 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.8676, allocations: 18.75 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.8677, allocations: 24.77 kB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.8678, allocations: 30.23 kB / 0.5711 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.8678, allocations: 5.312 kB / 0.5711 GB, free: 42.26 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8678, allocations: 0 / 0.5711 GB, free: 42.26 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.8679, allocations: 0 / 0.5711 GB, free: 42.26 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.0006912/0.8686, allocations: 378.3 kB / 0.5715 GB, free: 41.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.8686, allocations: 17.66 kB / 0.5715 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.8687, allocations: 7.688 kB / 0.5715 GB, free: 41.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.8689, allocations: 183.2 kB / 0.5717 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.8689, allocations: 7.344 kB / 0.5717 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.8689, allocations: 8.188 kB / 0.5717 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.8691, allocations: 82.45 kB / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8691, allocations: 192 / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8692, allocations: 5.062 kB / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8692, allocations: 1.281 kB / 0.5718 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.8693, allocations: 33.75 kB / 0.5718 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.8698, allocations: 321.1 kB / 0.5721 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.8701, allocations: 125.5 kB / 0.5722 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.8701, allocations: 40.08 kB / 0.5723 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.8702, allocations: 0 / 0.5723 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.8702, allocations: 35.94 kB / 0.5723 GB, free: 41.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.8702, allocations: 0 / 0.5723 GB, free: 41.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003337/0.8705, allocations: 135.6 kB / 0.5724 GB, free: 41.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.8706, allocations: 56.59 kB / 0.5725 GB, free: 40.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.8707, allocations: 106.8 kB / 0.5726 GB, free: 40.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.8707, allocations: 26.67 kB / 0.5726 GB, free: 40.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.8708, allocations: 88.86 kB / 0.5727 GB, free: 40.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.8708, allocations: 45.75 kB / 0.5727 GB, free: 40.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.8709, allocations: 38.3 kB / 0.5728 GB, free: 40.67 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.871, allocations: 322 kB / 0.5731 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.8711, allocations: 66.02 kB / 0.5731 GB, free: 40.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.8712, allocations: 86.64 kB / 0.5732 GB, free: 40.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.8714, allocations: 144.2 kB / 0.5734 GB, free: 40.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8714, allocations: 0 / 0.5734 GB, free: 40.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002962/0.8717, allocations: 194.4 kB / 0.5735 GB, free: 40.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8717, allocations: 4.719 kB / 0.5736 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8718, allocations: 0 / 0.5736 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8718, allocations: 1.469 kB / 0.5736 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.872, allocations: 51.67 kB / 0.5736 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.872, allocations: 8.984 kB / 0.5736 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.426e-05/0.8721, allocations: 20.78 kB / 0.5736 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.8721, allocations: 3.062 kB / 0.5736 GB, free: 40.05 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 9.028e-05/0.8722, allocations: 118.9 kB / 0.5737 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.8723, allocations: 7.406 kB / 0.5738 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.8723, allocations: 13.31 kB / 0.5738 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8723, allocations: 1.375 kB / 0.5738 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8723, allocations: 4 kB / 0.5738 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8723, allocations: 3.938 kB / 0.5738 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.8726, allocations: 195.1 kB / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8726, allocations: 0 / 0.574 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.8729, allocations: 58.5 kB / 0.574 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8729, allocations: 0 / 0.574 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.8729, allocations: 8.297 kB / 0.574 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8729, allocations: 0 / 0.574 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8729, allocations: 1.469 kB / 0.574 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.8733, allocations: 260.2 kB / 0.5743 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.8733, allocations: 79.73 kB / 0.5744 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.8734, allocations: 10.98 kB / 0.5744 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.8734, allocations: 2.656 kB / 0.5744 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.8735, allocations: 6.828 kB / 0.5744 GB, free: 39.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.8735, allocations: 6.875 kB / 0.5744 GB, free: 39.36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.532e-05/0.8735, allocations: 82.09 kB / 0.5745 GB, free: 39.29 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.8735, allocations: 0 / 0.5745 GB, free: 39.29 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002485/0.8738, allocations: 22.22 kB / 0.5745 GB, free: 39.28 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 0.000128/0.8739, allocations: 112.3 kB / 0.5746 GB, free: 39.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.8742, allocations: 134.1 kB / 0.5747 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8743, allocations: 1.375 kB / 0.5747 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.8743, allocations: 41.95 kB / 0.5748 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.8746, allocations: 6.344 kB / 0.5748 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.8753, allocations: 337.1 kB / 0.5751 GB, free: 38.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.8755, allocations: 0.6989 MB / 0.5758 GB, free: 38.14 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.8756, allocations: 37.64 kB / 0.5758 GB, free: 38.12 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.8757, allocations: 12.78 kB / 0.5758 GB, free: 38.12 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.8757, allocations: 0 / 0.5758 GB, free: 38.12 MB / 462.3 MB Notification: Performance of Templates: time 0.003748/0.8795, allocations: 0.7933 MB / 0.5766 GB, free: 37.73 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches