Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.001297/0.001297, allocations: 193.3 kB / 18.21 MB, free: 5.266 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 / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8862/0.8862, allocations: 119.3 MB / 411.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 59.91 kB / 0.4924 GB, free: 12.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5196, allocations: 80.68 MB / 0.5712 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.00227/0.5219, allocations: 1.522 MB / 0.5727 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.5222, allocations: 102.9 kB / 0.5728 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.5223, allocations: 0 / 0.5728 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.5224, allocations: 6.578 kB / 0.5728 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.5225, allocations: 59.61 kB / 0.5729 GB, free: 42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.5227, allocations: 31.61 kB / 0.5729 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.5232, allocations: 0.6283 MB / 0.5735 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.5233, allocations: 5.75 kB / 0.5735 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.5235, allocations: 249.7 kB / 0.5737 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.5239, allocations: 321.5 kB / 0.5741 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.5239, allocations: 28.19 kB / 0.5741 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.524, allocations: 29.16 kB / 0.5741 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.5242, allocations: 187.2 kB / 0.5743 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.5244, allocations: 193.9 kB / 0.5745 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.5245, allocations: 226.8 kB / 0.5747 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5246, allocations: 0 / 0.5747 GB, free: 41 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5246, allocations: 2.031 kB / 0.5747 GB, free: 41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.5246, allocations: 0 / 0.5747 GB, free: 41 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002244/0.5268, allocations: 0.8482 MB / 0.5755 GB, free: 40.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5269, allocations: 12.92 kB / 0.5755 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.527, allocations: 36.12 kB / 0.5756 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5273, allocations: 266.5 kB / 0.5758 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.5273, allocations: 27.38 kB / 0.5758 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.5274, allocations: 48.19 kB / 0.5759 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5281, allocations: 442.9 kB / 0.5763 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5282, allocations: 4.172 kB / 0.5763 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.5282, allocations: 18.47 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.5282, allocations: 6.625 kB / 0.5763 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.5288, allocations: 374.2 kB / 0.5767 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.5314, allocations: 2.162 MB / 0.5788 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.5323, allocations: 472.1 kB / 0.5793 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.533, allocations: 319.1 kB / 0.5796 GB, free: 37.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.533, allocations: 8.969 kB / 0.5796 GB, free: 37.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.5331, allocations: 48.75 kB / 0.5796 GB, free: 37.32 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.5331, allocations: 0.9062 kB / 0.5796 GB, free: 37.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001437/0.5345, allocations: 0.8018 MB / 0.5804 GB, free: 36.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.5345, allocations: 57.38 kB / 0.5805 GB, free: 36.88 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.5346, allocations: 136.1 kB / 0.5806 GB, free: 36.76 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.5347, allocations: 36.11 kB / 0.5806 GB, free: 36.72 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.5347, allocations: 116.5 kB / 0.5807 GB, free: 36.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5349, allocations: 201.1 kB / 0.5809 GB, free: 36.43 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.5351, allocations: 122.9 kB / 0.581 GB, free: 36.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.5351, allocations: 339.1 kB / 0.5814 GB, free: 36.02 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.5355, allocations: 281 kB / 0.5816 GB, free: 35.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.536, allocations: 330.9 kB / 0.582 GB, free: 35.74 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.5369, allocations: 0.6125 MB / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5369, allocations: 0 / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001094/0.538, allocations: 0.7314 MB / 0.5833 GB, free: 35.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.538, allocations: 5.062 kB / 0.5833 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.538, allocations: 1.25 kB / 0.5833 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.538, allocations: 2.531 kB / 0.5833 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5392, allocations: 257.6 kB / 0.5835 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5392, allocations: 3.688 kB / 0.5835 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5396, allocations: 60.12 kB / 0.5836 GB, free: 35.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.5397, allocations: 16.91 kB / 0.5836 GB, free: 35.02 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 (77): * Single equations (assignments): 77 * 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.0001804/0.5399, allocations: 164.7 kB / 0.5838 GB, free: 34.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.5399, allocations: 23 kB / 0.5838 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.5401, allocations: 75.8 kB / 0.5838 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5401, allocations: 5.156 kB / 0.5838 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5401, allocations: 5.031 kB / 0.5839 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5402, allocations: 0 / 0.5839 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.5407, allocations: 478.7 kB / 0.5843 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5407, allocations: 4 kB / 0.5843 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.5421, allocations: 260.3 kB / 0.5846 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.5421, allocations: 2.812 kB / 0.5846 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/0.5422, allocations: 18.17 kB / 0.5846 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5422, allocations: 1.312 kB / 0.5846 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5422, allocations: 0 / 0.5846 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.5436, allocations: 1.007 MB / 0.5856 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.5437, allocations: 112.8 kB / 0.5857 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.5438, allocations: 24.52 kB / 0.5857 GB, free: 33.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.5443, allocations: 23.7 kB / 0.5857 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5444, allocations: 30.39 kB / 0.5858 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5444, allocations: 16.7 kB / 0.5858 GB, free: 33.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.5445, allocations: 107.1 kB / 0.5859 GB, free: 33.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5445, allocations: 1.281 kB / 0.5859 GB, free: 33.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004695/0.545, allocations: 146.9 kB / 0.586 GB, free: 33.53 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.0001381/0.5451, allocations: 121.6 kB / 0.5861 GB, free: 33.42 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.5463, allocations: 0.791 MB / 0.5869 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5463, allocations: 4.062 kB / 0.5869 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.5467, allocations: 318.3 kB / 0.5872 GB, free: 32.74 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.5472, allocations: 67.94 kB / 0.5873 GB, free: 32.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.55, allocations: 2.424 MB / 0.5896 GB, free: 30.22 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.5502, allocations: 0.7917 MB / 0.5904 GB, free: 29.4 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.5504, allocations: 31.44 kB / 0.5904 GB, free: 29.37 MB / 462.3 MB Notification: Performance of SimCode: time 5.01e-07/0.5504, allocations: 0 / 0.5904 GB, free: 29.37 MB / 462.3 MB Notification: Performance of Templates: time 0.006012/0.5565, allocations: 5.404 MB / 0.5957 GB, free: 23.98 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches