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.001295/0.001295, allocations: 106.4 kB / 17.74 MB, free: 5.359 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.001198/0.001198, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9731/0.9731, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 65.02 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1446, allocations: 80.68 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002554/0.1472, allocations: 1.471 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.1476, allocations: 99.66 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1476, allocations: 0 / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1478, allocations: 7.922 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.1479, allocations: 67.7 kB / 0.6534 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1482, allocations: 31.89 kB / 0.6534 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000894/0.1491, allocations: 1.096 MB / 0.6545 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.1491, allocations: 8 kB / 0.6545 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.1497, allocations: 399.5 kB / 0.6549 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.1506, allocations: 0.5263 MB / 0.6554 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.1509, allocations: 60 kB / 0.6554 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.1511, allocations: 64 kB / 0.6555 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.1515, allocations: 367.2 kB / 0.6559 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008127/0.1524, allocations: 386.6 kB / 0.6562 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.1532, allocations: 0.662 MB / 0.6569 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1532, allocations: 0 / 0.6569 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1532, allocations: 0 / 0.6569 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.1532, allocations: 0 / 0.6569 GB, free: 6.41 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.004596/0.1578, allocations: 1.425 MB / 0.6583 GB, free: 4.93 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1579, allocations: 15.89 kB / 0.6583 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.1581, allocations: 60.38 kB / 0.6583 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.1588, allocations: 351.5 kB / 0.6587 GB, free: 4.473 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.1588, allocations: 57.69 kB / 0.6587 GB, free: 4.418 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.159, allocations: 104.1 kB / 0.6588 GB, free: 4.316 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1605, allocations: 0.8811 MB / 0.6597 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1605, allocations: 192 / 0.6597 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.1606, allocations: 31.92 kB / 0.6597 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1606, allocations: 12 kB / 0.6597 GB, free: 3.383 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1619, allocations: 0.7664 MB / 0.6605 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00591/0.1678, allocations: 4.31 MB / 0.6647 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.1693, allocations: 0.9877 MB / 0.6656 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/0.1703, allocations: 0.672 MB / 0.6663 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-05/0.1704, allocations: 9 kB / 0.6663 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1704, allocations: 43.5 kB / 0.6663 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=99): time 3.195e-06/0.1704, allocations: 0 / 0.6663 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99): time 0.002768/0.1732, allocations: 1.668 MB / 0.668 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1733, allocations: 64.39 kB / 0.668 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1734, allocations: 141.8 kB / 0.6682 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.1735, allocations: 49.7 kB / 0.6682 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1736, allocations: 153.8 kB / 0.6684 GB, free: 9.945 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.1739, allocations: 414.1 kB / 0.6688 GB, free: 9.535 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.1743, allocations: 219 kB / 0.669 GB, free: 9.316 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1744, allocations: 370.8 kB / 0.6693 GB, free: 8.945 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009344/0.1754, allocations: 0.5725 MB / 0.6699 GB, free: 8.371 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.1764, allocations: 0.6677 MB / 0.6705 GB, free: 7.699 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.1783, allocations: 1.262 MB / 0.6718 GB, free: 6.43 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1783, allocations: 0 / 0.6718 GB, free: 6.43 MB / 0.5139 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002308/0.1807, allocations: 1.48 MB / 0.6732 GB, free: 4.941 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1807, allocations: 7.938 kB / 0.6732 GB, free: 4.934 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1807, allocations: 4 kB / 0.6732 GB, free: 4.93 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1807, allocations: 11.88 kB / 0.6732 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.183, allocations: 0.5269 MB / 0.6738 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.183, allocations: 4 kB / 0.6738 GB, free: 4.387 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.1838, allocations: 126.9 kB / 0.6739 GB, free: 4.262 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.1839, allocations: 32 kB / 0.6739 GB, free: 4.23 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.0002949/0.1842, allocations: 218.4 kB / 0.6741 GB, free: 4.008 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.1843, allocations: 39.56 kB / 0.6742 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.1846, allocations: 152 kB / 0.6743 GB, free: 3.82 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1847, allocations: 7.969 kB / 0.6743 GB, free: 3.812 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1847, allocations: 7.938 kB / 0.6743 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.1848, allocations: 120.5 kB / 0.6744 GB, free: 3.668 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.1849, allocations: 39.97 kB / 0.6745 GB, free: 3.629 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.1856, allocations: 47.94 kB / 0.6745 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.1858, allocations: 64.89 kB / 0.6746 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006605/0.1924, allocations: 2.151 MB / 0.6767 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003289/0.1957, allocations: 2.278 MB / 0.6789 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009296/0.1966, allocations: 0.6439 MB / 0.6795 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.1967, allocations: 99.2 kB / 0.6796 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of Backend: time 3.81e-07/0.1967, allocations: 0 / 0.6796 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.1984, allocations: 0.9503 MB / 0.6806 GB, free: 13.36 MB / 0.5295 GB Notification: Performance of SimCode: time 0.004789/0.2032, allocations: 4.381 MB / 0.6848 GB, free: 8.922 MB / 0.5295 GB Notification: Performance of Templates: time 0.02213/0.2253, allocations: 13.95 MB / 0.6985 GB, free: 11.01 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