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.001304/0.001304, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001275/0.001275, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.407/1.407, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.364/1.364, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001856, allocations: 67.89 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6364, allocations: 80.68 MB / 0.5711 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002345/0.6388, allocations: 1.179 MB / 0.5723 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.639, allocations: 30.2 kB / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.6391, allocations: 0 / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.867e-05/0.6392, allocations: 0 / 0.5723 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.6392, allocations: 5.281 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.6394, allocations: 5.234 kB / 0.5723 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.6395, allocations: 60.16 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.6396, allocations: 1.156 kB / 0.5724 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.6396, allocations: 23.58 kB / 0.5724 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.6397, allocations: 24.94 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.6397, allocations: 2.406 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.6398, allocations: 2.688 kB / 0.5724 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.6398, allocations: 19.94 kB / 0.5725 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.6399, allocations: 23.48 kB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.061e-05/0.64, allocations: 36.55 kB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.64, allocations: 0 / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.394e-06/0.64, allocations: 0 / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.64, allocations: 0 / 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.0005154/0.6405, allocations: 377 kB / 0.5729 GB, free: 42.03 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.6406, allocations: 12.58 kB / 0.5729 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.6406, allocations: 4.938 kB / 0.5729 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.6408, allocations: 184.3 kB / 0.5731 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.6408, allocations: 7.375 kB / 0.5731 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6408, allocations: 4.062 kB / 0.5731 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.641, allocations: 90.81 kB / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.641, allocations: 192 / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.641, allocations: 3.938 kB / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.641, allocations: 2.406 kB / 0.5732 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.6411, allocations: 28.89 kB / 0.5732 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.6416, allocations: 320.4 kB / 0.5735 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.6418, allocations: 127.1 kB / 0.5736 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.6419, allocations: 39.28 kB / 0.5737 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.6419, allocations: 1.25 kB / 0.5737 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.6419, allocations: 36.16 kB / 0.5737 GB, free: 41.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.6419, allocations: 0 / 0.5737 GB, free: 41.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003109/0.6423, allocations: 141.7 kB / 0.5738 GB, free: 41.19 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.6423, allocations: 53.69 kB / 0.5739 GB, free: 41.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.6424, allocations: 94.7 kB / 0.574 GB, free: 41.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.6424, allocations: 30.92 kB / 0.574 GB, free: 41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.6424, allocations: 92.14 kB / 0.5741 GB, free: 40.9 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.6425, allocations: 53.77 kB / 0.5742 GB, free: 40.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.6425, allocations: 35.12 kB / 0.5742 GB, free: 40.83 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.6426, allocations: 317.7 kB / 0.5745 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.6427, allocations: 69.05 kB / 0.5746 GB, free: 40.48 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6428, allocations: 87.56 kB / 0.5746 GB, free: 40.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.643, allocations: 141.5 kB / 0.5748 GB, free: 40.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.643, allocations: 384 / 0.5748 GB, free: 40.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002431/0.6433, allocations: 192.4 kB / 0.575 GB, free: 40.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6433, allocations: 6.438 kB / 0.575 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6433, allocations: 0 / 0.575 GB, free: 40.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6433, allocations: 9.453 kB / 0.575 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6435, allocations: 54.28 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6435, allocations: 1.969 kB / 0.575 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.6436, allocations: 20.58 kB / 0.575 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6436, allocations: 16.11 kB / 0.5751 GB, free: 40.2 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.36e-05/0.6437, allocations: 115.6 kB / 0.5752 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.6437, allocations: 10.41 kB / 0.5752 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.6437, allocations: 7.969 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6437, allocations: 1.25 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6437, allocations: 1.5 kB / 0.5752 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6438, allocations: 7.922 kB / 0.5752 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.644, allocations: 194.4 kB / 0.5754 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.644, allocations: 0 / 0.5754 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.6443, allocations: 57.66 kB / 0.5754 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6443, allocations: 1.281 kB / 0.5754 GB, free: 39.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6443, allocations: 7.141 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6443, allocations: 1 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6443, allocations: 0 / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.6446, allocations: 256.9 kB / 0.5757 GB, free: 39.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.6446, allocations: 79.55 kB / 0.5758 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.6446, allocations: 3.562 kB / 0.5758 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.6447, allocations: 10.39 kB / 0.5758 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.6447, allocations: 3.562 kB / 0.5758 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.6447, allocations: 14.42 kB / 0.5758 GB, free: 39.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.359e-05/0.6448, allocations: 78.97 kB / 0.5759 GB, free: 39.44 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.006e-06/0.6448, allocations: 0 / 0.5759 GB, free: 39.44 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002396/0.645, allocations: 25.84 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 8.973e-05/0.6451, allocations: 107.6 kB / 0.576 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.6454, allocations: 124.6 kB / 0.5761 GB, free: 39.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6454, allocations: 1.594 kB / 0.5761 GB, free: 39.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.6454, allocations: 49 kB / 0.5762 GB, free: 39.26 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.6457, allocations: 6.375 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.0005039/0.6462, allocations: 329.2 kB / 0.5765 GB, free: 39.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.6464, allocations: 0.695 MB / 0.5772 GB, free: 38.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.6465, allocations: 33.7 kB / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.6465, allocations: 13.62 kB / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of SimCode: time 2.01e-07/0.6466, allocations: 0 / 0.5772 GB, free: 38.29 MB / 462.3 MB Notification: Performance of Templates: time 0.002699/0.6493, allocations: 0.796 MB / 0.578 GB, free: 37.88 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches