Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.10.|TA.1.|TA.2.|TA.3.|TB.10.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.10..|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_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 174.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.886/1.886, allocations: 221.4 MB / 235.5 MB, free: 2.895 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.001214/0.001214, allocations: 99.78 kB / 286.5 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.386/1.386, allocations: 120.5 MB / 457.9 MB, free: 7.07 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 5.323e-05/5.375e-05, allocations: 0 / 0.5367 GB, free: 11.25 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.769, allocations: 82.84 MB / 0.6176 GB, free: 9.312 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.9736, allocations: 125.5 MB / 0.7401 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.9739, allocations: 59.91 kB / 0.7402 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0211/0.995, allocations: 5.668 MB / 0.7457 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9951, allocations: 0 / 0.7457 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.781e-05/0.9952, allocations: 8 kB / 0.7457 GB, free: 5.918 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002431/0.9976, allocations: 0.7601 MB / 0.7465 GB, free: 5.109 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.9977, allocations: 12.03 kB / 0.7465 GB, free: 5.098 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.9979, allocations: 31.67 kB / 0.7465 GB, free: 5.066 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.9989, allocations: 303.1 kB / 0.7468 GB, free: 4.727 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.999, allocations: 28.56 kB / 0.7468 GB, free: 4.699 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.9992, allocations: 47.91 kB / 0.7469 GB, free: 4.652 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1, allocations: 428.6 kB / 0.7473 GB, free: 4.23 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1, allocations: 0 / 0.7473 GB, free: 4.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/1, allocations: 12 kB / 0.7473 GB, free: 4.219 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/1, allocations: 11.98 kB / 0.7473 GB, free: 4.207 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/1.001, allocations: 362 kB / 0.7476 GB, free: 3.855 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/1.005, allocations: 2.175 MB / 0.7498 GB, free: 1.402 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.006, allocations: 468.7 kB / 0.7502 GB, free: 0.9375 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/1.007, allocations: 310 kB / 0.7505 GB, free: 0.6328 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/1.007, allocations: 4.438 kB / 0.7505 GB, free: 0.6289 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.007, allocations: 50.88 kB / 0.7506 GB, free: 0.5703 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=49): time 4.389e-06/1.007, allocations: 0 / 0.7506 GB, free: 0.5703 MB / 0.5419 GB Notification: Performance of matching and sorting (n=49): time 0.001311/1.009, allocations: 0.5598 MB / 0.7511 GB, free: 4 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.929/1.938, allocations: 53.62 kB / 0.7512 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/1.938, allocations: 119.2 kB / 0.7513 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/1.938, allocations: 38.55 kB / 0.7513 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/1.938, allocations: 122.7 kB / 0.7514 GB, free: 132 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/1.938, allocations: 206.3 kB / 0.7516 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/1.938, allocations: 11.19 kB / 0.7516 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.938, allocations: 340 kB / 0.752 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/1.939, allocations: 267.3 kB / 0.7522 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/1.94, allocations: 317.7 kB / 0.7525 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/1.94, allocations: 316.5 kB / 0.7528 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.94, allocations: 4.094 kB / 0.7528 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001443/1.942, allocations: 0.7032 MB / 0.7535 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.942, allocations: 8.375 kB / 0.7535 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.942, allocations: 0.8125 kB / 0.7535 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/1.942, allocations: 4.672 kB / 0.7535 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.943, allocations: 254.5 kB / 0.7538 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.943, allocations: 13.08 kB / 0.7538 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/1.944, allocations: 62.56 kB / 0.7538 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/1.944, allocations: 20.05 kB / 0.7539 GB, free: 131.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 (77): * Single equations (assignments): 77 * 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.0001385/1.944, allocations: 131 kB / 0.754 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.944, allocations: 19.95 kB / 0.754 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/1.944, allocations: 81.2 kB / 0.7541 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.944, allocations: 4.938 kB / 0.7541 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.944, allocations: 0.875 kB / 0.7541 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.944, allocations: 9.234 kB / 0.7541 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/1.945, allocations: 470.3 kB / 0.7545 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.945, allocations: 1.125 kB / 0.7545 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.946, allocations: 253.9 kB / 0.7548 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.946, allocations: 2.375 kB / 0.7548 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/1.947, allocations: 22.81 kB / 0.7548 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.947, allocations: 9.359 kB / 0.7548 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.947, allocations: 0.625 kB / 0.7548 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.948, allocations: 0.9825 MB / 0.7558 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/1.949, allocations: 101.1 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/1.949, allocations: 21.17 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/1.949, allocations: 25.89 kB / 0.7559 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.949, allocations: 33.88 kB / 0.756 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/1.949, allocations: 15.97 kB / 0.756 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 6.008e-05/1.949, allocations: 95.98 kB / 0.7561 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/1.949, allocations: 0 / 0.7561 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005082/1.95, allocations: 160.2 kB / 0.7562 GB, free: 130.2 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001876/1.95, allocations: 121.1 kB / 0.7563 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.951, allocations: 0.621 MB / 0.7569 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.951, allocations: 0 / 0.7569 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/1.952, allocations: 311.4 kB / 0.7572 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/1.952, allocations: 59.09 kB / 0.7573 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/1.956, allocations: 2.366 MB / 0.7596 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/1.957, allocations: 0.8039 MB / 0.7604 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0007333/1.957, allocations: 188.7 kB / 0.7606 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.957, allocations: 28.69 kB / 0.7606 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of SimCode: time 2.465e-06/1.957, allocations: 0.5625 kB / 0.7606 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.008955/1.966, allocations: 4.944 MB / 0.7654 GB, free: 127.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches