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.001514/0.001514, allocations: 111.4 kB / 17.69 MB, free: 5.387 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.001744/0.001744, allocations: 184.1 kB / 18.63 MB, free: 4.461 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8442/0.8442, allocations: 119.3 MB / 411.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.89 kB / 0.4937 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4255, allocations: 80.69 MB / 0.5725 GB, free: 43.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002278/0.4278, allocations: 1.447 MB / 0.5739 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.4281, allocations: 90.41 kB / 0.574 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.4281, allocations: 3.938 kB / 0.574 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.901e-05/0.4282, allocations: 17.05 kB / 0.574 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.4283, allocations: 63.48 kB / 0.5741 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.4285, allocations: 34.39 kB / 0.5741 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.429, allocations: 0.6323 MB / 0.5748 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.4291, allocations: 5.531 kB / 0.5748 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.4293, allocations: 246.3 kB / 0.575 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.4296, allocations: 292.5 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.4297, allocations: 29.28 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.4298, allocations: 33.66 kB / 0.5753 GB, free: 42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.4299, allocations: 183 kB / 0.5755 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.4301, allocations: 193.5 kB / 0.5757 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4304, allocations: 333.7 kB / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4304, allocations: 0 / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4304, allocations: 0 / 0.576 GB, free: 41.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4304, allocations: 0 / 0.576 GB, free: 41.59 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.002002/0.4324, allocations: 0.8536 MB / 0.5769 GB, free: 40.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4325, allocations: 12.61 kB / 0.5769 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.4326, allocations: 31.81 kB / 0.5769 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.4329, allocations: 258.7 kB / 0.5771 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.433, allocations: 27.31 kB / 0.5772 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.4331, allocations: 56.8 kB / 0.5772 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.4337, allocations: 441.9 kB / 0.5776 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4337, allocations: 192 / 0.5776 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.4338, allocations: 18.72 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.4338, allocations: 6.438 kB / 0.5777 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.4344, allocations: 370.4 kB / 0.578 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.437, allocations: 2.162 MB / 0.5801 GB, free: 38.35 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.4378, allocations: 480.1 kB / 0.5806 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.4382, allocations: 319.4 kB / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.4383, allocations: 5.5 kB / 0.5809 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.4383, allocations: 40.22 kB / 0.5809 GB, free: 37.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.474e-06/0.4383, allocations: 1.25 kB / 0.5809 GB, free: 37.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001336/0.4396, allocations: 0.8063 MB / 0.5817 GB, free: 37.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.4397, allocations: 59.72 kB / 0.5818 GB, free: 37.48 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.4398, allocations: 131 kB / 0.5819 GB, free: 37.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.4398, allocations: 36.23 kB / 0.5819 GB, free: 37.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4399, allocations: 122 kB / 0.5821 GB, free: 37.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.44, allocations: 199.7 kB / 0.5822 GB, free: 37.03 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4402, allocations: 119.9 kB / 0.5824 GB, free: 36.96 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.4402, allocations: 338.4 kB / 0.5827 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.4406, allocations: 285 kB / 0.583 GB, free: 36.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.4411, allocations: 334.5 kB / 0.5833 GB, free: 36.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.442, allocations: 0.6128 MB / 0.5839 GB, free: 36.04 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.442, allocations: 0 / 0.5839 GB, free: 36.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001046/0.4431, allocations: 0.7278 MB / 0.5846 GB, free: 35.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4431, allocations: 5.594 kB / 0.5846 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4431, allocations: 4.031 kB / 0.5846 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4431, allocations: 7.172 kB / 0.5846 GB, free: 35.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.4442, allocations: 258 kB / 0.5848 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4443, allocations: 2.75 kB / 0.5848 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.4446, allocations: 51.33 kB / 0.5849 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.4447, allocations: 16.5 kB / 0.5849 GB, free: 35.61 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.0001506/0.4448, allocations: 167.5 kB / 0.5851 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.4449, allocations: 23.19 kB / 0.5851 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.4451, allocations: 76.59 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4451, allocations: 5.469 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4451, allocations: 0 / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4451, allocations: 3.984 kB / 0.5852 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.4456, allocations: 474.7 kB / 0.5856 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4456, allocations: 0 / 0.5856 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.4469, allocations: 261.1 kB / 0.5859 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4469, allocations: 2.125 kB / 0.5859 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.447, allocations: 17.17 kB / 0.5859 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.447, allocations: 10.52 kB / 0.5859 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.447, allocations: 0 / 0.5859 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.4483, allocations: 1.015 MB / 0.5869 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.4483, allocations: 108.6 kB / 0.587 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.4484, allocations: 23.92 kB / 0.587 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.4488, allocations: 19.97 kB / 0.587 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4489, allocations: 32.39 kB / 0.5871 GB, free: 33.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.4489, allocations: 16 kB / 0.5871 GB, free: 33.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.449, allocations: 96.39 kB / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.449, allocations: 0 / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000381/0.4494, allocations: 155.8 kB / 0.5873 GB, free: 33.65 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.0001115/0.4495, allocations: 127.6 kB / 0.5875 GB, free: 33.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008214/0.4503, allocations: 0.6387 MB / 0.5881 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4503, allocations: 0 / 0.5881 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.4507, allocations: 322.3 kB / 0.5884 GB, free: 32.56 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4511, allocations: 72.52 kB / 0.5885 GB, free: 32.49 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.4535, allocations: 2.265 MB / 0.5907 GB, free: 30.2 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4537, allocations: 0.7995 MB / 0.5914 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.4541, allocations: 178.8 kB / 0.5916 GB, free: 29.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.4543, allocations: 27.44 kB / 0.5916 GB, free: 29.17 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.4543, allocations: 4 kB / 0.5916 GB, free: 29.17 MB / 462.3 MB Notification: Performance of Templates: time 0.007181/0.4615, allocations: 5.406 MB / 0.5969 GB, free: 23.85 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches