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.001408/0.001408, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001618/0.001619, allocations: 192 kB / 18.62 MB, free: 4.543 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.363/1.363, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.048/1.048, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 55.91 kB / 0.4937 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5626, allocations: 80.69 MB / 0.5725 GB, free: 43.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002691/0.5653, allocations: 1.447 MB / 0.5739 GB, free: 42.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.5656, allocations: 98.97 kB / 0.574 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.5657, allocations: 0 / 0.574 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.5658, allocations: 12.98 kB / 0.574 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.566, allocations: 67.62 kB / 0.5741 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.5662, allocations: 30.22 kB / 0.5741 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005718/0.5668, allocations: 0.6317 MB / 0.5747 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.5668, allocations: 5.781 kB / 0.5747 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.5671, allocations: 247.2 kB / 0.575 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.5675, allocations: 291.4 kB / 0.5753 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.5676, allocations: 29.56 kB / 0.5753 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.5676, allocations: 30.03 kB / 0.5753 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.5678, allocations: 186.5 kB / 0.5755 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.568, allocations: 194 kB / 0.5757 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.5683, allocations: 337.5 kB / 0.576 GB, free: 41.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.5684, allocations: 3.984 kB / 0.576 GB, free: 41.53 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5684, allocations: 0 / 0.576 GB, free: 41.53 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.5684, allocations: 0 / 0.576 GB, free: 41.53 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.002231/0.5706, allocations: 0.8454 MB / 0.5768 GB, free: 40.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5707, allocations: 17.89 kB / 0.5769 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.5708, allocations: 30.81 kB / 0.5769 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.5711, allocations: 263.4 kB / 0.5771 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5712, allocations: 26.41 kB / 0.5772 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.5713, allocations: 49.62 kB / 0.5772 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.572, allocations: 450.2 kB / 0.5776 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.572, allocations: 192 / 0.5776 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.572, allocations: 14.69 kB / 0.5776 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.572, allocations: 10.81 kB / 0.5777 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.5727, allocations: 378.5 kB / 0.578 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.5757, allocations: 2.154 MB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.5765, allocations: 475.8 kB / 0.5806 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/0.577, allocations: 323.9 kB / 0.5809 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.5771, allocations: 9.469 kB / 0.5809 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5771, allocations: 41.47 kB / 0.5809 GB, free: 37.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.5771, allocations: 0 / 0.5809 GB, free: 37.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001433/0.5786, allocations: 0.8058 MB / 0.5817 GB, free: 37.49 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5786, allocations: 56.88 kB / 0.5818 GB, free: 37.42 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.5787, allocations: 131.3 kB / 0.5819 GB, free: 37.3 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.5788, allocations: 36.23 kB / 0.5819 GB, free: 37.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.5788, allocations: 120.8 kB / 0.582 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5789, allocations: 200.4 kB / 0.5822 GB, free: 36.97 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.5791, allocations: 123.4 kB / 0.5824 GB, free: 36.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.5792, allocations: 339.6 kB / 0.5827 GB, free: 36.57 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.5796, allocations: 275.1 kB / 0.5829 GB, free: 36.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.5801, allocations: 336 kB / 0.5833 GB, free: 36.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.5812, allocations: 0.6052 MB / 0.5839 GB, free: 36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5813, allocations: 4 kB / 0.5839 GB, free: 36 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001596/0.5829, allocations: 0.7309 MB / 0.5846 GB, free: 35.65 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.5829, allocations: 8.219 kB / 0.5846 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5829, allocations: 1.062 kB / 0.5846 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.583, allocations: 2.344 kB / 0.5846 GB, free: 35.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5842, allocations: 254.2 kB / 0.5848 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.5843, allocations: 6.688 kB / 0.5848 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.5847, allocations: 55.31 kB / 0.5849 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.5848, allocations: 24.47 kB / 0.5849 GB, free: 35.55 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.0002745/0.5851, allocations: 164.1 kB / 0.5851 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.5852, allocations: 22.97 kB / 0.5851 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.5854, allocations: 76.34 kB / 0.5852 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5854, allocations: 4.312 kB / 0.5852 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.5854, allocations: 5.078 kB / 0.5852 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5854, allocations: 0 / 0.5852 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.586, allocations: 475 kB / 0.5856 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.586, allocations: 0 / 0.5856 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.5874, allocations: 265.5 kB / 0.5859 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5875, allocations: 1.281 kB / 0.5859 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.5875, allocations: 22.08 kB / 0.5859 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.5875, allocations: 1.25 kB / 0.5859 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5875, allocations: 1.281 kB / 0.5859 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.5889, allocations: 1.004 MB / 0.5869 GB, free: 34.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.589, allocations: 116.5 kB / 0.587 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.5891, allocations: 23.98 kB / 0.587 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.5895, allocations: 23.97 kB / 0.587 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5896, allocations: 28.39 kB / 0.5871 GB, free: 33.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.5896, allocations: 12 kB / 0.5871 GB, free: 33.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.393e-05/0.5897, allocations: 104.4 kB / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5897, allocations: 0 / 0.5872 GB, free: 33.8 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004392/0.5901, allocations: 151.8 kB / 0.5873 GB, free: 33.65 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.000139/0.5903, allocations: 127.6 kB / 0.5874 GB, free: 33.51 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.5912, allocations: 0.6387 MB / 0.5881 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5912, allocations: 3.938 kB / 0.5881 GB, free: 32.87 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.5916, allocations: 314.3 kB / 0.5884 GB, free: 32.57 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.5922, allocations: 72.7 kB / 0.5884 GB, free: 32.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.5952, allocations: 2.276 MB / 0.5907 GB, free: 30.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5954, allocations: 0.7917 MB / 0.5914 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000463/0.5959, allocations: 182.8 kB / 0.5916 GB, free: 29.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.5961, allocations: 27.44 kB / 0.5916 GB, free: 29.17 MB / 462.3 MB Notification: Performance of SimCode: time 1.112e-06/0.5961, allocations: 0 / 0.5916 GB, free: 29.17 MB / 462.3 MB Notification: Performance of Templates: time 0.008507/0.6046, allocations: 5.401 MB / 0.5969 GB, free: 23.85 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches