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.0009739/0.000974, allocations: 85.83 kB / 16.31 MB, free: 6.449 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.001135/0.001135, allocations: 180.8 kB / 17.21 MB, free: 6.32 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.348/1.348, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7894/0.7894, allocations: 120.5 MB / 412.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 12 kB / 0.4956 GB, free: 9.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1591, allocations: 82.85 MB / 0.5765 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.001421/0.1605, allocations: 1.166 MB / 0.5776 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.1608, allocations: 99.67 kB / 0.5777 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.1609, allocations: 0 / 0.5777 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.161, allocations: 15.92 kB / 0.5777 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1611, allocations: 55.77 kB / 0.5778 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1613, allocations: 31.89 kB / 0.5778 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000959/0.1622, allocations: 1.123 MB / 0.5789 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.1623, allocations: 8 kB / 0.5789 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1627, allocations: 467.2 kB / 0.5794 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.1635, allocations: 0.6201 MB / 0.58 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1636, allocations: 64 kB / 0.58 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1637, allocations: 60 kB / 0.5801 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.1641, allocations: 395.1 kB / 0.5805 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1642, allocations: 125.5 kB / 0.5806 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1646, allocations: 447.2 kB / 0.581 GB, free: 2.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1646, allocations: 0 / 0.581 GB, free: 2.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1646, allocations: 0 / 0.581 GB, free: 2.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1646, allocations: 0 / 0.581 GB, free: 2.156 MB / 446.1 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.003933/0.1685, allocations: 1.495 MB / 0.5825 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1686, allocations: 15.97 kB / 0.5825 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1687, allocations: 63.39 kB / 0.5825 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.1692, allocations: 346.3 kB / 0.5829 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.1692, allocations: 57.31 kB / 0.5829 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4933/0.6625, allocations: 101.2 kB / 0.583 GB, free: 16.24 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.6647, allocations: 0.8765 MB / 0.5839 GB, free: 16.2 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6648, allocations: 0.9062 kB / 0.5839 GB, free: 16.2 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-05/0.6649, allocations: 22.84 kB / 0.5839 GB, free: 16.2 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.6649, allocations: 12.94 kB / 0.5839 GB, free: 16.2 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.6663, allocations: 0.768 MB / 0.5847 GB, free: 16.19 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006202/0.6725, allocations: 4.365 MB / 0.5889 GB, free: 13.46 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.6743, allocations: 0.9763 MB / 0.5899 GB, free: 13.1 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6754, allocations: 0.6596 MB / 0.5905 GB, free: 12.86 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6755, allocations: 10.03 kB / 0.5905 GB, free: 12.86 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6756, allocations: 40.47 kB / 0.5906 GB, free: 12.82 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.246e-06/0.6756, allocations: 1.031 kB / 0.5906 GB, free: 12.82 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003297/0.6789, allocations: 1.653 MB / 0.5922 GB, free: 12.32 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6789, allocations: 62.05 kB / 0.5922 GB, free: 12.26 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.6791, allocations: 141.3 kB / 0.5924 GB, free: 12.14 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.6791, allocations: 51.8 kB / 0.5924 GB, free: 12.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.6792, allocations: 156.6 kB / 0.5926 GB, free: 11.96 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.6795, allocations: 414.9 kB / 0.593 GB, free: 11.64 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.6796, allocations: 24.88 kB / 0.593 GB, free: 11.62 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.6797, allocations: 375.4 kB / 0.5933 GB, free: 11.29 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/0.6807, allocations: 0.5658 MB / 0.5939 GB, free: 11.13 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.6818, allocations: 0.6539 MB / 0.5945 GB, free: 10.93 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.6829, allocations: 0.6514 MB / 0.5952 GB, free: 10.71 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.683, allocations: 0 / 0.5952 GB, free: 10.71 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002434/0.6854, allocations: 1.462 MB / 0.5966 GB, free: 10.23 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6854, allocations: 10.14 kB / 0.5966 GB, free: 10.23 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6854, allocations: 0 / 0.5966 GB, free: 10.23 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.6855, allocations: 5.5 kB / 0.5966 GB, free: 10.23 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.6877, allocations: 0.5238 MB / 0.5971 GB, free: 10.2 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.6877, allocations: 15.52 kB / 0.5971 GB, free: 10.2 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.6885, allocations: 121.7 kB / 0.5973 GB, free: 10.13 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.204e-05/0.6886, allocations: 37.84 kB / 0.5973 GB, free: 10.12 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003713/0.689, allocations: 213 kB / 0.5975 GB, free: 9.965 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.6891, allocations: 44.98 kB / 0.5975 GB, free: 9.941 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.6896, allocations: 146.7 kB / 0.5977 GB, free: 9.801 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6896, allocations: 10.89 kB / 0.5977 GB, free: 9.801 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/0.6897, allocations: 0 / 0.5977 GB, free: 9.801 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.6897, allocations: 5.859 kB / 0.5977 GB, free: 9.801 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.691, allocations: 0.8021 MB / 0.5985 GB, free: 9.438 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.691, allocations: 1.875 kB / 0.5985 GB, free: 9.438 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/0.6936, allocations: 0.5286 MB / 0.599 GB, free: 9.41 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.6937, allocations: 3.781 kB / 0.599 GB, free: 9.41 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.6938, allocations: 44.84 kB / 0.599 GB, free: 9.398 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.6938, allocations: 3.188 kB / 0.599 GB, free: 9.398 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6938, allocations: 1.281 kB / 0.5991 GB, free: 9.398 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.6972, allocations: 1.97 MB / 0.601 GB, free: 8.66 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6973, allocations: 123.6 kB / 0.6011 GB, free: 8.535 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.6975, allocations: 41.58 kB / 0.6011 GB, free: 8.52 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/0.6982, allocations: 69.89 kB / 0.6012 GB, free: 8.488 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.6984, allocations: 56.33 kB / 0.6013 GB, free: 8.484 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.6985, allocations: 27.39 kB / 0.6013 GB, free: 8.477 MB / 446.3 MB Notification: Performance of sorting global known variables: time 5.45e-05/0.6985, allocations: 96.98 kB / 0.6014 GB, free: 8.398 MB / 446.3 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6985, allocations: 0 / 0.6014 GB, free: 8.398 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008159/0.6994, allocations: 312.4 kB / 0.6017 GB, free: 8.355 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000209/0.6996, allocations: 150.9 kB / 0.6018 GB, free: 8.234 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.7017, allocations: 1.328 MB / 0.6031 GB, free: 7.859 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7018, allocations: 0 / 0.6031 GB, free: 7.859 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7028, allocations: 0.6464 MB / 0.6037 GB, free: 7.656 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.7035, allocations: 138 kB / 0.6039 GB, free: 7.602 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.7102, allocations: 5.615 MB / 0.6094 GB, free: 3.387 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.7107, allocations: 0.9111 MB / 0.6102 GB, free: 2.609 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001209/0.7119, allocations: 390.8 kB / 0.6106 GB, free: 2.445 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.7122, allocations: 48.62 kB / 0.6107 GB, free: 2.441 MB / 446.3 MB Notification: Performance of SimCode: time 7.72e-07/0.7122, allocations: 1.438 kB / 0.6107 GB, free: 2.441 MB / 446.3 MB Notification: Performance of Templates: time 0.0155/0.7277, allocations: 9.952 MB / 0.6204 GB, free: 11.52 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/jenkins/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