Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.0009302, allocations: 94.36 kB / 16.65 MB, free: 6.586 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.001081/0.001081, allocations: 186.6 kB / 17.57 MB, free: 6.199 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.31/1.31, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9857/0.9857, allocations: 120.5 MB / 413.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 16 kB / 0.4962 GB, free: 10.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5544, allocations: 82.83 MB / 0.5771 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001542/0.556, allocations: 1.169 MB / 0.5783 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.5563, allocations: 104.4 kB / 0.5784 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.5564, allocations: 0 / 0.5784 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.5565, allocations: 9.109 kB / 0.5784 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.5566, allocations: 62.64 kB / 0.5784 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.5568, allocations: 30.73 kB / 0.5785 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.5574, allocations: 0.7711 MB / 0.5792 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.5575, allocations: 9.484 kB / 0.5792 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.5577, allocations: 240.8 kB / 0.5795 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.5581, allocations: 310.1 kB / 0.5798 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.5582, allocations: 28.88 kB / 0.5798 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.5583, allocations: 30.25 kB / 0.5798 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.5585, allocations: 186.6 kB / 0.58 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.5587, allocations: 222.8 kB / 0.5802 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.559, allocations: 336.3 kB / 0.5805 GB, free: 39.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.559, allocations: 9.344 kB / 0.5805 GB, free: 39.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.814e-06/0.559, allocations: 0 / 0.5805 GB, free: 39.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.559, allocations: 0 / 0.5805 GB, free: 39.54 MB / 462.3 MB 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.002206/0.5613, allocations: 0.8216 MB / 0.5813 GB, free: 38.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5613, allocations: 9.188 kB / 0.5813 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.5614, allocations: 43.83 kB / 0.5814 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.5617, allocations: 253.7 kB / 0.5816 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.5618, allocations: 27.69 kB / 0.5817 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5619, allocations: 52.84 kB / 0.5817 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.5626, allocations: 450.5 kB / 0.5821 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5626, allocations: 192 / 0.5821 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.5627, allocations: 14.69 kB / 0.5822 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.5627, allocations: 6.438 kB / 0.5822 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.5633, allocations: 375.2 kB / 0.5825 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.566, allocations: 2.169 MB / 0.5846 GB, free: 36.35 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/0.5669, allocations: 479.5 kB / 0.5851 GB, free: 36.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.5673, allocations: 327.2 kB / 0.5854 GB, free: 35.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.5674, allocations: 6.062 kB / 0.5854 GB, free: 35.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.5674, allocations: 37.31 kB / 0.5854 GB, free: 35.91 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 2.274e-06/0.5674, allocations: 0 / 0.5854 GB, free: 35.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001478/0.5689, allocations: 0.8094 MB / 0.5862 GB, free: 35.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.569, allocations: 59.52 kB / 0.5863 GB, free: 35.47 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.5691, allocations: 143 kB / 0.5864 GB, free: 35.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.5691, allocations: 39.23 kB / 0.5865 GB, free: 35.3 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.5692, allocations: 125 kB / 0.5866 GB, free: 35.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5693, allocations: 201.1 kB / 0.5868 GB, free: 35 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.5694, allocations: 71.55 kB / 0.5868 GB, free: 34.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.5695, allocations: 339.1 kB / 0.5872 GB, free: 34.62 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.5699, allocations: 279.2 kB / 0.5874 GB, free: 34.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.5704, allocations: 331.8 kB / 0.5877 GB, free: 34.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.5714, allocations: 0.6046 MB / 0.5883 GB, free: 34.06 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5714, allocations: 1.25 kB / 0.5883 GB, free: 34.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001048/0.5724, allocations: 0.7302 MB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5724, allocations: 4 kB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5725, allocations: 0 / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.5725, allocations: 4 kB / 0.5891 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.5735, allocations: 255.7 kB / 0.5893 GB, free: 33.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.5735, allocations: 8.031 kB / 0.5893 GB, free: 33.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.574, allocations: 59.5 kB / 0.5894 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.574, allocations: 23.94 kB / 0.5894 GB, free: 33.09 MB / 462.3 MB 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 (77): * Single equations (assignments): 77 * 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.0001762/0.5742, allocations: 157.7 kB / 0.5895 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.5743, allocations: 27.66 kB / 0.5896 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.5745, allocations: 86.27 kB / 0.5897 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5745, allocations: 4 kB / 0.5897 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5745, allocations: 0 / 0.5897 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5745, allocations: 4 kB / 0.5897 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.575, allocations: 465.3 kB / 0.5901 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.575, allocations: 3.938 kB / 0.5901 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.5763, allocations: 267.7 kB / 0.5904 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5763, allocations: 0 / 0.5904 GB, free: 32.04 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.5763, allocations: 23.98 kB / 0.5904 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5763, allocations: 0 / 0.5904 GB, free: 32.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5763, allocations: 4 kB / 0.5904 GB, free: 32.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5776, allocations: 1.005 MB / 0.5914 GB, free: 30.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.5776, allocations: 108.7 kB / 0.5915 GB, free: 30.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.5777, allocations: 15.98 kB / 0.5915 GB, free: 30.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.5781, allocations: 27.89 kB / 0.5915 GB, free: 30.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5782, allocations: 32.39 kB / 0.5915 GB, free: 30.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.5783, allocations: 15.98 kB / 0.5916 GB, free: 30.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.5783, allocations: 95.27 kB / 0.5917 GB, free: 30.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5783, allocations: 0 / 0.5917 GB, free: 30.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004143/0.5787, allocations: 155.8 kB / 0.5918 GB, free: 30.52 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.5789, allocations: 127 kB / 0.5919 GB, free: 30.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008729/0.5798, allocations: 0.6348 MB / 0.5925 GB, free: 29.76 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5798, allocations: 3.938 kB / 0.5925 GB, free: 29.75 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.5802, allocations: 310.3 kB / 0.5928 GB, free: 29.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.5806, allocations: 75.94 kB / 0.5929 GB, free: 29.38 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.5835, allocations: 2.754 MB / 0.5956 GB, free: 26.59 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.5837, allocations: 0.8036 MB / 0.5964 GB, free: 25.76 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000469/0.5842, allocations: 178.8 kB / 0.5966 GB, free: 25.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5843, allocations: 27.44 kB / 0.5966 GB, free: 25.55 MB / 462.3 MB Notification: Performance of SimCode: time 4.71e-07/0.5843, allocations: 0 / 0.5966 GB, free: 25.55 MB / 462.3 MB Notification: Performance of Templates: time 0.007514/0.5919, allocations: 5.107 MB / 0.6016 GB, free: 20.52 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches