Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.20.|TA.2.|TA.3.|TB.1.|TB.20.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.20..|der.TA.2..|der.TA.3..|der.TB.20..|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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 100.8 kB / 16.5 MB, free: 6.695 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.001188/0.001189, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.238/1.238, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8368/0.8368, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 0.4916 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4269, allocations: 80.68 MB / 0.5704 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.00224/0.4291, allocations: 1.534 MB / 0.5719 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.4295, allocations: 95.09 kB / 0.572 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.4295, allocations: 0 / 0.572 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.4297, allocations: 9.203 kB / 0.572 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.4298, allocations: 62.77 kB / 0.572 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.43, allocations: 21.53 kB / 0.5721 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.4309, allocations: 1.22 MB / 0.5732 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.139e-05/0.4309, allocations: 7.375 kB / 0.5733 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.4313, allocations: 387.7 kB / 0.5736 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.432, allocations: 0.574 MB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.4321, allocations: 60.94 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.4323, allocations: 61.5 kB / 0.5743 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.4326, allocations: 374.1 kB / 0.5747 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.4329, allocations: 386.1 kB / 0.575 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.4334, allocations: 0.6508 MB / 0.5757 GB, free: 40.53 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4334, allocations: 0 / 0.5757 GB, free: 40.53 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4334, allocations: 0 / 0.5757 GB, free: 40.53 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.4334, allocations: 0 / 0.5757 GB, free: 40.53 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004335/0.4378, allocations: 1.436 MB / 0.5771 GB, free: 39.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4378, allocations: 9.219 kB / 0.5771 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.438, allocations: 61.28 kB / 0.5771 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.4385, allocations: 359 kB / 0.5775 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.4386, allocations: 55.19 kB / 0.5775 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.4388, allocations: 102.2 kB / 0.5776 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.4401, allocations: 0.8783 MB / 0.5785 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4402, allocations: 192 / 0.5785 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.4402, allocations: 29.06 kB / 0.5785 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4403, allocations: 12.88 kB / 0.5785 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4414, allocations: 0.776 MB / 0.5793 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.4467, allocations: 4.302 MB / 0.5835 GB, free: 34.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4482, allocations: 0.9909 MB / 0.5844 GB, free: 34.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008951/0.4491, allocations: 0.6706 MB / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.814e-05/0.4493, allocations: 10.94 kB / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4493, allocations: 50.73 kB / 0.5852 GB, free: 33.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.4493, allocations: 1.156 kB / 0.5852 GB, free: 33.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.00244/0.4517, allocations: 1.654 MB / 0.5868 GB, free: 32.3 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4518, allocations: 72.34 kB / 0.5868 GB, free: 32.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.4519, allocations: 145.8 kB / 0.587 GB, free: 32.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.452, allocations: 49.7 kB / 0.587 GB, free: 32.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.452, allocations: 153.8 kB / 0.5872 GB, free: 31.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.4522, allocations: 410.1 kB / 0.5876 GB, free: 31.45 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.4525, allocations: 234.9 kB / 0.5878 GB, free: 31.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.4526, allocations: 362.8 kB / 0.5881 GB, free: 30.85 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007449/0.4533, allocations: 0.5725 MB / 0.5887 GB, free: 30.27 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007885/0.4541, allocations: 0.6677 MB / 0.5893 GB, free: 29.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.4557, allocations: 1.266 MB / 0.5906 GB, free: 28.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4557, allocations: 0 / 0.5906 GB, free: 28.33 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001906/0.4576, allocations: 1.476 MB / 0.592 GB, free: 26.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4576, allocations: 7.969 kB / 0.592 GB, free: 26.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4576, allocations: 4 kB / 0.592 GB, free: 26.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4577, allocations: 11.94 kB / 0.592 GB, free: 26.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.4598, allocations: 0.5229 MB / 0.5926 GB, free: 26.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4598, allocations: 8 kB / 0.5926 GB, free: 26.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.4606, allocations: 119 kB / 0.5927 GB, free: 26.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.4607, allocations: 40 kB / 0.5927 GB, free: 26.14 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 (157): * Single equations (assignments): 157 * 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.0002604/0.461, allocations: 221.5 kB / 0.5929 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.4611, allocations: 51.44 kB / 0.593 GB, free: 25.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4614, allocations: 148 kB / 0.5931 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4615, allocations: 8 kB / 0.5931 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4615, allocations: 4 kB / 0.5931 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4615, allocations: 3.984 kB / 0.5931 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.4623, allocations: 0.7902 MB / 0.5939 GB, free: 24.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4623, allocations: 0 / 0.5939 GB, free: 24.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/0.4649, allocations: 0.5308 MB / 0.5944 GB, free: 24.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.4649, allocations: 7.938 kB / 0.5944 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.465, allocations: 47.83 kB / 0.5945 GB, free: 24.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4651, allocations: 4 kB / 0.5945 GB, free: 24.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4651, allocations: 0 / 0.5945 GB, free: 24.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.4675, allocations: 1.968 MB / 0.5964 GB, free: 22.29 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.4676, allocations: 128.4 kB / 0.5965 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.4677, allocations: 35.97 kB / 0.5966 GB, free: 22.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.4685, allocations: 67.69 kB / 0.5966 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.4687, allocations: 60.92 kB / 0.5967 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.4688, allocations: 23.98 kB / 0.5967 GB, free: 21.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.4688, allocations: 101 kB / 0.5968 GB, free: 21.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4688, allocations: 0 / 0.5968 GB, free: 21.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005801/0.4694, allocations: 311.8 kB / 0.5971 GB, free: 21.55 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * 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 (99): * Single equations (assignments): 99 * 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.0001651/0.4696, allocations: 157.7 kB / 0.5973 GB, free: 21.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4712, allocations: 1.334 MB / 0.5986 GB, free: 20.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4712, allocations: 0 / 0.5986 GB, free: 20.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.472, allocations: 0.6576 MB / 0.5992 GB, free: 19.4 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.4726, allocations: 139.8 kB / 0.5993 GB, free: 19.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.4775, allocations: 4.83 MB / 0.604 GB, free: 14.4 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4778, allocations: 0.9155 MB / 0.6049 GB, free: 13.46 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001039/0.4789, allocations: 396.5 kB / 0.6053 GB, free: 13.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.4792, allocations: 51.38 kB / 0.6054 GB, free: 13.02 MB / 462.3 MB Notification: Performance of SimCode: time 5.21e-07/0.4792, allocations: 7.938 kB / 0.6054 GB, free: 13.01 MB / 462.3 MB Notification: Performance of Templates: time 0.01258/0.4918, allocations: 10.44 MB / 0.6156 GB, free: 2.688 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches