Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.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_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.3 MB / 235.5 MB, free: 2.914 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 93.17 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.451/1.451, allocations: 120.5 MB / 457.9 MB, free: 7.012 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.1e-05, allocations: 4 kB / 0.5367 GB, free: 11.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.8356, allocations: 82.83 MB / 0.6176 GB, free: 9.277 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/1.029, allocations: 125.5 MB / 0.7401 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001407/1.03, allocations: 59.89 kB / 0.7402 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03669/1.066, allocations: 10.79 MB / 0.7507 GB, free: 0.7383 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.222e-06/1.066, allocations: 3.938 kB / 0.7507 GB, free: 0.7344 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.066, allocations: 12 kB / 0.7508 GB, free: 0.7227 MB / 0.5419 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.8869/1.953, allocations: 1.344 MB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.953, allocations: 13.28 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/1.954, allocations: 68.17 kB / 0.7521 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.955, allocations: 419.8 kB / 0.7525 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/1.955, allocations: 55.83 kB / 0.7526 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/1.955, allocations: 100.1 kB / 0.7527 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.957, allocations: 0.8586 MB / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.957, allocations: 0.5156 kB / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/1.957, allocations: 22.59 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.957, allocations: 13.81 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/1.959, allocations: 0.7451 MB / 0.7543 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006857/1.966, allocations: 4.361 MB / 0.7586 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.967, allocations: 0.953 MB / 0.7595 GB, free: 125 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.968, allocations: 0.6469 MB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 9.724e-05/1.969, allocations: 11.22 kB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.969, allocations: 45.12 kB / 0.7602 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 2.885e-06/1.969, allocations: 0 / 0.7602 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002614/1.971, allocations: 1.15 MB / 0.7613 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.971, allocations: 65.61 kB / 0.7614 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.971, allocations: 132 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/1.971, allocations: 49.98 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/1.972, allocations: 154.6 kB / 0.7617 GB, free: 124 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.972, allocations: 414.5 kB / 0.7621 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/1.972, allocations: 25.72 kB / 0.7621 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.972, allocations: 373 kB / 0.7625 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009469/1.973, allocations: 0.5501 MB / 0.763 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/1.974, allocations: 0.6451 MB / 0.7636 GB, free: 123 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/1.975, allocations: 0.6384 MB / 0.7642 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.975, allocations: 0 / 0.7642 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001984/1.977, allocations: 1.426 MB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.977, allocations: 3.75 kB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.977, allocations: 7.844 kB / 0.7656 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.977, allocations: 3.906 kB / 0.7657 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/1.979, allocations: 0.5307 MB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.979, allocations: 7.75 kB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/1.98, allocations: 132.1 kB / 0.7663 GB, free: 122.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/1.98, allocations: 34.91 kB / 0.7663 GB, free: 122.3 MB / 0.5421 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.98, allocations: 160.6 kB / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.98, allocations: 34.94 kB / 0.7665 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/1.981, allocations: 159 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.981, allocations: 7.75 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.981, allocations: 3.875 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.981, allocations: 3.797 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/1.982, allocations: 0.8003 MB / 0.7675 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.982, allocations: 0 / 0.7675 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/1.984, allocations: 0.5243 MB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.984, allocations: 3.688 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.984, allocations: 45.95 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/1.985, allocations: 7.672 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.985, allocations: 0 / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/1.987, allocations: 1.934 MB / 0.7699 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/1.987, allocations: 124.4 kB / 0.77 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.987, allocations: 42.83 kB / 0.7701 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/1.988, allocations: 64.02 kB / 0.7701 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.988, allocations: 59.17 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/1.988, allocations: 24 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.527e-05/1.988, allocations: 100.7 kB / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/1.988, allocations: 0 / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000611/1.989, allocations: 315.7 kB / 0.7706 GB, free: 119.6 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/1.989, allocations: 155.8 kB / 0.7708 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.991, allocations: 1.298 MB / 0.772 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.991, allocations: 0 / 0.772 GB, free: 118.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/1.992, allocations: 0.6301 MB / 0.7727 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/1.992, allocations: 130.3 kB / 0.7728 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/1.997, allocations: 4.979 MB / 0.7776 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/1.998, allocations: 0.9223 MB / 0.7785 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0009675/1.999, allocations: 392.8 kB / 0.7789 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/1.999, allocations: 47.44 kB / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of SimCode: time 8.52e-07/1.999, allocations: 7.938 kB / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of Templates: time 0.01282/2.012, allocations: 9.935 MB / 0.7887 GB, free: 103 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches