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.001514/0.001514, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001476/0.001476, allocations: 192 kB / 18.62 MB, free: 4.41 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9181/0.9181, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 63.91 kB / 0.4937 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6173/0.6189, allocations: 80.68 MB / 0.5725 GB, free: 44.14 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002584/0.6215, allocations: 1.47 MB / 0.5739 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.6219, allocations: 99.08 kB / 0.574 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.6219, allocations: 0 / 0.574 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.622, allocations: 9.047 kB / 0.5741 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.6222, allocations: 67.64 kB / 0.5741 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.6224, allocations: 37.98 kB / 0.5742 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.6236, allocations: 1.22 MB / 0.5753 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.6237, allocations: 8.344 kB / 0.5754 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000642/0.6244, allocations: 461.5 kB / 0.5758 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007795/0.6252, allocations: 0.547 MB / 0.5763 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.6253, allocations: 62.06 kB / 0.5764 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.6255, allocations: 60.94 kB / 0.5764 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.6258, allocations: 379.4 kB / 0.5768 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.6262, allocations: 385.6 kB / 0.5772 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.6268, allocations: 0.6465 MB / 0.5778 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.6268, allocations: 0 / 0.5778 GB, free: 40.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6268, allocations: 1.375 kB / 0.5778 GB, free: 40.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.6268, allocations: 0 / 0.5778 GB, free: 40.75 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.004525/0.6313, allocations: 1.433 MB / 0.5792 GB, free: 39.85 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.6314, allocations: 17.02 kB / 0.5792 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.6316, allocations: 65.28 kB / 0.5793 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.6323, allocations: 351 kB / 0.5796 GB, free: 39.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.6324, allocations: 54.72 kB / 0.5797 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.6326, allocations: 98.28 kB / 0.5798 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.634, allocations: 0.8823 MB / 0.5806 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.634, allocations: 192 / 0.5806 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.6341, allocations: 24.97 kB / 0.5807 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6341, allocations: 12.62 kB / 0.5807 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6353, allocations: 0.7679 MB / 0.5814 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006898/0.6422, allocations: 4.312 MB / 0.5856 GB, free: 34.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.644, allocations: 0.973 MB / 0.5866 GB, free: 34.45 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.6448, allocations: 0.6624 MB / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.6449, allocations: 9 kB / 0.5872 GB, free: 33.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.645, allocations: 51.5 kB / 0.5873 GB, free: 33.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 3.627e-06/0.645, allocations: 4 kB / 0.5873 GB, free: 33.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.00238/0.6474, allocations: 1.644 MB / 0.5889 GB, free: 32.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.6474, allocations: 64.41 kB / 0.5889 GB, free: 32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.6476, allocations: 149.7 kB / 0.5891 GB, free: 31.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.6476, allocations: 49.7 kB / 0.5891 GB, free: 31.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.6477, allocations: 149.8 kB / 0.5893 GB, free: 31.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.648, allocations: 422 kB / 0.5897 GB, free: 31.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.6483, allocations: 223 kB / 0.5899 GB, free: 30.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6485, allocations: 366.8 kB / 0.5902 GB, free: 30.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.6492, allocations: 0.5725 MB / 0.5908 GB, free: 30.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/0.6501, allocations: 0.6599 MB / 0.5915 GB, free: 29.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6517, allocations: 1.258 MB / 0.5927 GB, free: 28.13 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6517, allocations: 0 / 0.5927 GB, free: 28.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001934/0.6536, allocations: 1.472 MB / 0.5941 GB, free: 26.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.6537, allocations: 11.88 kB / 0.5941 GB, free: 26.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6537, allocations: 3.984 kB / 0.5941 GB, free: 26.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.6537, allocations: 8 kB / 0.5941 GB, free: 26.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.6559, allocations: 0.523 MB / 0.5947 GB, free: 26.1 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.6559, allocations: 11.94 kB / 0.5947 GB, free: 26.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.6568, allocations: 115 kB / 0.5948 GB, free: 25.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.6568, allocations: 40 kB / 0.5948 GB, free: 25.94 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.0003162/0.6572, allocations: 213.6 kB / 0.595 GB, free: 25.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6573, allocations: 51.47 kB / 0.5951 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.6577, allocations: 148 kB / 0.5952 GB, free: 25.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.6577, allocations: 12 kB / 0.5952 GB, free: 25.51 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.6577, allocations: 0 / 0.5952 GB, free: 25.51 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6577, allocations: 7.969 kB / 0.5952 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.6587, allocations: 0.7901 MB / 0.596 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6587, allocations: 0 / 0.596 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.6613, allocations: 0.5308 MB / 0.5965 GB, free: 24.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.6614, allocations: 11.92 kB / 0.5965 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.6615, allocations: 39.97 kB / 0.5966 GB, free: 24.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.6615, allocations: 4 kB / 0.5966 GB, free: 24.08 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6615, allocations: 3.984 kB / 0.5966 GB, free: 24.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.664, allocations: 1.964 MB / 0.5985 GB, free: 22.1 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.6641, allocations: 128.4 kB / 0.5986 GB, free: 21.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.6643, allocations: 39.97 kB / 0.5986 GB, free: 21.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/0.665, allocations: 47.95 kB / 0.5987 GB, free: 21.87 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.6652, allocations: 60.91 kB / 0.5988 GB, free: 21.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.6653, allocations: 27.98 kB / 0.5988 GB, free: 21.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.6653, allocations: 96.81 kB / 0.5989 GB, free: 21.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6653, allocations: 0 / 0.5989 GB, free: 21.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006298/0.666, allocations: 311.8 kB / 0.5992 GB, free: 21.38 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.0001936/0.6662, allocations: 158.2 kB / 0.5993 GB, free: 21.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.668, allocations: 1.33 MB / 0.6006 GB, free: 19.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.668, allocations: 0 / 0.6006 GB, free: 19.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.6688, allocations: 0.6537 MB / 0.6013 GB, free: 19.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.6694, allocations: 131.9 kB / 0.6014 GB, free: 19.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/0.6748, allocations: 4.66 MB / 0.6059 GB, free: 14.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.6752, allocations: 0.9155 MB / 0.6068 GB, free: 13.47 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001035/0.6762, allocations: 388.5 kB / 0.6072 GB, free: 13.09 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.6765, allocations: 51.44 kB / 0.6072 GB, free: 13.04 MB / 462.3 MB Notification: Performance of SimCode: time 1.502e-06/0.6765, allocations: 0 / 0.6072 GB, free: 13.04 MB / 462.3 MB Notification: Performance of Templates: time 0.01474/0.6913, allocations: 10.87 MB / 0.6179 GB, free: 2.297 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches