Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001243, allocations: 116.4 kB / 17.69 MB, free: 5.312 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.001051/0.001051, allocations: 191 kB / 18.63 MB, free: 4.379 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.392/1.392, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.127/1.127, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 63.91 kB / 0.4937 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6375, allocations: 80.69 MB / 0.5725 GB, free: 43.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002405/0.64, allocations: 1.449 MB / 0.5739 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.6403, allocations: 98.22 kB / 0.574 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.6403, allocations: 0.9375 kB / 0.574 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.6404, allocations: 8.828 kB / 0.574 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.6406, allocations: 64.61 kB / 0.5741 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.6408, allocations: 37.23 kB / 0.5741 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.6413, allocations: 0.571 MB / 0.5747 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.6414, allocations: 6 kB / 0.5747 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.6416, allocations: 207 kB / 0.5749 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.642, allocations: 282.6 kB / 0.5752 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.6421, allocations: 29.19 kB / 0.5752 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.6422, allocations: 33.69 kB / 0.5752 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.6424, allocations: 182.9 kB / 0.5754 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.6426, allocations: 197 kB / 0.5756 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.643, allocations: 333.5 kB / 0.5759 GB, free: 41.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.643, allocations: 1.25 kB / 0.5759 GB, free: 41.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.444e-06/0.643, allocations: 0 / 0.5759 GB, free: 41.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.643, allocations: 0 / 0.5759 GB, free: 41.65 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.002233/0.6452, allocations: 0.8487 MB / 0.5767 GB, free: 41.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6453, allocations: 17.19 kB / 0.5768 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.6454, allocations: 32.44 kB / 0.5768 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.6457, allocations: 257.9 kB / 0.577 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.6458, allocations: 27.25 kB / 0.5771 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6459, allocations: 48.19 kB / 0.5771 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.6466, allocations: 450.7 kB / 0.5775 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6466, allocations: 4.125 kB / 0.5775 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.6466, allocations: 14.69 kB / 0.5776 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.6466, allocations: 6.875 kB / 0.5776 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006007/0.6472, allocations: 378.5 kB / 0.5779 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.6502, allocations: 2.154 MB / 0.58 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.651, allocations: 493.2 kB / 0.5805 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.6514, allocations: 323.9 kB / 0.5808 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.6515, allocations: 5.5 kB / 0.5808 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.6515, allocations: 41.44 kB / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.724e-06/0.6515, allocations: 0 / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001474/0.653, allocations: 0.8072 MB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.6531, allocations: 60.88 kB / 0.5817 GB, free: 37.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.6532, allocations: 136 kB / 0.5818 GB, free: 37.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.6532, allocations: 36.2 kB / 0.5819 GB, free: 37.37 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.6533, allocations: 118 kB / 0.582 GB, free: 37.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6534, allocations: 203.8 kB / 0.5822 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.6536, allocations: 119.4 kB / 0.5823 GB, free: 37 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.6537, allocations: 339.6 kB / 0.5826 GB, free: 36.67 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.6542, allocations: 283.1 kB / 0.5829 GB, free: 36.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.6548, allocations: 335.7 kB / 0.5832 GB, free: 36.38 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.6558, allocations: 0.6105 MB / 0.5838 GB, free: 36.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6558, allocations: 0 / 0.5838 GB, free: 36.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001208/0.6571, allocations: 0.7358 MB / 0.5845 GB, free: 35.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6571, allocations: 5.125 kB / 0.5845 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.6571, allocations: 1.094 kB / 0.5845 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.6571, allocations: 7.094 kB / 0.5845 GB, free: 35.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6582, allocations: 257.4 kB / 0.5848 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6582, allocations: 3.344 kB / 0.5848 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.6586, allocations: 54.56 kB / 0.5848 GB, free: 35.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.6586, allocations: 17.03 kB / 0.5848 GB, free: 35.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.6588, allocations: 167.6 kB / 0.585 GB, free: 35.5 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.6589, allocations: 23.12 kB / 0.585 GB, free: 35.49 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.659, allocations: 80.98 kB / 0.5851 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.659, allocations: 4.031 kB / 0.5851 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.659, allocations: 1.344 kB / 0.5851 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6591, allocations: 0 / 0.5851 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.6596, allocations: 477.9 kB / 0.5856 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6596, allocations: 5.422 kB / 0.5856 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.6609, allocations: 255.5 kB / 0.5858 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6609, allocations: 2.531 kB / 0.5858 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.661, allocations: 18.08 kB / 0.5858 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.661, allocations: 5.234 kB / 0.5858 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.661, allocations: 4 kB / 0.5858 GB, free: 34.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6623, allocations: 1.012 MB / 0.5868 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.6624, allocations: 112.6 kB / 0.5869 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.6625, allocations: 19.92 kB / 0.587 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.6628, allocations: 23.97 kB / 0.587 GB, free: 34.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.6629, allocations: 28.41 kB / 0.587 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.663, allocations: 23.98 kB / 0.587 GB, free: 33.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.663, allocations: 98.78 kB / 0.5871 GB, free: 33.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.663, allocations: 0 / 0.5871 GB, free: 33.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003839/0.6634, allocations: 155.8 kB / 0.5873 GB, free: 33.71 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 (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.0001305/0.6635, allocations: 123.7 kB / 0.5874 GB, free: 33.58 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008477/0.6644, allocations: 0.6387 MB / 0.588 GB, free: 32.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6644, allocations: 4 kB / 0.588 GB, free: 32.94 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.6648, allocations: 322.3 kB / 0.5883 GB, free: 32.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.6652, allocations: 63.91 kB / 0.5884 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.6677, allocations: 2.25 MB / 0.5906 GB, free: 30.29 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.6679, allocations: 0.7878 MB / 0.5913 GB, free: 29.48 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.6683, allocations: 182.8 kB / 0.5915 GB, free: 29.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.6684, allocations: 31.44 kB / 0.5916 GB, free: 29.27 MB / 462.3 MB Notification: Performance of SimCode: time 4.2e-07/0.6684, allocations: 0 / 0.5916 GB, free: 29.27 MB / 462.3 MB Notification: Performance of Templates: time 0.007905/0.6764, allocations: 5.407 MB / 0.5968 GB, free: 23.94 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches