Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.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_640,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.640.|TB.1.|TB.2.|TB.3.|TB.640.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.640..|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_640") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640,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.640.|TB.1.|TB.2.|TB.3.|TB.640.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.640..|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_640") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 109 kB / 17.74 MB, free: 5.332 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.001832/0.001832, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.34/1.34, 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.9888/0.9888, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 65.45 kB / 0.573 GB, free: 38.88 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1765, allocations: 80.69 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640): time 0.003003/0.1795, allocations: 1.47 MB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.18, allocations: 95.66 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.1801, allocations: 4 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.1803, allocations: 11.92 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.1804, allocations: 59.66 kB / 0.6534 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1807, allocations: 39.86 kB / 0.6534 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.03085/0.2116, allocations: 37.33 MB / 0.6899 GB, free: 4.578 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.2121, allocations: 148 kB / 0.69 GB, free: 4.434 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02586/0.238, allocations: 14.08 MB / 0.7038 GB, free: 6.34 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03237/0.2704, allocations: 16.48 MB / 0.7199 GB, free: 5.727 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.009721/0.2802, allocations: 1.988 MB / 0.7218 GB, free: 3.738 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009858/0.2901, allocations: 1.992 MB / 0.7238 GB, free: 1.746 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.0159/0.306, allocations: 11.81 MB / 0.7353 GB, free: 5.914 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.03316/0.3392, allocations: 12.12 MB / 0.7471 GB, free: 9.754 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.03353/0.3728, allocations: 21.02 MB / 0.7676 GB, free: 4.672 MB / 0.6077 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3728, allocations: 4 kB / 0.7676 GB, free: 4.668 MB / 0.6077 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3728, allocations: 3.938 kB / 0.7676 GB, free: 4.664 MB / 0.6077 GB Notification: Performance of Transformations before backend: time 0.001055/0.3739, allocations: 4 kB / 0.7677 GB, free: 4.66 MB / 0.6077 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4478 * Number of variables: 4478 Notification: Performance of Generate backend data structure: time 0.7746/1.148, allocations: 37.32 MB / 0.8041 GB, free: 88.24 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.149, allocations: 15.88 kB / 0.8041 GB, free: 88.23 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/1.159, allocations: 1.805 MB / 0.8059 GB, free: 86.41 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/1.182, allocations: 5.85 MB / 0.8116 GB, free: 80.52 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001799/1.183, allocations: 1.739 MB / 0.8133 GB, free: 78.78 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01078/1.194, allocations: 3.239 MB / 0.8164 GB, free: 75.54 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06166/1.256, allocations: 28.6 MB / 0.8444 GB, free: 46.88 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005791/1.256, allocations: 192 / 0.8444 GB, free: 46.88 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006367/1.263, allocations: 0.6874 MB / 0.8451 GB, free: 46.2 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/1.263, allocations: 420 kB / 0.8455 GB, free: 45.79 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05077/1.314, allocations: 26.25 MB / 0.8711 GB, free: 19.52 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.245/1.559, allocations: 157.1 MB / 1.024 GB, free: 2.398 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4663/2.025, allocations: 60.1 MB / 1.083 GB, free: 270.7 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04053/2.066, allocations: 23.42 MB / 1.106 GB, free: 262.9 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006089/2.072, allocations: 330.5 kB / 1.106 GB, free: 262.8 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/2.072, allocations: 359.4 kB / 1.107 GB, free: 262.6 MB / 0.811 GB Notification: Performance of pre-optimization done (n=3199): time 3.711e-05/2.072, allocations: 0 / 1.107 GB, free: 262.6 MB / 0.811 GB Notification: Performance of matching and sorting (n=3199): time 0.1177/2.19, allocations: 54.4 MB / 1.16 GB, free: 227.6 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/2.19, allocations: 376.4 kB / 1.16 GB, free: 227.2 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/2.191, allocations: 0.7074 MB / 1.161 GB, free: 226.7 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.006085/2.197, allocations: 0.8088 MB / 1.162 GB, free: 225.9 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/2.198, allocations: 2.077 MB / 1.164 GB, free: 224.3 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.0117/2.21, allocations: 13.18 MB / 1.177 GB, free: 212.4 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02279/2.233, allocations: 6.924 MB / 1.183 GB, free: 206.2 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/2.233, allocations: 309.8 kB / 1.184 GB, free: 205.8 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03285/2.266, allocations: 19.39 MB / 1.203 GB, free: 187.1 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03824/2.304, allocations: 22.19 MB / 1.224 GB, free: 165 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07049/2.375, allocations: 42.07 MB / 1.265 GB, free: 122.9 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/2.375, allocations: 0 / 1.265 GB, free: 122.9 MB / 0.811 GB Notification: Performance of matching and sorting (n=5117) (initialization): time 0.09711/2.472, allocations: 48.36 MB / 1.313 GB, free: 74.55 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/2.472, allocations: 11.75 kB / 1.313 GB, free: 74.55 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.988e-05/2.472, allocations: 0 / 1.313 GB, free: 74.55 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/2.472, allocations: 160 kB / 1.313 GB, free: 74.39 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07185/2.544, allocations: 17.55 MB / 1.33 GB, free: 57.17 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000703/2.545, allocations: 164 kB / 1.33 GB, free: 57.01 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02937/2.574, allocations: 3.82 MB / 1.334 GB, free: 53.47 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007727/2.582, allocations: 1.094 MB / 1.335 GB, free: 52.38 MB / 0.811 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 (5117): * Single equations (assignments): 5117 * 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.01394/2.596, allocations: 3.559 MB / 1.338 GB, free: 48.8 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005788/2.602, allocations: 1.105 MB / 1.339 GB, free: 47.68 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/2.613, allocations: 4.567 MB / 1.344 GB, free: 43.11 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004903/2.613, allocations: 155.4 kB / 1.344 GB, free: 42.95 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.325e-05/2.613, allocations: 0 / 1.344 GB, free: 42.95 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/2.616, allocations: 1.4 MB / 1.345 GB, free: 41.52 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006726/2.622, allocations: 1.225 MB / 1.347 GB, free: 40.3 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02501/2.647, allocations: 1.736 MB / 1.348 GB, free: 38.87 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0077/2.655, allocations: 2.032 MB / 1.35 GB, free: 36.83 MB / 0.811 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6066/3.262, allocations: 69.72 MB / 1.418 GB, free: 244 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1401/3.402, allocations: 70.59 MB / 1.487 GB, free: 195.6 MB / 0.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03337/3.435, allocations: 21.97 MB / 1.509 GB, free: 173.6 MB / 0.811 GB Notification: Performance of sorting global known variables: time 6.791e-05/3.435, allocations: 96.39 kB / 1.509 GB, free: 173.5 MB / 0.811 GB Notification: Performance of Backend: time 3.01e-07/3.435, allocations: 3.906 kB / 1.509 GB, free: 173.5 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.06694/3.502, allocations: 29.72 MB / 1.538 GB, free: 143.8 MB / 0.811 GB Notification: Performance of SimCode: time 0.1287/3.631, allocations: 131.4 MB / 1.666 GB, free: 14.63 MB / 0.811 GB Notification: Performance of Templates: time 1.251/4.882, allocations: 430 MB / 2.086 GB, free: 200.1 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_640.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches