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.0008163/0.0008163, allocations: 88.34 kB / 16.31 MB, free: 6.461 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.0008396/0.0008397, allocations: 184.6 kB / 17.21 MB, free: 6.32 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.131/1.131, allocations: 223.3 MB / 241.2 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7408/0.7408, allocations: 120.5 MB / 412.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002492, allocations: 8 kB / 0.4956 GB, free: 10.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3923, allocations: 82.84 MB / 0.5765 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.000932/0.3933, allocations: 1.143 MB / 0.5776 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.3935, allocations: 101.2 kB / 0.5777 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.3936, allocations: 4 kB / 0.5777 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.781e-05/0.3936, allocations: 9.297 kB / 0.5777 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.3937, allocations: 65.27 kB / 0.5778 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.3939, allocations: 31.47 kB / 0.5778 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.3943, allocations: 0.6323 MB / 0.5784 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3943, allocations: 8.109 kB / 0.5784 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3945, allocations: 242.3 kB / 0.5786 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.3949, allocations: 324.2 kB / 0.5789 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.3949, allocations: 33.53 kB / 0.579 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.395, allocations: 28.62 kB / 0.579 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3951, allocations: 193.9 kB / 0.5792 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.3952, allocations: 82.17 kB / 0.5793 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3954, allocations: 224.6 kB / 0.5795 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3954, allocations: 1.406 kB / 0.5795 GB, free: 40.4 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3954, allocations: 0 / 0.5795 GB, free: 40.4 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3954, allocations: 3.938 kB / 0.5795 GB, free: 40.4 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.001671/0.3971, allocations: 0.8273 MB / 0.5803 GB, free: 39.81 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.3971, allocations: 10.09 kB / 0.5803 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.3972, allocations: 38.52 kB / 0.5803 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.3974, allocations: 253.2 kB / 0.5806 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3975, allocations: 26.47 kB / 0.5806 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.3975, allocations: 48.94 kB / 0.5807 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.3981, allocations: 446.8 kB / 0.5811 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3981, allocations: 1.281 kB / 0.5811 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.3982, allocations: 10.53 kB / 0.5811 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3982, allocations: 10.31 kB / 0.5811 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.3987, allocations: 377.5 kB / 0.5815 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.4009, allocations: 2.174 MB / 0.5836 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.4016, allocations: 477.9 kB / 0.584 GB, free: 36.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.402, allocations: 327.2 kB / 0.5844 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.402, allocations: 5.875 kB / 0.5844 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4021, allocations: 37.05 kB / 0.5844 GB, free: 36.77 MB / 462.3 MB Notification: Performance of pre-optimization done (n=49): time 1.482e-06/0.4021, allocations: 0 / 0.5844 GB, free: 36.77 MB / 462.3 MB Notification: Performance of matching and sorting (n=49): time 0.001192/0.4033, allocations: 0.8023 MB / 0.5852 GB, free: 36.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.4033, allocations: 64.45 kB / 0.5852 GB, free: 36.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.4034, allocations: 139.3 kB / 0.5854 GB, free: 36.21 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4034, allocations: 36.2 kB / 0.5854 GB, free: 36.17 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.4034, allocations: 117.4 kB / 0.5855 GB, free: 36.05 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.4035, allocations: 204.4 kB / 0.5857 GB, free: 35.88 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.4036, allocations: 14.69 kB / 0.5857 GB, free: 35.86 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.4036, allocations: 346.5 kB / 0.5861 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.404, allocations: 272.9 kB / 0.5863 GB, free: 35.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4044, allocations: 328.4 kB / 0.5866 GB, free: 35.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.4048, allocations: 323.3 kB / 0.5869 GB, free: 35.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4048, allocations: 0 / 0.5869 GB, free: 35.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008425/0.4057, allocations: 0.7233 MB / 0.5876 GB, free: 34.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.4057, allocations: 4 kB / 0.5877 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4057, allocations: 7.984 kB / 0.5877 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4057, allocations: 4 kB / 0.5877 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.4066, allocations: 263.7 kB / 0.5879 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4066, allocations: 0 / 0.5879 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.4069, allocations: 59.5 kB / 0.588 GB, free: 34.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.4069, allocations: 16 kB / 0.588 GB, free: 34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4071, allocations: 161.7 kB / 0.5881 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.4071, allocations: 19.81 kB / 0.5882 GB, free: 33.81 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.4073, allocations: 82.27 kB / 0.5882 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4073, allocations: 7.953 kB / 0.5882 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4073, allocations: 0 / 0.5882 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4074, allocations: 0 / 0.5882 GB, free: 33.73 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4077, allocations: 481.3 kB / 0.5887 GB, free: 33.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4078, allocations: 0 / 0.5887 GB, free: 33.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.4088, allocations: 263.7 kB / 0.589 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4089, allocations: 0 / 0.589 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.4089, allocations: 19.98 kB / 0.589 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4089, allocations: 7.938 kB / 0.589 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4089, allocations: 0 / 0.589 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.41, allocations: 1.005 MB / 0.59 GB, free: 31.9 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.41, allocations: 108.7 kB / 0.5901 GB, free: 31.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.4101, allocations: 27.92 kB / 0.5901 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.4104, allocations: 23.97 kB / 0.5901 GB, free: 31.72 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4105, allocations: 32.36 kB / 0.5902 GB, free: 31.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.4105, allocations: 15.98 kB / 0.5902 GB, free: 31.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.4106, allocations: 96.39 kB / 0.5903 GB, free: 31.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4106, allocations: 0 / 0.5903 GB, free: 31.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003201/0.4109, allocations: 155.8 kB / 0.5904 GB, free: 31.43 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 (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 8.81e-05/0.411, allocations: 119.7 kB / 0.5905 GB, free: 31.3 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007432/0.4117, allocations: 0.6309 MB / 0.5911 GB, free: 30.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4117, allocations: 0 / 0.5911 GB, free: 30.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.4121, allocations: 318.3 kB / 0.5914 GB, free: 30.36 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4125, allocations: 68.83 kB / 0.5915 GB, free: 30.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.4148, allocations: 2.735 MB / 0.5942 GB, free: 27.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.415, allocations: 0.7958 MB / 0.595 GB, free: 26.7 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.00039/0.4154, allocations: 186.8 kB / 0.5951 GB, free: 26.52 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.4155, allocations: 27.44 kB / 0.5952 GB, free: 26.49 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4155, allocations: 0 / 0.5952 GB, free: 26.49 MB / 462.3 MB Notification: Performance of Templates: time 0.00583/0.4214, allocations: 4.932 MB / 0.6 GB, free: 21.63 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