Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.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_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 111 kB / 17.75 MB, free: 5.355 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.001707/0.001707, allocations: 186.1 kB / 18.68 MB, free: 4.434 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.408/1.408, allocations: 222.9 MB / 242.4 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 1.049/1.049, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.81 kB / 0.573 GB, free: 39.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 80.69 MB / 0.6518 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40): time 0.003157/0.164, allocations: 1.479 MB / 0.6532 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003669/0.1644, allocations: 99.66 kB / 0.6533 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.1644, allocations: 0 / 0.6533 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1646, allocations: 15.91 kB / 0.6533 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1648, allocations: 55.72 kB / 0.6534 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.165, allocations: 39.86 kB / 0.6534 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.1671, allocations: 2.38 MB / 0.6557 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.1672, allocations: 16 kB / 0.6558 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.1687, allocations: 0.8936 MB / 0.6566 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.171, allocations: 1.053 MB / 0.6577 GB, free: 5.723 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0008881/0.1719, allocations: 124 kB / 0.6578 GB, free: 5.602 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.1727, allocations: 128 kB / 0.6579 GB, free: 5.477 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.1738, allocations: 0.7327 MB / 0.6586 GB, free: 4.742 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.1764, allocations: 0.763 MB / 0.6594 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.1792, allocations: 1.308 MB / 0.6606 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1792, allocations: 0 / 0.6606 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.454e-06/0.1792, allocations: 4 kB / 0.6606 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.625e-05/0.1793, allocations: 4 kB / 0.6606 GB, free: 2.656 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.009578/0.1889, allocations: 2.586 MB / 0.6632 GB, free: 12 kB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.189, allocations: 15.94 kB / 0.6632 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.1894, allocations: 119.8 kB / 0.6633 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1907, allocations: 0.5259 MB / 0.6638 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1909, allocations: 114.6 kB / 0.6639 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/0.1914, allocations: 200 kB / 0.6641 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.1943, allocations: 1.762 MB / 0.6658 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1943, allocations: 8.125 kB / 0.6658 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.1945, allocations: 47.94 kB / 0.6659 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.1945, allocations: 24 kB / 0.6659 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.1971, allocations: 1.578 MB / 0.6675 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.2104, allocations: 8.674 MB / 0.6759 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.2134, allocations: 2.054 MB / 0.6779 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.2153, allocations: 1.361 MB / 0.6793 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.2155, allocations: 18 kB / 0.6793 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.2155, allocations: 56.56 kB / 0.6793 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=199): time 3.687e-06/0.2155, allocations: 4 kB / 0.6793 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of matching and sorting (n=199): time 0.005725/0.2212, allocations: 3.338 MB / 0.6826 GB, free: 11 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.2213, allocations: 69.41 kB / 0.6827 GB, free: 10.91 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2215, allocations: 165.6 kB / 0.6828 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.2217, allocations: 69.7 kB / 0.6829 GB, free: 10.67 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2219, allocations: 219.4 kB / 0.6831 GB, free: 10.45 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000751/0.2227, allocations: 0.8164 MB / 0.6839 GB, free: 9.621 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008701/0.2236, allocations: 449.1 kB / 0.6843 GB, free: 9.176 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2237, allocations: 314 kB / 0.6846 GB, free: 8.863 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.2257, allocations: 1.168 MB / 0.6858 GB, free: 7.691 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.2278, allocations: 1.353 MB / 0.6871 GB, free: 6.324 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.232, allocations: 2.551 MB / 0.6896 GB, free: 3.742 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2321, allocations: 0 / 0.6896 GB, free: 3.742 MB / 0.5295 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005019/0.2371, allocations: 2.96 MB / 0.6925 GB, free: 0.7422 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2371, allocations: 4 kB / 0.6925 GB, free: 0.7383 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.2372, allocations: 11.92 kB / 0.6925 GB, free: 0.7266 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-05/0.2372, allocations: 11.94 kB / 0.6925 GB, free: 0.7148 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004643/0.2419, allocations: 1.073 MB / 0.6935 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/0.2419, allocations: 15.98 kB / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.2437, allocations: 238 kB / 0.6938 GB, free: 15.39 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.2439, allocations: 72 kB / 0.6938 GB, free: 15.32 MB / 0.5452 GB 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 (317): * Single equations (assignments): 317 * 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.0006735/0.2446, allocations: 330.1 kB / 0.6942 GB, free: 14.99 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.2449, allocations: 79.16 kB / 0.6942 GB, free: 14.91 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.2455, allocations: 299.3 kB / 0.6945 GB, free: 14.62 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.2456, allocations: 11.95 kB / 0.6945 GB, free: 14.61 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2456, allocations: 0 / 0.6945 GB, free: 14.61 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.2457, allocations: 163.9 kB / 0.6947 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.246, allocations: 75.94 kB / 0.6948 GB, free: 14.35 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.2475, allocations: 107.9 kB / 0.6949 GB, free: 14.25 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.2479, allocations: 129.8 kB / 0.695 GB, free: 14.12 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01438/0.2622, allocations: 4.314 MB / 0.6992 GB, free: 9.797 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00757/0.2699, allocations: 4.458 MB / 0.7036 GB, free: 5.312 MB / 0.5452 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002026/0.2719, allocations: 1.311 MB / 0.7048 GB, free: 4.004 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.272, allocations: 99.25 kB / 0.7049 GB, free: 3.906 MB / 0.5452 GB Notification: Performance of Backend: time 2.91e-07/0.272, allocations: 4 kB / 0.7049 GB, free: 3.902 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.003788/0.2758, allocations: 1.847 MB / 0.7067 GB, free: 2.047 MB / 0.5452 GB Notification: Performance of SimCode: time 0.01016/0.286, allocations: 8.387 MB / 0.7149 GB, free: 9.598 MB / 0.5608 GB Notification: Performance of Templates: time 0.04269/0.3287, allocations: 28.16 MB / 0.7424 GB, free: 13.46 MB / 0.592 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches