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.001177/0.001177, allocations: 106.8 kB / 16.92 MB, free: 5.77 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.001218/0.001218, allocations: 187.3 kB / 17.85 MB, free: 5.172 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.169/1.169, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7413/0.7413, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 71.89 kB / 0.4923 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3956, allocations: 80.67 MB / 0.5711 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001956/0.3976, allocations: 1.485 MB / 0.5725 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.3978, allocations: 86.33 kB / 0.5726 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.3979, allocations: 0 / 0.5726 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.619e-05/0.398, allocations: 9.297 kB / 0.5726 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.3981, allocations: 66.92 kB / 0.5727 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.3982, allocations: 38.38 kB / 0.5727 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.3989, allocations: 1.089 MB / 0.5738 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.3989, allocations: 8.844 kB / 0.5738 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3992, allocations: 392.4 kB / 0.5742 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.3997, allocations: 0.5262 MB / 0.5747 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3998, allocations: 61.34 kB / 0.5747 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.4, allocations: 60.78 kB / 0.5748 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.4002, allocations: 374.2 kB / 0.5752 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.4005, allocations: 394.7 kB / 0.5755 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.4009, allocations: 0.6501 MB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4009, allocations: 1.562 kB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4009, allocations: 3.938 kB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.401, allocations: 0 / 0.5762 GB, free: 40.48 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.003771/0.4047, allocations: 1.426 MB / 0.5776 GB, free: 39.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.4048, allocations: 17.02 kB / 0.5776 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.4049, allocations: 60.88 kB / 0.5776 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.4053, allocations: 352.1 kB / 0.578 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.4054, allocations: 54.28 kB / 0.578 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4055, allocations: 102.3 kB / 0.5781 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4067, allocations: 0.8778 MB / 0.579 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4067, allocations: 192 / 0.579 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.4068, allocations: 29 kB / 0.579 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4068, allocations: 13.91 kB / 0.579 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4079, allocations: 0.7716 MB / 0.5798 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.4126, allocations: 4.313 MB / 0.584 GB, free: 34.64 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4138, allocations: 0.9901 MB / 0.585 GB, free: 34.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.4146, allocations: 0.6755 MB / 0.5856 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.4147, allocations: 13.86 kB / 0.5856 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.4148, allocations: 44.53 kB / 0.5857 GB, free: 33.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 1.864e-06/0.4148, allocations: 0 / 0.5857 GB, free: 33.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002189/0.417, allocations: 1.662 MB / 0.5873 GB, free: 32.26 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.417, allocations: 68.41 kB / 0.5874 GB, free: 32.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.4171, allocations: 145.8 kB / 0.5875 GB, free: 32.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.4171, allocations: 45.7 kB / 0.5875 GB, free: 31.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.4172, allocations: 153.8 kB / 0.5877 GB, free: 31.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4174, allocations: 414.1 kB / 0.5881 GB, free: 31.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.4176, allocations: 230.9 kB / 0.5883 GB, free: 31.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.4177, allocations: 362.8 kB / 0.5886 GB, free: 30.82 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.4184, allocations: 0.5764 MB / 0.5892 GB, free: 30.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.4191, allocations: 0.6638 MB / 0.5899 GB, free: 29.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4206, allocations: 1.27 MB / 0.5911 GB, free: 28.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4206, allocations: 0 / 0.5911 GB, free: 28.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001739/0.4223, allocations: 1.472 MB / 0.5925 GB, free: 26.82 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4224, allocations: 11.88 kB / 0.5925 GB, free: 26.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4224, allocations: 0 / 0.5925 GB, free: 26.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4224, allocations: 12.03 kB / 0.5926 GB, free: 26.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.4243, allocations: 0.5268 MB / 0.5931 GB, free: 26.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4243, allocations: 8 kB / 0.5931 GB, free: 26.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.425, allocations: 119 kB / 0.5932 GB, free: 26.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.4251, allocations: 36 kB / 0.5932 GB, free: 26.11 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.0002093/0.4253, allocations: 217.5 kB / 0.5934 GB, free: 25.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4254, allocations: 47.47 kB / 0.5935 GB, free: 25.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.4257, allocations: 148 kB / 0.5936 GB, free: 25.69 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.4257, allocations: 12 kB / 0.5936 GB, free: 25.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4257, allocations: 0 / 0.5936 GB, free: 25.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4258, allocations: 3.984 kB / 0.5936 GB, free: 25.68 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.4265, allocations: 0.7902 MB / 0.5944 GB, free: 24.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4265, allocations: 4 kB / 0.5944 GB, free: 24.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.4288, allocations: 0.5307 MB / 0.5949 GB, free: 24.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4288, allocations: 7.938 kB / 0.5949 GB, free: 24.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-05/0.4289, allocations: 43.95 kB / 0.595 GB, free: 24.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4289, allocations: 4 kB / 0.595 GB, free: 24.25 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4289, allocations: 0 / 0.595 GB, free: 24.25 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.4311, allocations: 1.968 MB / 0.5969 GB, free: 22.27 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.4312, allocations: 128.4 kB / 0.597 GB, free: 22.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4313, allocations: 39.97 kB / 0.5971 GB, free: 22.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.432, allocations: 47.94 kB / 0.5971 GB, free: 22.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.4321, allocations: 60.91 kB / 0.5972 GB, free: 21.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.4322, allocations: 28 kB / 0.5972 GB, free: 21.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.4322, allocations: 98.36 kB / 0.5973 GB, free: 21.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4322, allocations: 0 / 0.5973 GB, free: 21.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004997/0.4327, allocations: 311.8 kB / 0.5976 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.0001429/0.4329, allocations: 154.2 kB / 0.5977 GB, free: 21.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.4351, allocations: 1.955 MB / 0.5996 GB, free: 19.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4351, allocations: 4 kB / 0.5997 GB, free: 19.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.4358, allocations: 0.6615 MB / 0.6003 GB, free: 18.77 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.4364, allocations: 142.4 kB / 0.6004 GB, free: 18.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.4409, allocations: 4.621 MB / 0.6049 GB, free: 13.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.4411, allocations: 0.9191 MB / 0.6058 GB, free: 13.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008083/0.4419, allocations: 396.5 kB / 0.6062 GB, free: 12.64 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.4423, allocations: 47.44 kB / 0.6063 GB, free: 12.6 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.4423, allocations: 7.938 kB / 0.6063 GB, free: 12.59 MB / 462.3 MB Notification: Performance of Templates: time 0.01212/0.4544, allocations: 10.86 MB / 0.6169 GB, free: 1.855 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches