Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001232, allocations: 110.6 kB / 17.16 MB, free: 6.082 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.001257/0.001257, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.978/0.978, allocations: 119.3 MB / 411.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 63.91 kB / 0.4922 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4885, allocations: 80.68 MB / 0.571 GB, free: 43.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002064/0.4906, allocations: 1.531 MB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002319/0.4908, allocations: 102.9 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.4909, allocations: 0 / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.491, allocations: 9.891 kB / 0.5726 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4911, allocations: 57.89 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.4913, allocations: 35.11 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.4921, allocations: 1.343 MB / 0.574 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.4922, allocations: 7.719 kB / 0.574 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003675/0.4925, allocations: 473.9 kB / 0.5745 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.4932, allocations: 0.587 MB / 0.575 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.4933, allocations: 61.03 kB / 0.5751 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.4935, allocations: 61.28 kB / 0.5752 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.4937, allocations: 371.5 kB / 0.5755 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.4941, allocations: 397.9 kB / 0.5759 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.4944, allocations: 449.4 kB / 0.5763 GB, free: 40.56 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4944, allocations: 0 / 0.5763 GB, free: 40.56 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4944, allocations: 0 / 0.5763 GB, free: 40.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.4944, allocations: 0 / 0.5763 GB, free: 40.56 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.004049/0.4985, allocations: 1.426 MB / 0.5777 GB, free: 39.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4985, allocations: 9.219 kB / 0.5777 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.4987, allocations: 61.28 kB / 0.5778 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4991, allocations: 360 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.4992, allocations: 54.25 kB / 0.5782 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.4994, allocations: 98.12 kB / 0.5783 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5006, allocations: 0.8777 MB / 0.5791 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5006, allocations: 5.375 kB / 0.5791 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.5007, allocations: 23.72 kB / 0.5792 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5007, allocations: 13.91 kB / 0.5792 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.5019, allocations: 0.767 MB / 0.5799 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.507, allocations: 4.319 MB / 0.5841 GB, free: 34.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5084, allocations: 0.9726 MB / 0.5851 GB, free: 34.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008718/0.5093, allocations: 0.6615 MB / 0.5857 GB, free: 33.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.716e-05/0.5094, allocations: 14.56 kB / 0.5857 GB, free: 33.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.5094, allocations: 47.66 kB / 0.5858 GB, free: 33.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.375e-06/0.5094, allocations: 0 / 0.5858 GB, free: 33.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002358/0.5118, allocations: 1.644 MB / 0.5874 GB, free: 32.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.5118, allocations: 64.41 kB / 0.5875 GB, free: 32.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.5119, allocations: 146.5 kB / 0.5876 GB, free: 32.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.512, allocations: 53.69 kB / 0.5877 GB, free: 32.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.512, allocations: 153.8 kB / 0.5878 GB, free: 31.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.5122, allocations: 414.1 kB / 0.5882 GB, free: 31.46 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.5125, allocations: 223 kB / 0.5884 GB, free: 31.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.5126, allocations: 366.8 kB / 0.5888 GB, free: 30.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.5133, allocations: 0.5685 MB / 0.5893 GB, free: 30.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.5141, allocations: 0.6638 MB / 0.59 GB, free: 29.63 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.5156, allocations: 1.262 MB / 0.5912 GB, free: 28.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5157, allocations: 0 / 0.5912 GB, free: 28.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001866/0.5175, allocations: 1.472 MB / 0.5926 GB, free: 26.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5176, allocations: 11.92 kB / 0.5926 GB, free: 26.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5176, allocations: 0 / 0.5926 GB, free: 26.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5176, allocations: 4 kB / 0.5926 GB, free: 26.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.5197, allocations: 0.5269 MB / 0.5932 GB, free: 26.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5197, allocations: 8 kB / 0.5932 GB, free: 26.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.5204, allocations: 123 kB / 0.5933 GB, free: 26.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.5205, allocations: 40 kB / 0.5933 GB, free: 26.17 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.0002248/0.5207, allocations: 213.5 kB / 0.5935 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5208, allocations: 47.47 kB / 0.5936 GB, free: 25.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.5212, allocations: 144 kB / 0.5937 GB, free: 25.76 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5212, allocations: 12 kB / 0.5937 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5212, allocations: 4 kB / 0.5937 GB, free: 25.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.5212, allocations: 7.969 kB / 0.5937 GB, free: 25.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.522, allocations: 0.794 MB / 0.5945 GB, free: 24.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5221, allocations: 0 / 0.5945 GB, free: 24.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/0.5247, allocations: 0.5308 MB / 0.595 GB, free: 24.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.5247, allocations: 7.938 kB / 0.595 GB, free: 24.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.615e-05/0.5248, allocations: 43.97 kB / 0.5951 GB, free: 24.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5248, allocations: 4 kB / 0.5951 GB, free: 24.31 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5248, allocations: 3.984 kB / 0.5951 GB, free: 24.31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5272, allocations: 1.956 MB / 0.597 GB, free: 22.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.5272, allocations: 128.4 kB / 0.5971 GB, free: 22.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.5274, allocations: 39.97 kB / 0.5972 GB, free: 22.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007354/0.5281, allocations: 63.7 kB / 0.5972 GB, free: 22.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.5283, allocations: 64.84 kB / 0.5973 GB, free: 22.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.5284, allocations: 27.98 kB / 0.5973 GB, free: 22 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.5284, allocations: 98.78 kB / 0.5974 GB, free: 21.91 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5284, allocations: 0 / 0.5974 GB, free: 21.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005156/0.5289, allocations: 319.8 kB / 0.5977 GB, free: 21.59 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.0001631/0.5291, allocations: 145.7 kB / 0.5978 GB, free: 21.44 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.5307, allocations: 1.326 MB / 0.5991 GB, free: 20.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5308, allocations: 3.938 kB / 0.5991 GB, free: 20.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.5315, allocations: 0.6537 MB / 0.5998 GB, free: 19.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.5321, allocations: 131.9 kB / 0.5999 GB, free: 19.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.5374, allocations: 4.918 MB / 0.6047 GB, free: 14.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.5377, allocations: 0.9153 MB / 0.6056 GB, free: 13.43 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.5383, allocations: 55.44 kB / 0.6057 GB, free: 13.38 MB / 462.3 MB Notification: Performance of SimCode: time 5.71e-07/0.5383, allocations: 4 kB / 0.6057 GB, free: 13.38 MB / 462.3 MB Notification: Performance of Templates: time 0.01186/0.5501, allocations: 10.66 MB / 0.6161 GB, free: 2.711 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches