Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001261/0.001261, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.916/0.916, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.39 kB / 0.573 GB, free: 38.93 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1565, allocations: 80.69 MB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002317/0.1588, allocations: 1.471 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.1592, allocations: 95.66 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.1592, allocations: 0 / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1593, allocations: 11.92 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1595, allocations: 67.64 kB / 0.6534 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1597, allocations: 23.95 kB / 0.6534 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.1606, allocations: 1.092 MB / 0.6545 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.1606, allocations: 8 kB / 0.6545 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.161, allocations: 399.5 kB / 0.6549 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007483/0.1618, allocations: 0.5185 MB / 0.6554 GB, free: 7.938 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1619, allocations: 64 kB / 0.6554 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1621, allocations: 64 kB / 0.6555 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.1624, allocations: 371.1 kB / 0.6558 GB, free: 7.449 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.1628, allocations: 390.6 kB / 0.6562 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.1633, allocations: 0.6581 MB / 0.6569 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1634, allocations: 0 / 0.6569 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1634, allocations: 0 / 0.6569 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.1634, allocations: 0 / 0.6569 GB, free: 6.406 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004128/0.1675, allocations: 1.425 MB / 0.6582 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1676, allocations: 15.89 kB / 0.6583 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1677, allocations: 60.38 kB / 0.6583 GB, free: 4.852 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1684, allocations: 351.5 kB / 0.6587 GB, free: 4.469 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.1684, allocations: 57.69 kB / 0.6587 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.1686, allocations: 100.1 kB / 0.6588 GB, free: 4.316 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.17, allocations: 0.885 MB / 0.6597 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.17, allocations: 192 / 0.6597 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/0.1701, allocations: 23.94 kB / 0.6597 GB, free: 3.398 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1701, allocations: 12 kB / 0.6597 GB, free: 3.387 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1713, allocations: 0.7742 MB / 0.6605 GB, free: 2.613 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.1772, allocations: 4.31 MB / 0.6647 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.1786, allocations: 0.9877 MB / 0.6656 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/0.1796, allocations: 0.6758 MB / 0.6663 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.963e-05/0.1796, allocations: 13 kB / 0.6663 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1797, allocations: 51.44 kB / 0.6664 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 2.505e-06/0.1797, allocations: 0 / 0.6664 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002794/0.1825, allocations: 1.656 MB / 0.668 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1826, allocations: 60.41 kB / 0.668 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1827, allocations: 144.6 kB / 0.6682 GB, free: 10.15 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.1828, allocations: 49.7 kB / 0.6682 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/0.1829, allocations: 161.8 kB / 0.6684 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.1832, allocations: 414.1 kB / 0.6688 GB, free: 9.523 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.1836, allocations: 219 kB / 0.669 GB, free: 9.305 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1837, allocations: 366.8 kB / 0.6693 GB, free: 8.938 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008938/0.1846, allocations: 0.5725 MB / 0.6699 GB, free: 8.363 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.1856, allocations: 0.6677 MB / 0.6705 GB, free: 7.691 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.1876, allocations: 1.266 MB / 0.6718 GB, free: 6.418 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1876, allocations: 0 / 0.6718 GB, free: 6.418 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00236/0.1899, allocations: 1.48 MB / 0.6732 GB, free: 4.93 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.19, allocations: 11.94 kB / 0.6732 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.19, allocations: 0 / 0.6732 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.19, allocations: 4 kB / 0.6732 GB, free: 4.914 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.1922, allocations: 0.5307 MB / 0.6737 GB, free: 4.383 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.1923, allocations: 4 kB / 0.6738 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.193, allocations: 122.9 kB / 0.6739 GB, free: 4.258 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.1931, allocations: 32 kB / 0.6739 GB, free: 4.227 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 (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.0003121/0.1934, allocations: 222.5 kB / 0.6741 GB, free: 4 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1935, allocations: 43.56 kB / 0.6742 GB, free: 3.957 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.1939, allocations: 148 kB / 0.6743 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1939, allocations: 11.94 kB / 0.6743 GB, free: 3.801 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1939, allocations: 3.938 kB / 0.6743 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1939, allocations: 3.984 kB / 0.6743 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.195, allocations: 0.7979 MB / 0.6751 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.195, allocations: 0 / 0.6751 GB, free: 2.941 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.1977, allocations: 0.523 MB / 0.6756 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.487e-06/0.1977, allocations: 11.92 kB / 0.6756 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.1978, allocations: 43.97 kB / 0.6757 GB, free: 2.363 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1978, allocations: 4 kB / 0.6757 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1978, allocations: 0 / 0.6757 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.2006, allocations: 1.968 MB / 0.6776 GB, free: 388 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.2008, allocations: 132.3 kB / 0.6777 GB, free: 236 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.2009, allocations: 39.95 kB / 0.6777 GB, free: 196 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/0.2016, allocations: 47.95 kB / 0.6778 GB, free: 148 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.2018, allocations: 60.91 kB / 0.6778 GB, free: 88 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.2019, allocations: 23.94 kB / 0.6779 GB, free: 64 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.202, allocations: 107.2 kB / 0.678 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.4e-07/0.202, allocations: 4 kB / 0.678 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000619/0.2026, allocations: 307.8 kB / 0.6783 GB, free: 15.65 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[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.0002135/0.2028, allocations: 154.2 kB / 0.6784 GB, free: 15.49 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.2048, allocations: 1.338 MB / 0.6797 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2048, allocations: 0 / 0.6797 GB, free: 14.15 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.2057, allocations: 0.6576 MB / 0.6804 GB, free: 13.49 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.2063, allocations: 143.9 kB / 0.6805 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.2122, allocations: 4.67 MB / 0.6851 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.2127, allocations: 0.9182 MB / 0.686 GB, free: 7.703 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.2132, allocations: 55.44 kB / 0.686 GB, free: 7.648 MB / 0.5295 GB Notification: Performance of SimCode: time 6.82e-07/0.2132, allocations: 0 / 0.686 GB, free: 7.648 MB / 0.5295 GB Notification: Performance of Templates: time 0.01379/0.227, allocations: 10.81 MB / 0.6966 GB, free: 12.84 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches