Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.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_160,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.160.|TA.1.|TA.2.|TA.3.|TB.160.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.160..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.160.|TA.1.|TA.2.|TA.3.|TB.160.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.160..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 111.7 kB / 17.75 MB, free: 5.312 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.001164/0.001164, allocations: 190.6 kB / 18.68 MB, free: 4.391 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.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.029/1.029, allocations: 119.3 MB / 411.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 61.97 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1538, allocations: 80.69 MB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160): time 0.002602/0.1564, allocations: 1.478 MB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003437/0.1568, allocations: 95.66 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.1568, allocations: 4 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.157, allocations: 7.922 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1571, allocations: 63.64 kB / 0.6534 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1574, allocations: 35.94 kB / 0.6534 GB, free: 9.965 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007589/0.165, allocations: 9.371 MB / 0.6626 GB, free: 0.582 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1652, allocations: 47.92 kB / 0.6626 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.1704, allocations: 3.528 MB / 0.6661 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007333/0.1778, allocations: 4.149 MB / 0.6701 GB, free: 8.848 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.1796, allocations: 0.4961 MB / 0.6706 GB, free: 8.352 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.181, allocations: 0.4922 MB / 0.6711 GB, free: 7.859 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.1835, allocations: 2.95 MB / 0.674 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.005816/0.1894, allocations: 3.021 MB / 0.6769 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.1947, allocations: 5.265 MB / 0.6821 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1947, allocations: 0 / 0.6821 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1947, allocations: 0 / 0.6821 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.000129/0.1948, allocations: 0 / 0.6821 GB, free: 12.59 MB / 0.5295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.03387/0.2287, allocations: 9.535 MB / 0.6914 GB, free: 2.973 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.2288, allocations: 11.89 kB / 0.6914 GB, free: 2.961 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.23, allocations: 468.6 kB / 0.6918 GB, free: 2.5 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.2342, allocations: 1.584 MB / 0.6934 GB, free: 0.8711 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.2345, allocations: 449.1 kB / 0.6938 GB, free: 440 kB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.2359, allocations: 0.811 MB / 0.6946 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.2492, allocations: 7.105 MB / 0.7015 GB, free: 8.457 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.2493, allocations: 4.172 kB / 0.7015 GB, free: 8.453 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007617/0.2501, allocations: 175.9 kB / 0.7017 GB, free: 8.281 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.771e-05/0.2502, allocations: 108 kB / 0.7018 GB, free: 8.176 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.2624, allocations: 6.456 MB / 0.7081 GB, free: 1.703 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/0.3226, allocations: 35.68 MB / 0.743 GB, free: 9.688 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.3393, allocations: 9.896 MB / 0.7526 GB, free: 15.77 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/0.3495, allocations: 5.673 MB / 0.7582 GB, free: 10.08 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.351, allocations: 82.27 kB / 0.7582 GB, free: 10 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.3512, allocations: 116.8 kB / 0.7583 GB, free: 9.875 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=799): time 1.538e-05/0.3512, allocations: 0 / 0.7583 GB, free: 9.875 MB / 0.6077 GB Notification: Performance of matching and sorting (n=799): time 0.7616/1.113, allocations: 13.45 MB / 0.7715 GB, free: 108.5 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/1.113, allocations: 138.7 kB / 0.7716 GB, free: 108.4 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/1.113, allocations: 276.8 kB / 0.7719 GB, free: 108.3 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.002394/1.116, allocations: 222.8 kB / 0.7721 GB, free: 108.3 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/1.116, allocations: 0.5966 MB / 0.7727 GB, free: 108 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.004112/1.121, allocations: 3.276 MB / 0.7759 GB, free: 105.5 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003524/1.124, allocations: 1.729 MB / 0.7776 GB, free: 104.8 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/1.124, allocations: 310.5 kB / 0.7778 GB, free: 104.5 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/1.135, allocations: 4.793 MB / 0.7825 GB, free: 103.1 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/1.147, allocations: 5.493 MB / 0.7879 GB, free: 101.5 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02065/1.168, allocations: 10.41 MB / 0.7981 GB, free: 97.82 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/1.168, allocations: 0 / 0.7981 GB, free: 97.82 MB / 0.6079 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.02583/1.194, allocations: 11.98 MB / 0.8098 GB, free: 89.2 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.194, allocations: 7.469 kB / 0.8098 GB, free: 89.2 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.194, allocations: 1.594 kB / 0.8098 GB, free: 89.2 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/1.194, allocations: 44 kB / 0.8098 GB, free: 89.15 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01946/1.214, allocations: 4.373 MB / 0.8141 GB, free: 84.87 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002473/1.214, allocations: 40 kB / 0.8141 GB, free: 84.83 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008184/1.222, allocations: 0.9584 MB / 0.8151 GB, free: 83.94 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/1.224, allocations: 280 kB / 0.8153 GB, free: 83.67 MB / 0.6079 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 (1277): * Single equations (assignments): 1277 * 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.00462/1.229, allocations: 0.9669 MB / 0.8163 GB, free: 82.69 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/1.231, allocations: 285 kB / 0.8165 GB, free: 82.41 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/1.235, allocations: 1.146 MB / 0.8177 GB, free: 81.26 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001555/1.235, allocations: 42.58 kB / 0.8177 GB, free: 81.22 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.235, allocations: 10.23 kB / 0.8177 GB, free: 81.21 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008516/1.236, allocations: 424.2 kB / 0.8181 GB, free: 80.78 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/1.238, allocations: 311.7 kB / 0.8184 GB, free: 80.47 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007429/1.246, allocations: 437.8 kB / 0.8188 GB, free: 80.12 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/1.248, allocations: 0.5091 MB / 0.8193 GB, free: 79.61 MB / 0.6079 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06338/1.311, allocations: 17.33 MB / 0.8363 GB, free: 62.6 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03321/1.344, allocations: 17.58 MB / 0.8534 GB, free: 44.93 MB / 0.6079 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009089/1.354, allocations: 5.398 MB / 0.8587 GB, free: 39.51 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 6.59e-05/1.354, allocations: 99.27 kB / 0.8588 GB, free: 39.41 MB / 0.6079 GB Notification: Performance of Backend: time 6.31e-07/1.354, allocations: 0 / 0.8588 GB, free: 39.41 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.372, allocations: 7.376 MB / 0.866 GB, free: 32.04 MB / 0.6079 GB Notification: Performance of SimCode: time 0.03507/1.407, allocations: 32.7 MB / 0.8979 GB, free: 15.27 MB / 0.6235 GB Notification: Performance of Templates: time 0.1734/1.581, allocations: 107.1 MB / 1.003 GB, free: 4.137 MB / 0.7173 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches