Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.34 kB / 16.3 MB, free: 5.586 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.001193/0.001193, allocations: 181.7 kB / 17.19 MB, free: 5.523 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.41/1.41, allocations: 223.2 MB / 241.1 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.078/1.078, allocations: 120.5 MB / 412.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 8 kB / 0.4955 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6422, allocations: 82.84 MB / 0.5764 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001407/0.6436, allocations: 1.115 MB / 0.5775 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.6439, allocations: 107.6 kB / 0.5776 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.644, allocations: 0 / 0.5776 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.6441, allocations: 17.28 kB / 0.5776 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.6442, allocations: 20.08 kB / 0.5776 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.6444, allocations: 29.45 kB / 0.5776 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.6448, allocations: 399 kB / 0.578 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.6449, allocations: 9.484 kB / 0.578 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.6451, allocations: 217.6 kB / 0.5782 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.6455, allocations: 257.8 kB / 0.5785 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.6456, allocations: 30.47 kB / 0.5785 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.6457, allocations: 32.41 kB / 0.5785 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.6459, allocations: 165.9 kB / 0.5787 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.646, allocations: 83.27 kB / 0.5788 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.6462, allocations: 217.1 kB / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6463, allocations: 0 / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6463, allocations: 0 / 0.579 GB, free: 40.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.6463, allocations: 0.9375 kB / 0.579 GB, free: 40.57 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002312/0.6486, allocations: 0.832 MB / 0.5798 GB, free: 39.98 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6487, allocations: 8.281 kB / 0.5798 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.6488, allocations: 38.95 kB / 0.5798 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.6492, allocations: 255 kB / 0.5801 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.6492, allocations: 26.75 kB / 0.5801 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.6493, allocations: 51.45 kB / 0.5801 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.6501, allocations: 440.5 kB / 0.5806 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6501, allocations: 1.25 kB / 0.5806 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.6502, allocations: 14.53 kB / 0.5806 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.6502, allocations: 6.312 kB / 0.5806 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.6508, allocations: 377.8 kB / 0.5809 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.6538, allocations: 2.169 MB / 0.5831 GB, free: 37.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.6547, allocations: 482.4 kB / 0.5835 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.6548, allocations: 4.875 kB / 0.5835 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6548, allocations: 38.38 kB / 0.5836 GB, free: 37.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.473e-06/0.6548, allocations: 0 / 0.5836 GB, free: 37.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.00156/0.6564, allocations: 0.8134 MB / 0.5844 GB, free: 36.72 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.6564, allocations: 56.62 kB / 0.5844 GB, free: 36.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.6565, allocations: 140.5 kB / 0.5845 GB, free: 36.54 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.6566, allocations: 36.23 kB / 0.5846 GB, free: 36.5 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.6566, allocations: 118.2 kB / 0.5847 GB, free: 36.38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.6568, allocations: 203.7 kB / 0.5849 GB, free: 36.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.6568, allocations: 14.78 kB / 0.5849 GB, free: 36.19 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.6569, allocations: 342.4 kB / 0.5852 GB, free: 35.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.6574, allocations: 281.3 kB / 0.5855 GB, free: 35.73 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.6579, allocations: 322.7 kB / 0.5858 GB, free: 35.58 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.6585, allocations: 316.7 kB / 0.5861 GB, free: 35.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6585, allocations: 0 / 0.5861 GB, free: 35.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00119/0.6597, allocations: 0.7235 MB / 0.5868 GB, free: 35.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6597, allocations: 4 kB / 0.5868 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6597, allocations: 8.031 kB / 0.5868 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.6597, allocations: 0 / 0.5868 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6608, allocations: 263.7 kB / 0.5871 GB, free: 34.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.6608, allocations: 4 kB / 0.5871 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.6612, allocations: 63.48 kB / 0.5871 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.6612, allocations: 19.94 kB / 0.5872 GB, free: 34.74 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 (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.6614, allocations: 169.6 kB / 0.5873 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.6615, allocations: 19.81 kB / 0.5873 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.6617, allocations: 78.27 kB / 0.5874 GB, free: 34.48 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.6617, allocations: 4 kB / 0.5874 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.6617, allocations: 7.953 kB / 0.5874 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6617, allocations: 0 / 0.5874 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.6622, allocations: 469.3 kB / 0.5879 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.6622, allocations: 0 / 0.5879 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.6634, allocations: 255.8 kB / 0.5881 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6634, allocations: 7.938 kB / 0.5881 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.6635, allocations: 27.97 kB / 0.5881 GB, free: 33.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6635, allocations: 4 kB / 0.5882 GB, free: 33.67 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6635, allocations: 3.953 kB / 0.5882 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.6648, allocations: 1.001 MB / 0.5891 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.6648, allocations: 104.7 kB / 0.5892 GB, free: 32.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.29e-05/0.6649, allocations: 23.98 kB / 0.5893 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.6653, allocations: 23.97 kB / 0.5893 GB, free: 32.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6654, allocations: 28.41 kB / 0.5893 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.6654, allocations: 19.94 kB / 0.5893 GB, free: 32.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.6655, allocations: 95.27 kB / 0.5894 GB, free: 32.33 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6655, allocations: 0 / 0.5894 GB, free: 32.33 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004069/0.6659, allocations: 155.8 kB / 0.5896 GB, free: 32.18 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.666, allocations: 127.6 kB / 0.5897 GB, free: 32.04 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008678/0.6669, allocations: 0.627 MB / 0.5903 GB, free: 31.42 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6669, allocations: 0 / 0.5903 GB, free: 31.42 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.6673, allocations: 318.3 kB / 0.5906 GB, free: 31.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.6677, allocations: 59.97 kB / 0.5907 GB, free: 31.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6705, allocations: 2.731 MB / 0.5933 GB, free: 28.29 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.6707, allocations: 0.8075 MB / 0.5941 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.6712, allocations: 178.8 kB / 0.5943 GB, free: 27.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.6713, allocations: 31.44 kB / 0.5943 GB, free: 27.24 MB / 462.3 MB Notification: Performance of SimCode: time 6.21e-07/0.6713, allocations: 0 / 0.5943 GB, free: 27.24 MB / 462.3 MB Notification: Performance of Templates: time 0.007351/0.6787, allocations: 4.92 MB / 0.5991 GB, free: 22.4 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches