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.001015/0.001015, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.0009792/0.0009792, allocations: 194 kB / 18.21 MB, free: 5.273 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.279/1.279, allocations: 222.9 MB / 241.9 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8731/0.8731, allocations: 119.3 MB / 411.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.4924 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4768, allocations: 80.68 MB / 0.5712 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002295/0.4792, allocations: 1.52 MB / 0.5727 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.4795, allocations: 99.33 kB / 0.5728 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.4795, allocations: 0 / 0.5728 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.4797, allocations: 9.109 kB / 0.5728 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4798, allocations: 53.41 kB / 0.5728 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.48, allocations: 38.64 kB / 0.5729 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.4805, allocations: 0.6297 MB / 0.5735 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.4806, allocations: 9.484 kB / 0.5735 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.4808, allocations: 249.6 kB / 0.5737 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.4812, allocations: 315.5 kB / 0.574 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.4813, allocations: 29.91 kB / 0.5741 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.4813, allocations: 29.12 kB / 0.5741 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.4815, allocations: 183.7 kB / 0.5743 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.4817, allocations: 192.9 kB / 0.5745 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4819, allocations: 231.2 kB / 0.5747 GB, free: 40.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4819, allocations: 4 kB / 0.5747 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4819, allocations: 1.25 kB / 0.5747 GB, free: 40.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4819, allocations: 0 / 0.5747 GB, free: 40.96 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.00208/0.484, allocations: 0.8498 MB / 0.5755 GB, free: 40.35 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.484, allocations: 12.08 kB / 0.5755 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.4841, allocations: 35.84 kB / 0.5756 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.4844, allocations: 253.8 kB / 0.5758 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.4844, allocations: 27.72 kB / 0.5758 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.4845, allocations: 53.23 kB / 0.5759 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.4852, allocations: 446.2 kB / 0.5763 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4853, allocations: 192 / 0.5763 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.4853, allocations: 18.09 kB / 0.5763 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4853, allocations: 6.969 kB / 0.5763 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.4859, allocations: 378.4 kB / 0.5767 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.4884, allocations: 2.15 MB / 0.5788 GB, free: 37.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.4892, allocations: 481 kB / 0.5793 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.4896, allocations: 326.4 kB / 0.5796 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.4897, allocations: 5.062 kB / 0.5796 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4897, allocations: 37.69 kB / 0.5796 GB, free: 37.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.483e-06/0.4897, allocations: 0 / 0.5796 GB, free: 37.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001496/0.4912, allocations: 0.8066 MB / 0.5804 GB, free: 36.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.4913, allocations: 56.44 kB / 0.5804 GB, free: 36.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.4914, allocations: 141.5 kB / 0.5806 GB, free: 36.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.4914, allocations: 40.39 kB / 0.5806 GB, free: 36.69 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.4915, allocations: 117.5 kB / 0.5807 GB, free: 36.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.4916, allocations: 204.2 kB / 0.5809 GB, free: 36.4 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4918, allocations: 117.2 kB / 0.581 GB, free: 36.33 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.4919, allocations: 341.9 kB / 0.5814 GB, free: 36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.4923, allocations: 275.8 kB / 0.5816 GB, free: 35.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.4928, allocations: 335 kB / 0.5819 GB, free: 35.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.4937, allocations: 0.6046 MB / 0.5825 GB, free: 35.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.4937, allocations: 0 / 0.5825 GB, free: 35.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001086/0.4948, allocations: 0.7315 MB / 0.5833 GB, free: 35.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4948, allocations: 7.719 kB / 0.5833 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4949, allocations: 1.25 kB / 0.5833 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.4949, allocations: 3.812 kB / 0.5833 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.496, allocations: 260.2 kB / 0.5835 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.496, allocations: 3.219 kB / 0.5835 GB, free: 35.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.4964, allocations: 61.62 kB / 0.5836 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.4964, allocations: 16.31 kB / 0.5836 GB, free: 34.99 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.0001499/0.4966, allocations: 164.5 kB / 0.5837 GB, free: 34.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.4966, allocations: 26.84 kB / 0.5838 GB, free: 34.83 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.4968, allocations: 76.12 kB / 0.5838 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.4968, allocations: 4.625 kB / 0.5838 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4968, allocations: 0.9375 kB / 0.5839 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4969, allocations: 3.984 kB / 0.5839 GB, free: 34.76 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.4974, allocations: 474.3 kB / 0.5843 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4974, allocations: 1.5 kB / 0.5843 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.4988, allocations: 263.6 kB / 0.5846 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4988, allocations: 2.438 kB / 0.5846 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.4989, allocations: 26.05 kB / 0.5846 GB, free: 34.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.4989, allocations: 5.156 kB / 0.5846 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4989, allocations: 1.031 kB / 0.5846 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.5003, allocations: 0.9998 MB / 0.5856 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.5004, allocations: 108 kB / 0.5857 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.5004, allocations: 16.45 kB / 0.5857 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.5008, allocations: 36.28 kB / 0.5857 GB, free: 33.63 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.501, allocations: 33.52 kB / 0.5858 GB, free: 33.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.501, allocations: 8.625 kB / 0.5858 GB, free: 33.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.5011, allocations: 104 kB / 0.5859 GB, free: 33.52 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5011, allocations: 0 / 0.5859 GB, free: 33.52 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004385/0.5015, allocations: 146.5 kB / 0.586 GB, free: 33.51 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.0001369/0.5016, allocations: 126.3 kB / 0.5861 GB, free: 33.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.5029, allocations: 0.8011 MB / 0.5869 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5029, allocations: 0 / 0.5869 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.5033, 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.0004058/0.5037, allocations: 67.95 kB / 0.5873 GB, free: 32.67 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.5063, allocations: 2.419 MB / 0.5896 GB, free: 30.22 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.5065, allocations: 0.7995 MB / 0.5904 GB, free: 29.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.5068, allocations: 35.44 kB / 0.5904 GB, free: 29.36 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.5068, allocations: 0 / 0.5904 GB, free: 29.36 MB / 462.3 MB Notification: Performance of Templates: time 0.005675/0.5125, allocations: 5.408 MB / 0.5957 GB, free: 23.97 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