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.00105/0.00105, allocations: 91.7 kB / 16.65 MB, free: 6.598 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.001467/0.001467, allocations: 182.6 kB / 17.56 MB, free: 6.195 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.3/1.3, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.031/1.031, allocations: 120.5 MB / 413.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.000308, allocations: 8 kB / 0.4949 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.538, allocations: 82.84 MB / 0.5758 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001065/0.5391, allocations: 0.9079 MB / 0.5767 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000135/0.5393, allocations: 23.28 kB / 0.5767 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.5393, allocations: 0 / 0.5767 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.763e-05/0.5394, allocations: 3.938 kB / 0.5767 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.5394, allocations: 0 / 0.5767 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.5396, allocations: 9.922 kB / 0.5767 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.5397, allocations: 56.62 kB / 0.5768 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.5397, allocations: 1.781 kB / 0.5768 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.5398, allocations: 22.7 kB / 0.5768 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.5398, allocations: 24.25 kB / 0.5768 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.5399, allocations: 2.938 kB / 0.5768 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.5399, allocations: 2.688 kB / 0.5768 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.5399, allocations: 19.75 kB / 0.5768 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.54, allocations: 49.22 kB / 0.5769 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.15e-05/0.54, allocations: 31.09 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.54, allocations: 4 kB / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.54, allocations: 0 / 0.5769 GB, free: 41.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.5401, allocations: 0 / 0.5769 GB, free: 41.04 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.0004595/0.5405, allocations: 374.3 kB / 0.5773 GB, free: 40.65 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5406, allocations: 9.625 kB / 0.5773 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.5406, allocations: 7.625 kB / 0.5773 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5407, allocations: 183 kB / 0.5775 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5407, allocations: 3.062 kB / 0.5775 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.5408, allocations: 12.28 kB / 0.5775 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5409, allocations: 78.86 kB / 0.5776 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5409, allocations: 192 / 0.5776 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.541, allocations: 9.094 kB / 0.5776 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.541, allocations: 1.25 kB / 0.5776 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.541, allocations: 29.59 kB / 0.5776 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.5415, allocations: 316.9 kB / 0.5779 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.5417, allocations: 121.9 kB / 0.578 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.5418, allocations: 47.33 kB / 0.5781 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.5418, allocations: 0.9375 kB / 0.5781 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.5418, allocations: 32.94 kB / 0.5781 GB, free: 39.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 2.364e-06/0.5418, allocations: 0 / 0.5781 GB, free: 39.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.000266/0.5421, allocations: 141.3 kB / 0.5782 GB, free: 39.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.5421, allocations: 57.59 kB / 0.5783 GB, free: 39.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.5422, allocations: 98.53 kB / 0.5784 GB, free: 39.64 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.5422, allocations: 35 kB / 0.5784 GB, free: 39.61 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.5422, allocations: 85.61 kB / 0.5785 GB, free: 39.52 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.5423, allocations: 49.28 kB / 0.5785 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.5423, allocations: 18.88 kB / 0.5786 GB, free: 39.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.5424, allocations: 321.2 kB / 0.5789 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.5424, allocations: 70.14 kB / 0.5789 GB, free: 39.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.5425, allocations: 77.17 kB / 0.579 GB, free: 39.06 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.5427, allocations: 151.6 kB / 0.5792 GB, free: 38.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5427, allocations: 0 / 0.5792 GB, free: 38.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002398/0.543, allocations: 190 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.543, allocations: 6.469 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.543, allocations: 1.375 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.543, allocations: 1.375 kB / 0.5793 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.5432, allocations: 54.53 kB / 0.5794 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5432, allocations: 1.375 kB / 0.5794 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.5433, allocations: 15.97 kB / 0.5794 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5433, allocations: 12.09 kB / 0.5794 GB, free: 38.84 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.602e-05/0.5434, allocations: 123.3 kB / 0.5795 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.5434, allocations: 6.656 kB / 0.5795 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.5435, allocations: 13.34 kB / 0.5796 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5435, allocations: 1.375 kB / 0.5796 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5435, allocations: 0 / 0.5796 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5435, allocations: 192 / 0.5796 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5437, allocations: 203.7 kB / 0.5798 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5437, allocations: 4 kB / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5439, allocations: 61.2 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.544, allocations: 1.375 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.544, allocations: 4.125 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.544, allocations: 0 / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.544, allocations: 0 / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5442, allocations: 253.4 kB / 0.5801 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.5443, allocations: 78.48 kB / 0.5801 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.5443, allocations: 12.11 kB / 0.5801 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.5444, allocations: 6.75 kB / 0.5802 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5444, allocations: 6.828 kB / 0.5802 GB, free: 38.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.5444, allocations: 6.688 kB / 0.5802 GB, free: 38.15 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.537e-05/0.5445, allocations: 89.95 kB / 0.5803 GB, free: 38.06 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5445, allocations: 5.594 kB / 0.5803 GB, free: 38.06 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002281/0.5447, allocations: 21.88 kB / 0.5803 GB, free: 38.05 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.243e-05/0.5448, allocations: 98.31 kB / 0.5804 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.545, allocations: 135.4 kB / 0.5805 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.545, allocations: 0 / 0.5805 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.5451, allocations: 42.17 kB / 0.5805 GB, free: 37.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5453, allocations: 5.812 kB / 0.5805 GB, free: 37.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.5457, allocations: 370.9 kB / 0.5809 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.5459, allocations: 0.7029 MB / 0.5816 GB, free: 36.89 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.546, allocations: 37.59 kB / 0.5816 GB, free: 36.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.546, allocations: 12.06 kB / 0.5816 GB, free: 36.86 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.546, allocations: 0.9062 kB / 0.5816 GB, free: 36.86 MB / 462.3 MB Notification: Performance of Templates: time 0.002823/0.5488, allocations: 0.7501 MB / 0.5824 GB, free: 36.5 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