Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.10..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009235/0.0009235, allocations: 111.5 kB / 17.01 MB, free: 6.086 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.0008306/0.0008306, allocations: 195.5 kB / 17.95 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4534/0.4534, allocations: 225.6 MB / 244.4 MB, free: 6.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5802/0.5802, allocations: 119.5 MB / 414 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009793/0.0009794, allocations: 59.89 kB / 0.4959 GB, free: 12.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4277, allocations: 80.69 MB / 0.5747 GB, free: 57.07 MB / 478.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.001927/0.4297, allocations: 1.458 MB / 0.5761 GB, free: 56.05 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.4299, allocations: 89.62 kB / 0.5762 GB, free: 56 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.43, allocations: 1.094 kB / 0.5762 GB, free: 56 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 8.146e-05/0.4301, allocations: 13.53 kB / 0.5762 GB, free: 56 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.4302, allocations: 60.48 kB / 0.5763 GB, free: 55.96 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.4304, allocations: 28.27 kB / 0.5763 GB, free: 55.96 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.4308, allocations: 0.5709 MB / 0.5769 GB, free: 55.8 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.4309, allocations: 6.797 kB / 0.5769 GB, free: 55.8 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.4311, allocations: 209.3 kB / 0.5771 GB, free: 55.75 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.4316, allocations: 282.3 kB / 0.5774 GB, free: 55.67 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/0.4316, allocations: 28.78 kB / 0.5774 GB, free: 55.67 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.4317, allocations: 34.03 kB / 0.5774 GB, free: 55.67 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.4319, allocations: 191.4 kB / 0.5776 GB, free: 55.61 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.4321, allocations: 191.3 kB / 0.5778 GB, free: 55.54 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.4324, allocations: 337.8 kB / 0.5781 GB, free: 55.46 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4324, allocations: 0 / 0.5781 GB, free: 55.46 MB / 478.3 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4324, allocations: 0 / 0.5781 GB, free: 55.46 MB / 478.3 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4324, allocations: 0 / 0.5781 GB, free: 55.46 MB / 478.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.001833/0.4343, allocations: 0.8546 MB / 0.5789 GB, free: 54.97 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.4343, allocations: 10.53 kB / 0.579 GB, free: 54.97 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.4344, allocations: 31.22 kB / 0.579 GB, free: 54.96 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.4347, allocations: 259.1 kB / 0.5792 GB, free: 54.74 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4347, allocations: 28.16 kB / 0.5793 GB, free: 54.73 MB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.4348, allocations: 49.64 kB / 0.5793 GB, free: 54.71 MB / 478.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.4354, allocations: 450.2 kB / 0.5797 GB, free: 54.57 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4354, allocations: 1.312 kB / 0.5797 GB, free: 54.57 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.4355, allocations: 13.22 kB / 0.5797 GB, free: 54.56 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4355, allocations: 7.344 kB / 0.5798 GB, free: 54.56 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.436, allocations: 373.3 kB / 0.5801 GB, free: 54.47 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.4383, allocations: 2.16 MB / 0.5822 GB, free: 52.84 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/0.439, allocations: 483.6 kB / 0.5827 GB, free: 52.67 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.4394, allocations: 323.8 kB / 0.583 GB, free: 52.55 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.4394, allocations: 6.156 kB / 0.583 GB, free: 52.55 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.4394, allocations: 41.53 kB / 0.583 GB, free: 52.51 MB / 478.3 MB Notification: Performance of pre-optimization done (n=49): time 1.973e-06/0.4394, allocations: 0 / 0.583 GB, free: 52.51 MB / 478.3 MB Notification: Performance of matching and sorting (n=49): time 0.001202/0.4406, allocations: 0.8114 MB / 0.5838 GB, free: 52.25 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.4407, allocations: 61.19 kB / 0.5839 GB, free: 52.18 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.4407, allocations: 132.8 kB / 0.584 GB, free: 52.07 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.4408, allocations: 35.08 kB / 0.584 GB, free: 52.03 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.4408, allocations: 122.9 kB / 0.5842 GB, free: 51.91 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.4409, allocations: 201.8 kB / 0.5844 GB, free: 51.76 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.4411, allocations: 113.1 kB / 0.5845 GB, free: 51.7 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.4411, allocations: 341 kB / 0.5848 GB, free: 51.38 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.4415, allocations: 281.9 kB / 0.5851 GB, free: 51.3 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.442, allocations: 336.1 kB / 0.5854 GB, free: 51.2 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.4428, allocations: 0.6153 MB / 0.586 GB, free: 50.97 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4428, allocations: 0 / 0.586 GB, free: 50.97 MB / 478.3 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001043/0.4439, allocations: 0.7299 MB / 0.5867 GB, free: 50.72 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4439, allocations: 6.047 kB / 0.5867 GB, free: 50.72 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4439, allocations: 0 / 0.5867 GB, free: 50.72 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4439, allocations: 8.422 kB / 0.5867 GB, free: 50.71 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.4449, allocations: 257.6 kB / 0.587 GB, free: 50.7 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.445, allocations: 2.75 kB / 0.587 GB, free: 50.7 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4453, allocations: 61.62 kB / 0.587 GB, free: 50.66 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4453, allocations: 20.88 kB / 0.587 GB, free: 50.66 MB / 478.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.0001337/0.4455, allocations: 162 kB / 0.5872 GB, free: 50.52 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.4455, allocations: 23.72 kB / 0.5872 GB, free: 50.51 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.4457, allocations: 81.72 kB / 0.5873 GB, free: 50.44 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4457, allocations: 4.625 kB / 0.5873 GB, free: 50.44 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4457, allocations: 0.9062 kB / 0.5873 GB, free: 50.44 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4457, allocations: 2.484 kB / 0.5873 GB, free: 50.44 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.4462, allocations: 478.9 kB / 0.5878 GB, free: 50.14 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4462, allocations: 1.703 kB / 0.5878 GB, free: 50.14 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.4474, allocations: 260.4 kB / 0.588 GB, free: 50.12 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4474, allocations: 2.531 kB / 0.588 GB, free: 50.12 MB / 478.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.4474, allocations: 20.83 kB / 0.588 GB, free: 50.11 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4474, allocations: 2.531 kB / 0.588 GB, free: 50.11 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4474, allocations: 4 kB / 0.588 GB, free: 50.11 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4486, allocations: 1.009 MB / 0.589 GB, free: 49.57 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.4487, allocations: 107.7 kB / 0.5891 GB, free: 49.45 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.4487, allocations: 26.06 kB / 0.5891 GB, free: 49.44 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.4491, allocations: 16.83 kB / 0.5892 GB, free: 49.43 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.4491, allocations: 30.27 kB / 0.5892 GB, free: 49.41 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.4492, allocations: 20.2 kB / 0.5892 GB, free: 49.4 MB / 478.3 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.4492, allocations: 97.06 kB / 0.5893 GB, free: 49.32 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4492, allocations: 0 / 0.5893 GB, free: 49.32 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0003374/0.4496, allocations: 155.8 kB / 0.5894 GB, free: 49.3 MB / 478.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 9.374e-05/0.4497, allocations: 119.3 kB / 0.5896 GB, free: 49.19 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.4505, allocations: 0.6421 MB / 0.5902 GB, free: 48.93 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4505, allocations: 8 kB / 0.5902 GB, free: 48.92 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.4509, allocations: 316.8 kB / 0.5905 GB, free: 48.79 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.4513, allocations: 75.67 kB / 0.5906 GB, free: 48.74 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.4534, allocations: 2.24 MB / 0.5928 GB, free: 47.05 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.4536, allocations: 0.7941 MB / 0.5935 GB, free: 46.32 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.454, allocations: 182 kB / 0.5937 GB, free: 46.24 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.4542, allocations: 29.5 kB / 0.5937 GB, free: 46.23 MB / 478.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4542, allocations: 0 / 0.5937 GB, free: 46.23 MB / 478.3 MB Notification: Performance of Templates: time 0.007807/0.462, allocations: 5.514 MB / 0.5991 GB, free: 42.88 MB / 478.3 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches