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.001245/0.001246, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.00132/0.00132, allocations: 191 kB / 18.63 MB, free: 4.512 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.27/1.27, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8/0.8, allocations: 119.3 MB / 411.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.09 kB / 0.4937 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.406, allocations: 80.69 MB / 0.5725 GB, free: 43.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002064/0.4081, allocations: 1.457 MB / 0.574 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002357/0.4083, allocations: 94.41 kB / 0.574 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.4084, allocations: 1 kB / 0.574 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.846e-05/0.4085, allocations: 12.92 kB / 0.5741 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.4086, allocations: 63.8 kB / 0.5741 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.4088, allocations: 33.53 kB / 0.5741 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007202/0.4095, allocations: 1.093 MB / 0.5752 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.4096, allocations: 7.438 kB / 0.5752 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.4098, allocations: 401.1 kB / 0.5756 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.4104, allocations: 0.5241 MB / 0.5761 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.4106, allocations: 64.69 kB / 0.5762 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4107, allocations: 61.78 kB / 0.5762 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.4109, allocations: 370.6 kB / 0.5766 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.4113, allocations: 385.7 kB / 0.577 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.4117, allocations: 0.6582 MB / 0.5776 GB, free: 40.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4117, allocations: 5.188 kB / 0.5776 GB, free: 40.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4118, allocations: 0 / 0.5776 GB, free: 40.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4118, allocations: 3.938 kB / 0.5776 GB, free: 40.67 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.003957/0.4157, allocations: 1.422 MB / 0.579 GB, free: 39.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4158, allocations: 17.08 kB / 0.579 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.4159, allocations: 60.59 kB / 0.5791 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.4165, allocations: 347.8 kB / 0.5794 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.4166, allocations: 55.25 kB / 0.5795 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.4168, allocations: 105.8 kB / 0.5796 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.418, allocations: 0.8778 MB / 0.5804 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.418, allocations: 4.188 kB / 0.5804 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.4181, allocations: 29 kB / 0.5804 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4181, allocations: 12.62 kB / 0.5805 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4192, allocations: 0.776 MB / 0.5812 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.4243, allocations: 4.309 MB / 0.5854 GB, free: 34.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4256, allocations: 0.986 MB / 0.5864 GB, free: 34.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007584/0.4264, allocations: 0.6772 MB / 0.587 GB, free: 33.86 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4265, allocations: 13 kB / 0.5871 GB, free: 33.85 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.4265, allocations: 43.5 kB / 0.5871 GB, free: 33.79 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.785e-06/0.4265, allocations: 0 / 0.5871 GB, free: 33.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002263/0.4288, allocations: 1.664 MB / 0.5887 GB, free: 32.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.4288, allocations: 60.41 kB / 0.5888 GB, free: 32.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4289, allocations: 145.8 kB / 0.5889 GB, free: 31.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.429, allocations: 45.7 kB / 0.589 GB, free: 31.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.4291, allocations: 161.8 kB / 0.5891 GB, free: 31.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.4292, allocations: 414.1 kB / 0.5895 GB, free: 31.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.4295, allocations: 226.9 kB / 0.5897 GB, free: 31.05 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.4296, allocations: 362.8 kB / 0.5901 GB, free: 30.68 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.4303, allocations: 0.5764 MB / 0.5906 GB, free: 30.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.4311, allocations: 0.6638 MB / 0.5913 GB, free: 29.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.4326, allocations: 1.27 MB / 0.5925 GB, free: 28.17 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4326, allocations: 4 kB / 0.5925 GB, free: 28.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001823/0.4344, allocations: 1.469 MB / 0.594 GB, free: 26.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4344, allocations: 11.94 kB / 0.594 GB, free: 26.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4344, allocations: 0 / 0.594 GB, free: 26.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4345, allocations: 7.938 kB / 0.594 GB, free: 26.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.4366, allocations: 0.5347 MB / 0.5945 GB, free: 26.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4366, allocations: 4 kB / 0.5945 GB, free: 26.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.4373, allocations: 119 kB / 0.5946 GB, free: 26.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.4374, allocations: 32 kB / 0.5947 GB, free: 25.98 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.00023/0.4376, allocations: 225.5 kB / 0.5949 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4377, allocations: 43.47 kB / 0.5949 GB, free: 25.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.438, allocations: 152 kB / 0.5951 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.438, allocations: 8 kB / 0.5951 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.438, allocations: 0 / 0.5951 GB, free: 25.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.438, allocations: 7.984 kB / 0.5951 GB, free: 25.54 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.4388, allocations: 0.7901 MB / 0.5958 GB, free: 24.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4388, allocations: 0 / 0.5958 GB, free: 24.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/0.4414, allocations: 0.5308 MB / 0.5964 GB, free: 24.17 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4414, allocations: 7.938 kB / 0.5964 GB, free: 24.16 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.906e-05/0.4415, allocations: 43.95 kB / 0.5964 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4415, allocations: 4 kB / 0.5964 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4415, allocations: 0 / 0.5964 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.4438, allocations: 1.964 MB / 0.5983 GB, free: 22.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.4439, allocations: 132.4 kB / 0.5985 GB, free: 21.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.444, allocations: 35.97 kB / 0.5985 GB, free: 21.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.4447, allocations: 55.94 kB / 0.5985 GB, free: 21.9 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.4449, allocations: 56.91 kB / 0.5986 GB, free: 21.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.4449, allocations: 24 kB / 0.5986 GB, free: 21.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.445, allocations: 99.2 kB / 0.5987 GB, free: 21.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.41e-07/0.445, allocations: 4 kB / 0.5987 GB, free: 21.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005582/0.4455, allocations: 311.8 kB / 0.599 GB, free: 21.42 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.0001689/0.4457, allocations: 158.2 kB / 0.5992 GB, free: 21.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4473, allocations: 1.338 MB / 0.6005 GB, free: 19.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4474, allocations: 4 kB / 0.6005 GB, free: 19.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.4481, allocations: 0.6576 MB / 0.6011 GB, free: 19.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.4486, allocations: 146.6 kB / 0.6013 GB, free: 19.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.4531, allocations: 4.614 MB / 0.6058 GB, free: 14.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.4534, allocations: 0.923 MB / 0.6067 GB, free: 13.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0008283/0.4542, allocations: 392.5 kB / 0.607 GB, free: 13.13 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.4546, allocations: 47.44 kB / 0.6071 GB, free: 13.09 MB / 462.3 MB Notification: Performance of SimCode: time 4.3e-07/0.4546, allocations: 0 / 0.6071 GB, free: 13.09 MB / 462.3 MB Notification: Performance of Templates: time 0.01244/0.467, allocations: 10.86 MB / 0.6177 GB, free: 2.352 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/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