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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007859/0.0007863, allocations: 81.56 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8222/0.8222, allocations: 120.4 MB / 440.6 MB, free: 4.09 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004108, allocations: 12 kB / 0.5202 GB, free: 55.91 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 79.99 MB / 0.5983 GB, free: 7.793 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5933/0.7145, allocations: 124.6 MB / 0.7199 GB, free: 19.14 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001075/0.7146, allocations: 51.92 kB / 0.72 GB, free: 19.12 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0554/0.77, allocations: 18.21 MB / 0.7378 GB, free: 2.363 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.132e-06/0.77, allocations: 0 / 0.7378 GB, free: 2.363 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.7701, allocations: 16 kB / 0.7378 GB, free: 2.348 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.006039/0.7761, allocations: 2.712 MB / 0.7404 GB, free: 15.64 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7762, allocations: 12.03 kB / 0.7405 GB, free: 15.62 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.7765, allocations: 93.06 kB / 0.7405 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.7781, allocations: 0.5948 MB / 0.7411 GB, free: 14.9 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.7782, allocations: 88.12 kB / 0.7412 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.7785, allocations: 177.8 kB / 0.7414 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.781, allocations: 1.486 MB / 0.7428 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.781, allocations: 3.938 kB / 0.7428 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.7811, allocations: 30.44 kB / 0.7429 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.7812, allocations: 20 kB / 0.7429 GB, free: 13.56 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.7833, allocations: 1.402 MB / 0.7442 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.7862, allocations: 1.841 MB / 0.746 GB, free: 10.95 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.7892, allocations: 2.083 MB / 0.7481 GB, free: 9.555 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.791, allocations: 1.377 MB / 0.7494 GB, free: 8.68 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.7911, allocations: 22 kB / 0.7494 GB, free: 8.66 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.7912, allocations: 56.12 kB / 0.7495 GB, free: 8.605 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 7.414e-06/0.7912, allocations: 3.984 kB / 0.7495 GB, free: 8.602 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.005486/0.7967, allocations: 3.384 MB / 0.7528 GB, free: 6.105 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.7968, allocations: 77.41 kB / 0.7529 GB, free: 6.02 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.7969, allocations: 165 kB / 0.753 GB, free: 5.871 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.7971, allocations: 76.14 kB / 0.7531 GB, free: 5.828 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.7972, allocations: 111.2 kB / 0.7532 GB, free: 5.73 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/0.7978, allocations: 0.8161 MB / 0.754 GB, free: 5.02 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.798, allocations: 58.81 kB / 0.7541 GB, free: 5 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7982, allocations: 417.8 kB / 0.7545 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.8, allocations: 1.162 MB / 0.7556 GB, free: 3.781 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.8018, allocations: 1.207 MB / 0.7568 GB, free: 2.891 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.8056, allocations: 2.554 MB / 0.7593 GB, free: 1.141 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.8056, allocations: 3.938 kB / 0.7593 GB, free: 1.137 MB / 0.5109 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004408/0.81, allocations: 2.96 MB / 0.7622 GB, free: 14.96 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.8101, allocations: 8.625 kB / 0.7622 GB, free: 14.95 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8101, allocations: 0 / 0.7622 GB, free: 14.95 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.8101, allocations: 12 kB / 0.7622 GB, free: 14.94 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/0.8147, allocations: 1.076 MB / 0.7632 GB, free: 13.88 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.33e-05/0.8148, allocations: 15.98 kB / 0.7633 GB, free: 13.87 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.8166, allocations: 244.6 kB / 0.7635 GB, free: 13.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.8168, allocations: 67.38 kB / 0.7636 GB, free: 13.62 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005805/0.8174, allocations: 302.7 kB / 0.7638 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.8176, allocations: 79.16 kB / 0.7639 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.8181, allocations: 300.8 kB / 0.7642 GB, free: 13.27 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.8181, allocations: 20 kB / 0.7642 GB, free: 13.25 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8181, allocations: 0 / 0.7642 GB, free: 13.25 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.8182, allocations: 7.969 kB / 0.7642 GB, free: 13.24 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.8201, allocations: 1.41 MB / 0.7656 GB, free: 12.04 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.8202, allocations: 0 / 0.7656 GB, free: 12.04 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005466/0.8256, allocations: 1.08 MB / 0.7667 GB, free: 10.98 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.94e-05/0.8257, allocations: 8 kB / 0.7667 GB, free: 10.97 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/0.826, allocations: 87.23 kB / 0.7668 GB, free: 10.91 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.826, allocations: 4 kB / 0.7668 GB, free: 10.91 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8261, allocations: 4 kB / 0.7668 GB, free: 10.9 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/0.8324, allocations: 3.912 MB / 0.7706 GB, free: 8.066 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.8326, allocations: 167.8 kB / 0.7707 GB, free: 7.883 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.8329, allocations: 75.06 kB / 0.7708 GB, free: 7.832 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.8343, allocations: 110.9 kB / 0.7709 GB, free: 7.75 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/0.8347, allocations: 113.5 kB / 0.771 GB, free: 7.652 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/0.8349, allocations: 55.61 kB / 0.7711 GB, free: 7.609 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.835, allocations: 91.08 kB / 0.7712 GB, free: 7.523 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.1e-07/0.835, allocations: 4 kB / 0.7712 GB, free: 7.52 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001163/0.8362, allocations: 0.5479 MB / 0.7717 GB, free: 7.035 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TA[21],TA[22],TA[23],TA[24],TA[25],TA[26],TA[27],TA[28],TA[29],TA[30],TA[31],TA[32],TA[33],TA[34],TA[35],TA[36],TA[37],TA[38],TA[39],TA[40],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],TB[21],TB[22],TB[23],TB[24],TB[25],TB[26],TB[27],TB[28],TB[29],TB[30],TB[31],TB[32],TB[33],TB[34],TB[35],TB[36],TB[37],TB[38],TB[39],TB[40],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],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.000415/0.8366, allocations: 217.1 kB / 0.7719 GB, free: 6.848 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.004607/0.8412, allocations: 2.738 MB / 0.7746 GB, free: 4.824 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8412, allocations: 0 / 0.7746 GB, free: 4.824 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.8432, allocations: 1.349 MB / 0.7759 GB, free: 3.863 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8444, allocations: 258.1 kB / 0.7762 GB, free: 3.684 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.8597, allocations: 11.59 MB / 0.7875 GB, free: 8.316 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.8604, allocations: 1.076 MB / 0.7885 GB, free: 7.219 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003748/0.8642, allocations: 0.8051 MB / 0.7893 GB, free: 6.41 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.8654, allocations: 91.44 kB / 0.7894 GB, free: 6.32 MB / 0.5421 GB Notification: Performance of SimCode: time 7.41e-07/0.8654, allocations: 0 / 0.7894 GB, free: 6.32 MB / 0.5421 GB Notification: Performance of Templates: time 0.03198/0.8974, allocations: 19.82 MB / 0.8088 GB, free: 2.473 MB / 0.5578 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 -abortSlowSimulation -alarm=300 -s=ida -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches