Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.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_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.20..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113 kB / 17.29 MB, free: 6.059 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.001182/0.001182, allocations: 198 kB / 18.21 MB, free: 5.145 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.273/1.273, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8659/0.8659, allocations: 119.3 MB / 411.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.4924 GB, free: 12.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.465, allocations: 80.68 MB / 0.5712 GB, free: 43.84 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.002203/0.4673, allocations: 1.531 MB / 0.5727 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.4676, allocations: 98.72 kB / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.4676, allocations: 0 / 0.5728 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.4677, allocations: 8.891 kB / 0.5728 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.4678, allocations: 53.75 kB / 0.5729 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.468, allocations: 25.58 kB / 0.5729 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.4688, allocations: 1.102 MB / 0.574 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.4689, allocations: 7.188 kB / 0.574 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.4692, allocations: 392.7 kB / 0.5743 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.4698, allocations: 0.5738 MB / 0.5749 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.4699, allocations: 60.91 kB / 0.575 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4701, allocations: 60.84 kB / 0.575 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.4703, allocations: 378.5 kB / 0.5754 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.4707, allocations: 386.4 kB / 0.5757 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.471, allocations: 450.1 kB / 0.5762 GB, free: 40.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.471, allocations: 5.719 kB / 0.5762 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4711, allocations: 0 / 0.5762 GB, free: 40.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4711, allocations: 0 / 0.5762 GB, free: 40.67 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004215/0.4753, allocations: 1.43 MB / 0.5776 GB, free: 39.77 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4753, allocations: 13.08 kB / 0.5776 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.4755, allocations: 61.28 kB / 0.5777 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.476, allocations: 355.1 kB / 0.578 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.4761, allocations: 59.16 kB / 0.578 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.4763, allocations: 102.3 kB / 0.5781 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4777, allocations: 0.8772 MB / 0.579 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4777, allocations: 192 / 0.579 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.362e-05/0.4778, allocations: 33.2 kB / 0.579 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4778, allocations: 12.62 kB / 0.579 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.479, allocations: 0.7644 MB / 0.5798 GB, free: 38.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.4845, allocations: 4.314 MB / 0.584 GB, free: 34.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.486, allocations: 0.9879 MB / 0.585 GB, free: 34.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/0.4869, allocations: 0.6742 MB / 0.5856 GB, free: 34.01 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.487, allocations: 9.938 kB / 0.5856 GB, free: 34.01 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.487, allocations: 51.72 kB / 0.5857 GB, free: 33.95 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.715e-06/0.487, allocations: 0 / 0.5857 GB, free: 33.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002447/0.4895, allocations: 1.664 MB / 0.5873 GB, free: 32.54 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.4895, allocations: 64.39 kB / 0.5874 GB, free: 32.46 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.4896, allocations: 147.3 kB / 0.5875 GB, free: 32.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.4897, allocations: 53.7 kB / 0.5876 GB, free: 32.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.4898, allocations: 153.8 kB / 0.5877 GB, free: 32.09 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.49, allocations: 410.1 kB / 0.5881 GB, free: 31.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.4903, allocations: 231 kB / 0.5883 GB, free: 31.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.4904, allocations: 362.8 kB / 0.5887 GB, free: 31.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.4911, allocations: 0.5725 MB / 0.5892 GB, free: 30.52 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.4919, allocations: 0.6715 MB / 0.5899 GB, free: 29.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.4934, allocations: 1.262 MB / 0.5911 GB, free: 28.58 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4935, allocations: 4 kB / 0.5911 GB, free: 28.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001898/0.4954, allocations: 1.48 MB / 0.5926 GB, free: 27.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4954, allocations: 11.94 kB / 0.5926 GB, free: 27.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4954, allocations: 0 / 0.5926 GB, free: 27.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4954, allocations: 4 kB / 0.5926 GB, free: 27.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.4975, allocations: 0.5308 MB / 0.5931 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.4975, allocations: 4 kB / 0.5931 GB, free: 26.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.4984, allocations: 127 kB / 0.5932 GB, free: 26.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.748e-05/0.4984, allocations: 32 kB / 0.5933 GB, free: 26.38 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 (157): * Single equations (assignments): 157 * 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.0002953/0.4987, allocations: 217.5 kB / 0.5935 GB, free: 26.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4989, allocations: 47.47 kB / 0.5935 GB, free: 26.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.4992, allocations: 148 kB / 0.5936 GB, free: 25.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4992, allocations: 12 kB / 0.5937 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4992, allocations: 3.984 kB / 0.5937 GB, free: 25.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4992, allocations: 3.984 kB / 0.5937 GB, free: 25.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.5001, allocations: 0.794 MB / 0.5944 GB, free: 25.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5001, allocations: 4 kB / 0.5944 GB, free: 25.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/0.5028, allocations: 0.5191 MB / 0.595 GB, free: 24.58 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5028, allocations: 7.938 kB / 0.595 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.5029, allocations: 43.95 kB / 0.595 GB, free: 24.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.5029, allocations: 4 kB / 0.595 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.5029, allocations: 4 kB / 0.595 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.5052, allocations: 1.968 MB / 0.5969 GB, free: 22.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.5053, allocations: 124.4 kB / 0.5971 GB, free: 22.4 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5055, allocations: 43.97 kB / 0.5971 GB, free: 22.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.5062, allocations: 67.69 kB / 0.5972 GB, free: 22.29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5064, allocations: 52.92 kB / 0.5972 GB, free: 22.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.5065, allocations: 31.98 kB / 0.5972 GB, free: 22.2 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.5065, allocations: 99.06 kB / 0.5973 GB, free: 22.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5065, allocations: 0 / 0.5973 GB, free: 22.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005671/0.5071, allocations: 311.8 kB / 0.5976 GB, free: 21.8 MB / 462.3 MB 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 () * Number of clocked 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 (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.0001694/0.5073, allocations: 153.7 kB / 0.5978 GB, free: 21.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.5096, allocations: 1.963 MB / 0.5997 GB, free: 19.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5096, allocations: 0 / 0.5997 GB, free: 19.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.5104, allocations: 0.6615 MB / 0.6003 GB, free: 19.02 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.511, allocations: 131.9 kB / 0.6005 GB, free: 18.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.516, allocations: 4.885 MB / 0.6052 GB, free: 13.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.5162, allocations: 0.9194 MB / 0.6061 GB, free: 13.02 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.5168, allocations: 55.44 kB / 0.6062 GB, free: 12.97 MB / 462.3 MB Notification: Performance of SimCode: time 6.42e-07/0.5168, allocations: 0 / 0.6062 GB, free: 12.97 MB / 462.3 MB Notification: Performance of Templates: time 0.01001/0.5268, allocations: 10.67 MB / 0.6166 GB, free: 2.297 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches