Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 115.1 kB / 17.75 MB, free: 5.309 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.002165/0.002165, allocations: 189.3 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.119/1.119, allocations: 119.3 MB / 411.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 62.72 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1686, allocations: 80.68 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40): time 0.003096/0.1717, allocations: 1.482 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004001/0.1722, allocations: 91.72 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.1722, allocations: 3.938 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1724, allocations: 11.92 kB / 0.6533 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1725, allocations: 55.72 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1728, allocations: 35.94 kB / 0.6534 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.1747, allocations: 2.126 MB / 0.6555 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.1748, allocations: 12 kB / 0.6555 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1761, allocations: 0.7492 MB / 0.6562 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1781, allocations: 1.018 MB / 0.6572 GB, free: 6.035 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0005422/0.1786, allocations: 128 kB / 0.6574 GB, free: 5.91 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.1791, allocations: 128 kB / 0.6575 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.1797, allocations: 0.7327 MB / 0.6582 GB, free: 5.051 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000997/0.1807, allocations: 0.7591 MB / 0.6589 GB, free: 4.289 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1818, allocations: 1.316 MB / 0.6602 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1818, allocations: 0 / 0.6602 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1818, allocations: 0 / 0.6602 GB, free: 2.969 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.1819, allocations: 0 / 0.6602 GB, free: 2.969 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.008342/0.1902, allocations: 2.583 MB / 0.6627 GB, free: 336 kB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1903, allocations: 11.89 kB / 0.6627 GB, free: 324 kB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.1906, allocations: 123.8 kB / 0.6629 GB, free: 200 kB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1918, allocations: 0.5183 MB / 0.6634 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/0.1919, allocations: 114.6 kB / 0.6635 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/0.1923, allocations: 208 kB / 0.6637 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.1951, allocations: 1.766 MB / 0.6654 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1951, allocations: 4.125 kB / 0.6654 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.1953, allocations: 43.94 kB / 0.6655 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.1953, allocations: 28 kB / 0.6655 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.1979, allocations: 1.582 MB / 0.667 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2116, allocations: 8.666 MB / 0.6755 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.215, allocations: 2.082 MB / 0.6775 GB, free: 80 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.2172, allocations: 1.385 MB / 0.6789 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.2174, allocations: 22 kB / 0.6789 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.2174, allocations: 52.56 kB / 0.6789 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=199): time 7.043e-06/0.2175, allocations: 4 kB / 0.6789 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of matching and sorting (n=199): time 0.005924/0.2234, allocations: 3.365 MB / 0.6822 GB, free: 11.23 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2235, allocations: 69.41 kB / 0.6823 GB, free: 11.15 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2237, allocations: 169.8 kB / 0.6825 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.2239, allocations: 73.7 kB / 0.6825 GB, free: 10.9 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2241, allocations: 219.4 kB / 0.6827 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007121/0.2248, allocations: 0.8125 MB / 0.6835 GB, free: 9.852 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/0.2255, allocations: 445.2 kB / 0.684 GB, free: 9.41 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2257, allocations: 314 kB / 0.6843 GB, free: 9.098 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.2276, allocations: 1.172 MB / 0.6854 GB, free: 7.922 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.2297, allocations: 1.357 MB / 0.6867 GB, free: 6.551 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/0.2341, allocations: 2.578 MB / 0.6892 GB, free: 3.941 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.2341, allocations: 0 / 0.6892 GB, free: 3.941 MB / 0.5295 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005137/0.2393, allocations: 2.967 MB / 0.6921 GB, free: 0.9336 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2393, allocations: 8 kB / 0.6922 GB, free: 0.9258 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2393, allocations: 0 / 0.6922 GB, free: 0.9258 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.2394, allocations: 15.94 kB / 0.6922 GB, free: 0.9102 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004731/0.2441, allocations: 1.085 MB / 0.6932 GB, free: 15.82 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/0.2442, allocations: 8 kB / 0.6932 GB, free: 15.82 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.2461, allocations: 249.9 kB / 0.6935 GB, free: 15.57 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.2464, allocations: 68 kB / 0.6935 GB, free: 15.5 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.0007537/0.2471, allocations: 330.1 kB / 0.6939 GB, free: 15.17 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.2475, allocations: 79.14 kB / 0.6939 GB, free: 15.09 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.2482, allocations: 299.3 kB / 0.6942 GB, free: 14.8 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.2483, allocations: 11.97 kB / 0.6942 GB, free: 14.79 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2483, allocations: 0 / 0.6942 GB, free: 14.79 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.2485, allocations: 163.9 kB / 0.6944 GB, free: 14.61 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.2488, allocations: 79.94 kB / 0.6945 GB, free: 14.53 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.2504, allocations: 103.9 kB / 0.6946 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/0.2508, allocations: 133.8 kB / 0.6947 GB, free: 14.3 MB / 0.5452 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01491/0.2657, allocations: 4.314 MB / 0.6989 GB, free: 9.977 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007807/0.2735, allocations: 4.466 MB / 0.7033 GB, free: 5.484 MB / 0.5452 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002089/0.2757, allocations: 1.307 MB / 0.7045 GB, free: 4.18 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 8.568e-05/0.2758, allocations: 102.5 kB / 0.7046 GB, free: 4.082 MB / 0.5452 GB Notification: Performance of Backend: time 7.02e-07/0.2758, allocations: 0 / 0.7046 GB, free: 4.082 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.2796, allocations: 1.866 MB / 0.7065 GB, free: 2.207 MB / 0.5452 GB Notification: Performance of SimCode: time 0.01123/0.2909, allocations: 8.383 MB / 0.7146 GB, free: 9.762 MB / 0.5608 GB Notification: Performance of Templates: time 0.04627/0.3372, allocations: 28.16 MB / 0.7421 GB, free: 13.62 MB / 0.592 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches