Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.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_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 103 kB / 17.74 MB, free: 5.316 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.001076/0.001076, allocations: 198.5 kB / 18.67 MB, free: 4.395 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.257/1.257, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8957/0.8957, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.27 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 80.69 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40): time 0.002562/0.1351, allocations: 1.483 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003108/0.1354, allocations: 95.7 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.1355, allocations: 4 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.826e-05/0.1356, allocations: 11.86 kB / 0.6533 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1358, allocations: 59.72 kB / 0.6534 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.136, allocations: 39.91 kB / 0.6534 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1378, allocations: 2.376 MB / 0.6557 GB, free: 7.551 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.1378, allocations: 12 kB / 0.6558 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.139, allocations: 0.8974 MB / 0.6566 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1407, allocations: 1.057 MB / 0.6577 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004746/0.1412, allocations: 128 kB / 0.6578 GB, free: 5.457 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1416, allocations: 124 kB / 0.6579 GB, free: 5.336 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000673/0.1423, allocations: 0.7327 MB / 0.6586 GB, free: 4.602 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.1436, allocations: 0.763 MB / 0.6594 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1449, allocations: 1.312 MB / 0.6607 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1449, allocations: 0 / 0.6607 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1449, allocations: 0 / 0.6607 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.69e-05/0.1449, allocations: 0 / 0.6607 GB, free: 2.52 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.008387/0.1533, allocations: 2.583 MB / 0.6632 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1534, allocations: 15.89 kB / 0.6632 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.1537, allocations: 119.8 kB / 0.6633 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1549, allocations: 0.5222 MB / 0.6638 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.155, allocations: 114.6 kB / 0.6639 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/0.1553, allocations: 204 kB / 0.6641 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.1581, allocations: 1.762 MB / 0.6658 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.1581, allocations: 8.109 kB / 0.6658 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.1583, allocations: 43.94 kB / 0.6659 GB, free: 13.03 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1583, allocations: 28 kB / 0.6659 GB, free: 13 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1608, allocations: 1.574 MB / 0.6675 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.173, allocations: 8.67 MB / 0.6759 GB, free: 1.723 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.1761, allocations: 2.066 MB / 0.6779 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.1781, allocations: 1.365 MB / 0.6793 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.1783, allocations: 22 kB / 0.6793 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.1783, allocations: 48.56 kB / 0.6793 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=199): time 4.438e-06/0.1783, allocations: 4 kB / 0.6793 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of matching and sorting (n=199): time 0.005671/0.184, allocations: 3.33 MB / 0.6826 GB, free: 10.86 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1841, allocations: 77.34 kB / 0.6827 GB, free: 10.77 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1842, allocations: 164.7 kB / 0.6828 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.1844, allocations: 77.7 kB / 0.6829 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1846, allocations: 219.4 kB / 0.6831 GB, free: 10.3 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.1852, allocations: 0.8164 MB / 0.6839 GB, free: 9.473 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006997/0.1859, allocations: 437.2 kB / 0.6843 GB, free: 9.039 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1861, allocations: 325.9 kB / 0.6846 GB, free: 8.715 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.1879, allocations: 1.164 MB / 0.6858 GB, free: 7.547 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.19, allocations: 1.349 MB / 0.6871 GB, free: 6.184 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/0.1941, allocations: 2.547 MB / 0.6896 GB, free: 3.605 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1941, allocations: 0 / 0.6896 GB, free: 3.605 MB / 0.5295 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004893/0.199, allocations: 2.967 MB / 0.6925 GB, free: 0.5977 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1991, allocations: 8 kB / 0.6925 GB, free: 0.5898 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1991, allocations: 0 / 0.6925 GB, free: 0.5898 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.1991, allocations: 11.94 kB / 0.6925 GB, free: 0.5781 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/0.2038, allocations: 1.085 MB / 0.6935 GB, free: 15.49 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/0.2038, allocations: 8 kB / 0.6936 GB, free: 15.48 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.2054, allocations: 242 kB / 0.6938 GB, free: 15.25 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.2056, allocations: 72 kB / 0.6939 GB, free: 15.18 MB / 0.5452 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 (317): * Single equations (assignments): 317 * 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.00054/0.2062, allocations: 326.1 kB / 0.6942 GB, free: 14.85 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2064, allocations: 79.14 kB / 0.6942 GB, free: 14.77 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.2073, allocations: 299.3 kB / 0.6945 GB, free: 14.48 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.2073, allocations: 7.969 kB / 0.6945 GB, free: 14.47 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2073, allocations: 4 kB / 0.6945 GB, free: 14.46 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2074, allocations: 163.9 kB / 0.6947 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.2077, allocations: 83.92 kB / 0.6948 GB, free: 14.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.2091, allocations: 103.9 kB / 0.6949 GB, free: 14.1 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/0.2095, allocations: 133.8 kB / 0.695 GB, free: 13.97 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01374/0.2232, allocations: 4.31 MB / 0.6992 GB, free: 9.652 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007111/0.2304, allocations: 4.458 MB / 0.7036 GB, free: 5.168 MB / 0.5452 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002137/0.2325, allocations: 1.315 MB / 0.7048 GB, free: 3.855 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.2326, allocations: 95.27 kB / 0.7049 GB, free: 3.762 MB / 0.5452 GB Notification: Performance of Backend: time 2.9e-07/0.2326, allocations: 0 / 0.7049 GB, free: 3.762 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.003667/0.2363, allocations: 1.851 MB / 0.7067 GB, free: 1.902 MB / 0.5452 GB Notification: Performance of SimCode: time 0.01065/0.247, allocations: 8.387 MB / 0.7149 GB, free: 9.449 MB / 0.5608 GB Notification: Performance of Templates: time 0.04285/0.2899, allocations: 28.15 MB / 0.7424 GB, free: 13.32 MB / 0.592 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches