Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009641/0.0009644, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001001/0.001001, allocations: 180.3 kB / 17.56 MB, free: 6.176 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.289/1.289, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8966/0.8966, allocations: 120.5 MB / 413.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 12 kB / 0.4962 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5018, allocations: 82.83 MB / 0.5771 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001196/0.5031, allocations: 1.177 MB / 0.5783 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002505/0.5034, allocations: 96.81 kB / 0.5784 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.5034, allocations: 0 / 0.5784 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.5035, allocations: 9.297 kB / 0.5784 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.5036, allocations: 61.45 kB / 0.5784 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.5038, allocations: 30.83 kB / 0.5785 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.5044, allocations: 0.7676 MB / 0.5792 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.5044, allocations: 5.5 kB / 0.5792 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.5047, allocations: 248.8 kB / 0.5795 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.505, allocations: 310 kB / 0.5798 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.5051, allocations: 32.56 kB / 0.5798 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.5052, allocations: 29.5 kB / 0.5798 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5054, allocations: 191.4 kB / 0.58 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.5056, allocations: 222.9 kB / 0.5802 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.5058, allocations: 335.8 kB / 0.5805 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5059, allocations: 0 / 0.5805 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5059, allocations: 0 / 0.5805 GB, free: 40.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.5059, allocations: 0 / 0.5805 GB, free: 40.05 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.001981/0.5079, allocations: 0.828 MB / 0.5813 GB, free: 39.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5079, allocations: 8.875 kB / 0.5814 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.508, allocations: 35.5 kB / 0.5814 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.5084, allocations: 262.4 kB / 0.5816 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.5084, allocations: 26.81 kB / 0.5817 GB, free: 39.18 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5086, allocations: 49.3 kB / 0.5817 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.5093, allocations: 446.4 kB / 0.5821 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5093, allocations: 4.188 kB / 0.5821 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.5093, allocations: 14.47 kB / 0.5822 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5094, allocations: 7.562 kB / 0.5822 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.51, allocations: 374.2 kB / 0.5825 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.5127, allocations: 2.173 MB / 0.5846 GB, free: 36.85 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.5134, allocations: 483.7 kB / 0.5851 GB, free: 36.61 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.5139, allocations: 321.9 kB / 0.5854 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.514, allocations: 5.688 kB / 0.5854 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.514, allocations: 45.06 kB / 0.5855 GB, free: 36.41 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 3.046e-06/0.514, allocations: 3.984 kB / 0.5855 GB, free: 36.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001351/0.5154, allocations: 0.8032 MB / 0.5862 GB, free: 36.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.5154, allocations: 59.11 kB / 0.5863 GB, free: 35.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.5155, allocations: 136.5 kB / 0.5864 GB, free: 35.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.5155, allocations: 41.52 kB / 0.5865 GB, free: 35.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.5156, allocations: 124.6 kB / 0.5866 GB, free: 35.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.5157, allocations: 203.8 kB / 0.5868 GB, free: 35.5 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.5158, allocations: 70.89 kB / 0.5869 GB, free: 35.45 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.5158, allocations: 339.7 kB / 0.5872 GB, free: 35.12 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.5163, allocations: 276.4 kB / 0.5874 GB, free: 35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.5167, allocations: 333.6 kB / 0.5878 GB, free: 34.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.5175, allocations: 0.6038 MB / 0.5883 GB, free: 34.17 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5175, allocations: 4 kB / 0.5884 GB, free: 34.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009213/0.5184, allocations: 0.7195 MB / 0.5891 GB, free: 33.44 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5184, allocations: 4 kB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5184, allocations: 7.984 kB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5185, allocations: 0 / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.5194, allocations: 263.7 kB / 0.5893 GB, free: 33.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5194, allocations: 4 kB / 0.5893 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.5198, allocations: 59.55 kB / 0.5894 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.5199, allocations: 19.94 kB / 0.5894 GB, free: 33.09 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.0001454/0.52, allocations: 169.6 kB / 0.5896 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.5201, allocations: 27.66 kB / 0.5896 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.5203, allocations: 74.28 kB / 0.5897 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.5203, allocations: 4 kB / 0.5897 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5203, allocations: 0 / 0.5897 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5203, allocations: 11.98 kB / 0.5897 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.5208, allocations: 469.3 kB / 0.5901 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5208, allocations: 3.938 kB / 0.5901 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5219, allocations: 259.7 kB / 0.5904 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.522, allocations: 4 kB / 0.5904 GB, free: 32.03 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.522, allocations: 15.98 kB / 0.5904 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.522, allocations: 4 kB / 0.5904 GB, free: 32.01 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.522, allocations: 0 / 0.5904 GB, free: 32.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.5232, allocations: 1.005 MB / 0.5914 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.5233, allocations: 104.7 kB / 0.5915 GB, free: 30.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.5233, allocations: 19.98 kB / 0.5915 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.5237, allocations: 27.88 kB / 0.5915 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5238, allocations: 32.39 kB / 0.5915 GB, free: 30.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.5239, allocations: 12 kB / 0.5916 GB, free: 30.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.5239, allocations: 103.2 kB / 0.5917 GB, free: 30.67 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5239, allocations: 0 / 0.5917 GB, free: 30.67 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003832/0.5243, allocations: 155.8 kB / 0.5918 GB, free: 30.52 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.0001335/0.5245, allocations: 119.1 kB / 0.5919 GB, free: 30.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008186/0.5253, allocations: 0.6348 MB / 0.5925 GB, free: 29.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5253, allocations: 0 / 0.5925 GB, free: 29.76 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.5257, allocations: 326.3 kB / 0.5929 GB, free: 29.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.5261, allocations: 68.64 kB / 0.5929 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.5288, allocations: 2.762 MB / 0.5956 GB, free: 26.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.529, allocations: 0.7881 MB / 0.5964 GB, free: 25.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.5294, allocations: 182.8 kB / 0.5966 GB, free: 25.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5296, allocations: 27.44 kB / 0.5966 GB, free: 25.56 MB / 462.3 MB Notification: Performance of SimCode: time 4.21e-07/0.5296, allocations: 0 / 0.5966 GB, free: 25.56 MB / 462.3 MB Notification: Performance of Templates: time 0.007035/0.5366, allocations: 5.117 MB / 0.6016 GB, free: 20.52 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches