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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 106.3 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.927/0.927, allocations: 119.3 MB / 460.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.92 kB / 0.5405 GB, free: 41.97 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1709, allocations: 80.7 MB / 0.6193 GB, free: 11.37 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002498/0.1734, allocations: 1.484 MB / 0.6207 GB, free: 9.871 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.1737, allocations: 80.12 kB / 0.6208 GB, free: 9.793 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.1737, allocations: 0 / 0.6208 GB, free: 9.793 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1739, allocations: 11.92 kB / 0.6208 GB, free: 9.781 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.174, allocations: 43.8 kB / 0.6208 GB, free: 9.738 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1742, allocations: 27.95 kB / 0.6209 GB, free: 9.711 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.1748, allocations: 0.6512 MB / 0.6215 GB, free: 9.059 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.1748, allocations: 4.188 kB / 0.6215 GB, free: 9.055 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.175, allocations: 231.5 kB / 0.6217 GB, free: 8.828 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.1754, allocations: 283.4 kB / 0.622 GB, free: 8.551 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.1755, allocations: 31.98 kB / 0.622 GB, free: 8.52 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.1756, allocations: 28 kB / 0.6221 GB, free: 8.492 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1757, allocations: 147.6 kB / 0.6222 GB, free: 8.348 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1759, allocations: 163.4 kB / 0.6223 GB, free: 8.188 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1762, allocations: 275.4 kB / 0.6226 GB, free: 7.918 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1762, allocations: 4 kB / 0.6226 GB, free: 7.914 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1762, allocations: 0 / 0.6226 GB, free: 7.914 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1762, allocations: 0 / 0.6226 GB, free: 7.914 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002261/0.1785, allocations: 0.8076 MB / 0.6234 GB, free: 7.055 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1786, allocations: 8.031 kB / 0.6234 GB, free: 7.047 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1786, allocations: 32.66 kB / 0.6234 GB, free: 7.016 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.179, allocations: 240 kB / 0.6237 GB, free: 6.742 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.179, allocations: 20.81 kB / 0.6237 GB, free: 6.719 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.1791, allocations: 47.83 kB / 0.6237 GB, free: 6.672 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.1797, allocations: 382.9 kB / 0.6241 GB, free: 6.293 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1798, allocations: 4 kB / 0.6241 GB, free: 6.289 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.1798, allocations: 4 kB / 0.6241 GB, free: 6.285 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1798, allocations: 4 kB / 0.6241 GB, free: 6.281 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.1804, allocations: 329.5 kB / 0.6244 GB, free: 5.957 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.1813, allocations: 0.6081 MB / 0.625 GB, free: 5.301 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.1821, allocations: 479.9 kB / 0.6255 GB, free: 4.82 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.1825, allocations: 328.8 kB / 0.6258 GB, free: 4.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.1826, allocations: 4.438 kB / 0.6258 GB, free: 4.496 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1827, allocations: 38.94 kB / 0.6258 GB, free: 4.449 MB / 442.8 MB Notification: Performance of pre-optimization done (n=49): time 1.573e-06/0.1827, allocations: 4 kB / 0.6258 GB, free: 4.445 MB / 442.8 MB Notification: Performance of matching and sorting (n=49): time 0.001373/0.184, allocations: 0.8006 MB / 0.6266 GB, free: 3.637 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1841, allocations: 55.84 kB / 0.6267 GB, free: 3.57 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.1842, allocations: 136.6 kB / 0.6268 GB, free: 3.43 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1842, allocations: 41.7 kB / 0.6268 GB, free: 3.383 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1843, allocations: 101.1 kB / 0.6269 GB, free: 3.281 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1845, allocations: 205.1 kB / 0.6271 GB, free: 3.078 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1846, allocations: 118.3 kB / 0.6272 GB, free: 2.957 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1848, allocations: 346.7 kB / 0.6276 GB, free: 2.609 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.1853, allocations: 281.1 kB / 0.6278 GB, free: 2.336 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.1857, allocations: 285.7 kB / 0.6281 GB, free: 2.055 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.1866, allocations: 0.6108 MB / 0.6287 GB, free: 1.441 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1866, allocations: 0 / 0.6287 GB, free: 1.441 MB / 442.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001119/0.1878, allocations: 0.7234 MB / 0.6294 GB, free: 0.7109 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1878, allocations: 8 kB / 0.6294 GB, free: 0.7031 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1878, allocations: 3.984 kB / 0.6294 GB, free: 0.6992 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1878, allocations: 4 kB / 0.6294 GB, free: 0.6953 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.1889, allocations: 255.7 kB / 0.6297 GB, free: 456 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1889, allocations: 4 kB / 0.6297 GB, free: 452 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.1893, allocations: 63.5 kB / 0.6297 GB, free: 388 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1894, allocations: 16 kB / 0.6298 GB, free: 372 kB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.0001824/0.1896, allocations: 161.6 kB / 0.6299 GB, free: 200 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.1896, allocations: 23.72 kB / 0.6299 GB, free: 176 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1899, allocations: 78.28 kB / 0.63 GB, free: 96 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1899, allocations: 4 kB / 0.63 GB, free: 92 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1899, allocations: 0 / 0.63 GB, free: 92 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1899, allocations: 3.984 kB / 0.63 GB, free: 88 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.1905, allocations: 453.4 kB / 0.6305 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1905, allocations: 0 / 0.6305 GB, free: 15.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.1918, allocations: 263.7 kB / 0.6307 GB, free: 15.34 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1918, allocations: 3.938 kB / 0.6307 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.1919, allocations: 23.98 kB / 0.6307 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1919, allocations: 0 / 0.6307 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1919, allocations: 0 / 0.6307 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.2033, allocations: 5.706 MB / 0.6363 GB, free: 9.461 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.2034, allocations: 100.8 kB / 0.6364 GB, free: 9.344 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.2035, allocations: 19.98 kB / 0.6364 GB, free: 9.324 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.2039, allocations: 23.91 kB / 0.6364 GB, free: 9.301 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.204, allocations: 32.39 kB / 0.6365 GB, free: 9.27 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.204, allocations: 16 kB / 0.6365 GB, free: 9.254 MB / 458.8 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.2041, allocations: 95.27 kB / 0.6366 GB, free: 9.16 MB / 458.8 MB Notification: Performance of sort global known variables: time 1e-07/0.2041, allocations: 3.938 kB / 0.6366 GB, free: 9.156 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0005801/0.2047, allocations: 208 kB / 0.6368 GB, free: 8.953 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[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.0001555/0.2049, allocations: 119.2 kB / 0.6369 GB, free: 8.828 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2059, allocations: 0.6426 MB / 0.6375 GB, free: 8.184 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.206, allocations: 0 / 0.6375 GB, free: 8.184 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.2064, allocations: 318.3 kB / 0.6378 GB, free: 7.871 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2069, allocations: 65.05 kB / 0.6379 GB, free: 7.809 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.2107, allocations: 2.755 MB / 0.6406 GB, free: 5.008 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.211, allocations: 0.7888 MB / 0.6413 GB, free: 4.195 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0005989/0.2116, allocations: 208 kB / 0.6415 GB, free: 3.992 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.2119, allocations: 39.44 kB / 0.6416 GB, free: 3.953 MB / 458.8 MB Notification: Performance of SimCode: time 6.32e-07/0.2119, allocations: 0 / 0.6416 GB, free: 3.953 MB / 458.8 MB Notification: Performance of Templates: time 0.01253/0.2245, allocations: 8.47 MB / 0.6499 GB, free: 11.56 MB / 474.8 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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