Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 192.9 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 10.96 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.001113/0.001113, allocations: 105.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8318/0.8318, allocations: 119.3 MB / 460.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 47.92 kB / 0.5404 GB, free: 41.98 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1788, allocations: 80.7 MB / 0.6192 GB, free: 11.36 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20): time 0.002834/0.1816, allocations: 1.492 MB / 0.6207 GB, free: 9.855 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.182, allocations: 88.3 kB / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.182, allocations: 0 / 0.6208 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1822, allocations: 7.922 kB / 0.6208 GB, free: 9.762 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1823, allocations: 43.8 kB / 0.6208 GB, free: 9.719 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1825, allocations: 31.95 kB / 0.6209 GB, free: 9.688 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1836, allocations: 1.174 MB / 0.622 GB, free: 8.512 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.1837, allocations: 8.188 kB / 0.622 GB, free: 8.504 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.1842, allocations: 455.2 kB / 0.6225 GB, free: 8.059 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.185, allocations: 0.5341 MB / 0.623 GB, free: 7.523 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1852, allocations: 56 kB / 0.623 GB, free: 7.469 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1853, allocations: 56 kB / 0.6231 GB, free: 7.414 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.1856, allocations: 303.3 kB / 0.6234 GB, free: 7.117 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.186, allocations: 318.9 kB / 0.6237 GB, free: 6.805 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.1865, allocations: 0.5454 MB / 0.6242 GB, free: 6.258 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1865, allocations: 0 / 0.6242 GB, free: 6.258 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1865, allocations: 0 / 0.6242 GB, free: 6.258 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1865, allocations: 0 / 0.6242 GB, free: 6.258 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004205/0.1907, allocations: 1.335 MB / 0.6255 GB, free: 4.875 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1908, allocations: 8.031 kB / 0.6255 GB, free: 4.867 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1909, allocations: 48.47 kB / 0.6256 GB, free: 4.82 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.1915, allocations: 327.7 kB / 0.6259 GB, free: 4.461 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.1916, allocations: 52.94 kB / 0.6259 GB, free: 4.406 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1918, allocations: 87.8 kB / 0.626 GB, free: 4.32 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.193, allocations: 0.7401 MB / 0.6267 GB, free: 3.574 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.193, allocations: 0 / 0.6267 GB, free: 3.574 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.1931, allocations: 23.94 kB / 0.6268 GB, free: 3.551 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1931, allocations: 8 kB / 0.6268 GB, free: 3.543 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1942, allocations: 0.6714 MB / 0.6274 GB, free: 2.871 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.1959, allocations: 1.005 MB / 0.6284 GB, free: 1.809 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.1975, allocations: 0.9759 MB / 0.6294 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/0.1984, allocations: 0.6642 MB / 0.63 GB, free: 164 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.846e-05/0.1985, allocations: 9 kB / 0.63 GB, free: 152 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1986, allocations: 43.56 kB / 0.6301 GB, free: 100 kB / 442.8 MB Notification: Performance of pre-optimization done (n=99): time 2.805e-06/0.1986, allocations: 0 / 0.6301 GB, free: 100 kB / 442.8 MB Notification: Performance of matching and sorting (n=99): time 0.002706/0.2013, allocations: 1.648 MB / 0.6317 GB, free: 14.44 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.2014, allocations: 64.41 kB / 0.6317 GB, free: 14.37 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2015, allocations: 150 kB / 0.6319 GB, free: 14.21 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.2016, allocations: 53.7 kB / 0.6319 GB, free: 14.16 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.2016, allocations: 102.1 kB / 0.632 GB, free: 14.05 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.2019, allocations: 422 kB / 0.6324 GB, free: 13.63 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.2023, allocations: 226.9 kB / 0.6326 GB, free: 13.41 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2024, allocations: 374.7 kB / 0.633 GB, free: 13.03 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.2033, allocations: 0.5764 MB / 0.6336 GB, free: 12.45 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.2042, allocations: 0.5854 MB / 0.6341 GB, free: 11.87 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.206, allocations: 1.249 MB / 0.6354 GB, free: 10.62 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.206, allocations: 4 kB / 0.6354 GB, free: 10.61 MB / 458.8 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002258/0.2083, allocations: 1.472 MB / 0.6368 GB, free: 9.133 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2083, allocations: 4 kB / 0.6368 GB, free: 9.129 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2083, allocations: 4 kB / 0.6368 GB, free: 9.125 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.2084, allocations: 7.938 kB / 0.6368 GB, free: 9.117 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.2106, allocations: 0.5269 MB / 0.6373 GB, free: 8.59 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.2106, allocations: 4 kB / 0.6373 GB, free: 8.586 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.2114, allocations: 119 kB / 0.6374 GB, free: 8.469 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.2115, allocations: 39.98 kB / 0.6375 GB, free: 8.43 MB / 458.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 (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.0002749/0.2118, allocations: 197.5 kB / 0.6377 GB, free: 8.227 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.212, allocations: 43.53 kB / 0.6377 GB, free: 8.184 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.2125, allocations: 151.9 kB / 0.6379 GB, free: 8.031 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2125, allocations: 12 kB / 0.6379 GB, free: 8.02 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.2125, allocations: 0 / 0.6379 GB, free: 8.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2125, allocations: 7.922 kB / 0.6379 GB, free: 8.012 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.2135, allocations: 0.7549 MB / 0.6386 GB, free: 7.207 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2135, allocations: 0 / 0.6386 GB, free: 7.207 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.2162, allocations: 0.5269 MB / 0.6391 GB, free: 6.68 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.2162, allocations: 4 kB / 0.6391 GB, free: 6.676 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.2163, allocations: 43.95 kB / 0.6392 GB, free: 6.633 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.2164, allocations: 8 kB / 0.6392 GB, free: 6.625 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2164, allocations: 0 / 0.6392 GB, free: 6.625 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/0.2402, allocations: 11.07 MB / 0.65 GB, free: 11.39 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.2404, allocations: 128.5 kB / 0.6501 GB, free: 11.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.2405, allocations: 39.91 kB / 0.6502 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.2413, allocations: 51.94 kB / 0.6502 GB, free: 11.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.2415, allocations: 68.86 kB / 0.6503 GB, free: 11.09 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.2416, allocations: 23.98 kB / 0.6503 GB, free: 11.07 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.2416, allocations: 99.27 kB / 0.6504 GB, free: 10.97 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.2417, allocations: 0 / 0.6504 GB, free: 10.97 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0008794/0.2425, allocations: 428 kB / 0.6508 GB, free: 10.55 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[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.0002065/0.2428, allocations: 156.8 kB / 0.6509 GB, free: 10.39 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.2447, allocations: 1.326 MB / 0.6522 GB, free: 9.062 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2448, allocations: 0 / 0.6522 GB, free: 9.062 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.2458, allocations: 0.6576 MB / 0.6529 GB, free: 8.402 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.2464, allocations: 129 kB / 0.653 GB, free: 8.277 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008571/0.255, allocations: 5.534 MB / 0.6584 GB, free: 2.703 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.2555, allocations: 0.9003 MB / 0.6593 GB, free: 1.773 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001497/0.257, allocations: 451 kB / 0.6597 GB, free: 1.332 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.2576, allocations: 67.42 kB / 0.6598 GB, free: 1.266 MB / 474.8 MB Notification: Performance of SimCode: time 1.012e-06/0.2576, allocations: 0 / 0.6598 GB, free: 1.266 MB / 474.8 MB Notification: Performance of Templates: time 0.02701/0.2846, allocations: 17.43 MB / 0.6768 GB, free: 15.95 MB / 0.4949 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches