Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001515/0.001515, allocations: 179.5 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.504/1.504, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.001057/0.001057, allocations: 87.56 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.259/1.259, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 6.531e-05/6.533e-05, allocations: 4 kB / 0.5367 GB, free: 11.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6948, allocations: 82.83 MB / 0.6176 GB, free: 9.309 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.8702, allocations: 125.5 MB / 0.7402 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.8705, allocations: 47.92 kB / 0.7402 GB, free: 11.6 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03781/0.9083, allocations: 10.8 MB / 0.7507 GB, free: 0.7656 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.946e-06/0.9083, allocations: 7.938 kB / 0.7507 GB, free: 0.7578 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.9084, allocations: 8 kB / 0.7508 GB, free: 0.75 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.7613/1.67, allocations: 1.344 MB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.67, allocations: 8.25 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/1.67, allocations: 68.42 kB / 0.7521 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.671, allocations: 417.2 kB / 0.7525 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/1.671, allocations: 55.5 kB / 0.7526 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/1.672, allocations: 100 kB / 0.7527 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.674, allocations: 0.8642 MB / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.674, allocations: 0 / 0.7535 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/1.674, allocations: 21.91 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/1.674, allocations: 13.28 kB / 0.7536 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/1.675, allocations: 0.7465 MB / 0.7543 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/1.683, allocations: 4.36 MB / 0.7586 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/1.684, allocations: 0.9533 MB / 0.7595 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.685, allocations: 0.6475 MB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/1.686, allocations: 10.09 kB / 0.7601 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.686, allocations: 44.22 kB / 0.7602 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=99): time 4.218e-06/1.686, allocations: 1.031 kB / 0.7602 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=99): time 0.002553/1.688, allocations: 1.149 MB / 0.7613 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.688, allocations: 66.36 kB / 0.7614 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.688, allocations: 129.2 kB / 0.7615 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/1.688, allocations: 51.17 kB / 0.7615 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/1.689, allocations: 157.7 kB / 0.7617 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/1.689, allocations: 417 kB / 0.7621 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/1.689, allocations: 29.62 kB / 0.7621 GB, free: 123.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/1.689, allocations: 366.2 kB / 0.7625 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009515/1.69, allocations: 0.5485 MB / 0.763 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008396/1.691, allocations: 0.6458 MB / 0.7636 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/1.692, allocations: 0.6392 MB / 0.7642 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.692, allocations: 0 / 0.7642 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002033/1.694, allocations: 1.426 MB / 0.7656 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.694, allocations: 3.812 kB / 0.7656 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.694, allocations: 3.969 kB / 0.7656 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.694, allocations: 11.5 kB / 0.7657 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/1.696, allocations: 0.5255 MB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.696, allocations: 7.547 kB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/1.697, allocations: 132.7 kB / 0.7663 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/1.697, allocations: 38.55 kB / 0.7663 GB, free: 122.4 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.0002443/1.697, allocations: 156.4 kB / 0.7665 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/1.697, allocations: 41.53 kB / 0.7665 GB, free: 122.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/1.698, allocations: 151.8 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.698, allocations: 7.375 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/1.698, allocations: 3.125 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.698, allocations: 14.09 kB / 0.7667 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.699, allocations: 0.7927 MB / 0.7675 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.699, allocations: 0 / 0.7675 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.702, allocations: 0.524 MB / 0.768 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.702, allocations: 3.531 kB / 0.768 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.702, allocations: 44.33 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.702, allocations: 3.531 kB / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.702, allocations: 0 / 0.768 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/1.704, allocations: 1.935 MB / 0.7699 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.704, allocations: 128.4 kB / 0.77 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.705, allocations: 35.59 kB / 0.7701 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/1.705, allocations: 64.3 kB / 0.7701 GB, free: 120.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.706, allocations: 62.53 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/1.706, allocations: 23.61 kB / 0.7702 GB, free: 120 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.056e-05/1.706, allocations: 102.2 kB / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.61e-07/1.706, allocations: 0 / 0.7703 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006503/1.706, allocations: 319.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.0002155/1.707, allocations: 152.4 kB / 0.7708 GB, free: 119.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.708, allocations: 1.298 MB / 0.772 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.708, allocations: 0 / 0.772 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/1.709, allocations: 0.6347 MB / 0.7727 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/1.71, allocations: 132.9 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.005598/1.715, allocations: 4.978 MB / 0.7776 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/1.716, allocations: 0.9281 MB / 0.7785 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001183/1.717, allocations: 392.2 kB / 0.7789 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.717, allocations: 51.44 kB / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of SimCode: time 1.784e-06/1.717, allocations: 0 / 0.779 GB, free: 112.1 MB / 0.5421 GB Notification: Performance of Templates: time 0.01438/1.732, allocations: 9.932 MB / 0.7887 GB, free: 103 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches