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.001865/0.001865, allocations: 108.6 kB / 17.06 MB, free: 6.02 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.002047/0.002047, allocations: 190.1 kB / 18 MB, free: 5.102 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.509/1.509, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.13/1.13, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 66.12 kB / 0.5723 GB, free: 38.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 80.69 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.003004/0.1801, allocations: 1.46 MB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.1805, allocations: 98.66 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1805, allocations: 4 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1807, allocations: 11.86 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1808, allocations: 63.7 kB / 0.6527 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1811, allocations: 27.94 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008843/0.182, allocations: 0.6317 MB / 0.6533 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1822, allocations: 12 kB / 0.6534 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.1825, allocations: 243.6 kB / 0.6536 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.183, allocations: 291.3 kB / 0.6539 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.1831, allocations: 32 kB / 0.6539 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.1832, allocations: 31.94 kB / 0.6539 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.1834, allocations: 183.6 kB / 0.6541 GB, free: 8.598 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.1836, allocations: 195.3 kB / 0.6543 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.184, allocations: 338.7 kB / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1841, allocations: 0 / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1841, allocations: 0 / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1841, allocations: 0 / 0.6546 GB, free: 8.074 MB / 0.4983 GB 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.002551/0.1866, allocations: 0.858 MB / 0.6554 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1867, allocations: 11.89 kB / 0.6555 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1868, allocations: 32.8 kB / 0.6555 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1872, allocations: 263.9 kB / 0.6557 GB, free: 6.82 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.1873, allocations: 32.94 kB / 0.6558 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1874, allocations: 48.33 kB / 0.6558 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.1882, allocations: 453.1 kB / 0.6562 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1883, allocations: 192 / 0.6562 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.1883, allocations: 11.94 kB / 0.6563 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.1883, allocations: 8 kB / 0.6563 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.1891, allocations: 377.9 kB / 0.6566 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.1929, allocations: 2.148 MB / 0.6587 GB, free: 3.488 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.194, allocations: 472.1 kB / 0.6592 GB, free: 3.02 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.1946, allocations: 322 kB / 0.6595 GB, free: 2.699 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.309e-05/0.1947, allocations: 4.438 kB / 0.6595 GB, free: 2.695 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1947, allocations: 46.88 kB / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 4.308e-06/0.1947, allocations: 0 / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001741/0.1965, allocations: 0.8008 MB / 0.6603 GB, free: 1.836 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1965, allocations: 55.84 kB / 0.6604 GB, free: 1.77 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1967, allocations: 145.3 kB / 0.6605 GB, free: 1.621 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1968, allocations: 33.7 kB / 0.6605 GB, free: 1.582 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1969, allocations: 121.2 kB / 0.6607 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.1971, allocations: 210.2 kB / 0.6609 GB, free: 1.25 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.1974, allocations: 118.3 kB / 0.661 GB, free: 1.129 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.1976, allocations: 342.8 kB / 0.6613 GB, free: 0.7852 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.1981, allocations: 281.1 kB / 0.6616 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.1987, allocations: 336.7 kB / 0.6619 GB, free: 176 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1998, allocations: 0.5999 MB / 0.6625 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1999, allocations: 0 / 0.6625 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001348/0.2012, allocations: 0.7312 MB / 0.6632 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.2012, allocations: 12.03 kB / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2013, allocations: 0 / 0.6632 GB, free: 14.82 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.2013, allocations: 4 kB / 0.6632 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.2025, allocations: 255.7 kB / 0.6634 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.2025, allocations: 8 kB / 0.6635 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2029, allocations: 63.58 kB / 0.6635 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.203, allocations: 16 kB / 0.6635 GB, free: 14.48 MB / 0.5139 GB 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.0002724/0.2033, allocations: 158.6 kB / 0.6637 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2034, allocations: 31.8 kB / 0.6637 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.2037, allocations: 82.27 kB / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.2037, allocations: 4 kB / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.2037, allocations: 0 / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2037, allocations: 0 / 0.6638 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.2044, allocations: 473.5 kB / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2044, allocations: 0 / 0.6642 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.2058, allocations: 259.7 kB / 0.6645 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2058, allocations: 0 / 0.6645 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.2059, allocations: 23.98 kB / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2059, allocations: 4 kB / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2059, allocations: 0 / 0.6645 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2077, allocations: 1.009 MB / 0.6655 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.208, allocations: 112.8 kB / 0.6656 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.2082, allocations: 15.98 kB / 0.6656 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.2087, allocations: 19.98 kB / 0.6656 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2088, allocations: 36.39 kB / 0.6657 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.2089, allocations: 15.98 kB / 0.6657 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.2089, allocations: 95.27 kB / 0.6658 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2089, allocations: 0 / 0.6658 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004639/0.2094, allocations: 152 kB / 0.6659 GB, free: 11.92 MB / 0.5139 GB 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.0001897/0.2096, allocations: 131.6 kB / 0.6661 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.2108, allocations: 0.6348 MB / 0.6667 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2109, allocations: 0 / 0.6667 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.2114, allocations: 318.3 kB / 0.667 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.2119, allocations: 67.95 kB / 0.667 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.2156, allocations: 2.291 MB / 0.6693 GB, free: 8.449 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.2161, allocations: 0.7917 MB / 0.6701 GB, free: 7.633 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000578/0.2167, allocations: 178.8 kB / 0.6702 GB, free: 7.457 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2169, allocations: 35.44 kB / 0.6703 GB, free: 7.426 MB / 0.5139 GB Notification: Performance of SimCode: time 1.253e-06/0.2169, allocations: 0 / 0.6703 GB, free: 7.426 MB / 0.5139 GB Notification: Performance of Templates: time 0.01214/0.229, allocations: 5.512 MB / 0.6756 GB, free: 2 MB / 0.5139 GB 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","/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