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.001204/0.001204, allocations: 108.7 kB / 17.75 MB, free: 5.305 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.001128/0.001128, allocations: 183 kB / 18.67 MB, free: 4.387 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.382/1.382, 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.9891/0.9891, allocations: 119.3 MB / 411.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.89 kB / 0.573 GB, free: 38.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 80.68 MB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002586/0.1571, allocations: 1.471 MB / 0.6532 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.1574, allocations: 95.7 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.1575, allocations: 3.938 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1576, allocations: 11.92 kB / 0.6533 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1577, allocations: 63.7 kB / 0.6534 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.158, allocations: 27.95 kB / 0.6534 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009528/0.159, allocations: 1.096 MB / 0.6545 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.704e-05/0.159, allocations: 8 kB / 0.6545 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1594, allocations: 391.5 kB / 0.6549 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.1602, allocations: 0.5302 MB / 0.6554 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.1603, allocations: 60 kB / 0.6554 GB, free: 7.855 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1605, allocations: 64 kB / 0.6555 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.1608, allocations: 367.2 kB / 0.6558 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.1613, allocations: 390.6 kB / 0.6562 GB, free: 7.051 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.1619, allocations: 0.6581 MB / 0.6569 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1619, allocations: 0 / 0.6569 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1619, allocations: 0 / 0.6569 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.1619, allocations: 0 / 0.6569 GB, free: 6.391 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.004459/0.1664, allocations: 1.421 MB / 0.6582 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.1665, allocations: 15.89 kB / 0.6583 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1666, allocations: 64.38 kB / 0.6583 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.1674, allocations: 359.5 kB / 0.6587 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.1674, allocations: 57.69 kB / 0.6587 GB, free: 4.391 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1676, allocations: 100.1 kB / 0.6588 GB, free: 4.293 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.169, allocations: 0.8812 MB / 0.6597 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1691, allocations: 192 / 0.6597 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.1692, allocations: 31.92 kB / 0.6597 GB, free: 3.371 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1692, allocations: 12 kB / 0.6597 GB, free: 3.359 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.1704, allocations: 0.7664 MB / 0.6605 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006294/0.1767, allocations: 4.31 MB / 0.6647 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1783, allocations: 0.9916 MB / 0.6656 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000988/0.1793, allocations: 0.6681 MB / 0.6663 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/0.1794, allocations: 13 kB / 0.6663 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.1794, allocations: 51.5 kB / 0.6664 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 3.968e-06/0.1794, allocations: 0 / 0.6664 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002833/0.1823, allocations: 1.652 MB / 0.668 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1823, allocations: 64.41 kB / 0.668 GB, free: 10.29 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1825, allocations: 152.4 kB / 0.6682 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/0.1826, allocations: 49.7 kB / 0.6682 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.1827, allocations: 153.7 kB / 0.6684 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.183, allocations: 418.1 kB / 0.6688 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.1834, allocations: 223 kB / 0.669 GB, free: 9.281 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1835, allocations: 366.8 kB / 0.6693 GB, free: 8.914 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.1844, allocations: 0.5725 MB / 0.6699 GB, free: 8.34 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009426/0.1854, allocations: 0.6677 MB / 0.6705 GB, free: 7.668 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.1873, allocations: 1.262 MB / 0.6718 GB, free: 6.398 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1873, allocations: 0 / 0.6718 GB, free: 6.398 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002326/0.1897, allocations: 1.48 MB / 0.6732 GB, free: 4.91 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.1897, allocations: 7.938 kB / 0.6732 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1897, allocations: 0 / 0.6732 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.1898, allocations: 8 kB / 0.6732 GB, free: 4.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/0.192, allocations: 0.5269 MB / 0.6738 GB, free: 4.367 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.192, allocations: 11.98 kB / 0.6738 GB, free: 4.355 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.1928, allocations: 118.9 kB / 0.6739 GB, free: 4.238 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.1929, allocations: 36 kB / 0.6739 GB, free: 4.203 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.0003406/0.1932, allocations: 222.4 kB / 0.6741 GB, free: 3.977 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.1934, allocations: 43.56 kB / 0.6742 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.1939, allocations: 144 kB / 0.6743 GB, free: 3.793 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.1939, allocations: 11.97 kB / 0.6743 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1939, allocations: 3.938 kB / 0.6743 GB, free: 3.777 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.194, allocations: 120.5 kB / 0.6744 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.1942, allocations: 39.97 kB / 0.6745 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/0.1949, allocations: 47.94 kB / 0.6745 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.1951, allocations: 68.89 kB / 0.6746 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00708/0.2022, allocations: 2.144 MB / 0.6767 GB, free: 1.336 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003452/0.2057, allocations: 2.282 MB / 0.6789 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000999/0.2067, allocations: 0.64 MB / 0.6795 GB, free: 14.39 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 7.486e-05/0.2068, allocations: 99.27 kB / 0.6796 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of Backend: time 6.11e-07/0.2068, allocations: 0 / 0.6796 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.2089, allocations: 0.9387 MB / 0.6805 GB, free: 13.35 MB / 0.5295 GB Notification: Performance of SimCode: time 0.005423/0.2143, allocations: 4.397 MB / 0.6848 GB, free: 8.895 MB / 0.5295 GB Notification: Performance of Templates: time 0.02133/0.2357, allocations: 13.95 MB / 0.6985 GB, free: 10.98 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