Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001026/0.001026, allocations: 88.81 kB / 16.65 MB, free: 6.289 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.001255/0.001255, allocations: 181.4 kB / 17.56 MB, free: 5.91 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.272/1.272, allocations: 223.2 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8414/0.8414, allocations: 120.5 MB / 413.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 8 kB / 0.4962 GB, free: 10.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4775, allocations: 82.84 MB / 0.5771 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001146/0.4787, allocations: 1.19 MB / 0.5783 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.479, allocations: 91.75 kB / 0.5784 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.479, allocations: 0 / 0.5784 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.4792, allocations: 13.3 kB / 0.5784 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.4793, allocations: 66.3 kB / 0.5785 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.4795, allocations: 26.7 kB / 0.5785 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.4803, allocations: 1.212 MB / 0.5797 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.4804, allocations: 7.375 kB / 0.5797 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.4807, allocations: 386.6 kB / 0.58 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.4813, allocations: 0.5712 MB / 0.5806 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.4815, allocations: 64.73 kB / 0.5807 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.4816, allocations: 61.5 kB / 0.5807 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.4818, allocations: 377.7 kB / 0.5811 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.4822, allocations: 412 kB / 0.5815 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.4826, allocations: 0.6462 MB / 0.5821 GB, free: 39.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4827, allocations: 0.9062 kB / 0.5821 GB, free: 39.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4827, allocations: 0 / 0.5821 GB, free: 39.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.4827, allocations: 3.938 kB / 0.5821 GB, free: 39.27 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.004108/0.4868, allocations: 1.494 MB / 0.5836 GB, free: 38.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4868, allocations: 9.094 kB / 0.5836 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.487, allocations: 61.94 kB / 0.5836 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.4874, allocations: 358.5 kB / 0.584 GB, free: 38.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.4875, allocations: 55 kB / 0.584 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.4876, allocations: 102 kB / 0.5841 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.4889, allocations: 0.8819 MB / 0.585 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4889, allocations: 192 / 0.585 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.489, allocations: 29.12 kB / 0.585 GB, free: 37.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4891, allocations: 13.41 kB / 0.585 GB, free: 37.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4902, allocations: 0.7682 MB / 0.5858 GB, free: 37.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/0.4949, allocations: 4.365 MB / 0.59 GB, free: 32.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4961, allocations: 0.9838 MB / 0.591 GB, free: 31.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.4969, allocations: 0.672 MB / 0.5917 GB, free: 30.58 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.497, allocations: 13 kB / 0.5917 GB, free: 30.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.497, allocations: 49.73 kB / 0.5917 GB, free: 30.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=99): time 2.054e-06/0.497, allocations: 0 / 0.5917 GB, free: 30.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=99): time 0.002278/0.4993, allocations: 1.652 MB / 0.5933 GB, free: 28.86 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.4993, allocations: 64.41 kB / 0.5934 GB, free: 28.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.4994, allocations: 148.9 kB / 0.5935 GB, free: 28.63 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.751e-05/0.4995, allocations: 49.7 kB / 0.5936 GB, free: 28.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.4996, allocations: 157.8 kB / 0.5937 GB, free: 28.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.4998, allocations: 410.1 kB / 0.5941 GB, free: 28.01 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5, allocations: 133.6 kB / 0.5942 GB, free: 27.87 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.5, allocations: 366.8 kB / 0.5946 GB, free: 27.5 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/0.5008, allocations: 0.5725 MB / 0.5952 GB, free: 26.93 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.5016, allocations: 0.6638 MB / 0.5958 GB, free: 26.26 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.5032, allocations: 1.262 MB / 0.597 GB, free: 25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5032, allocations: 4 kB / 0.597 GB, free: 24.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001879/0.5051, allocations: 1.476 MB / 0.5985 GB, free: 23.51 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5051, allocations: 7.938 kB / 0.5985 GB, free: 23.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5051, allocations: 4 kB / 0.5985 GB, free: 23.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5051, allocations: 4 kB / 0.5985 GB, free: 23.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.5071, allocations: 0.5385 MB / 0.599 GB, free: 22.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5071, allocations: 4 kB / 0.599 GB, free: 22.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.5079, allocations: 127 kB / 0.5991 GB, free: 22.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.508, allocations: 36 kB / 0.5992 GB, free: 22.79 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.0002474/0.5083, allocations: 217.5 kB / 0.5994 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.5084, allocations: 43.47 kB / 0.5994 GB, free: 22.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.5088, allocations: 152 kB / 0.5996 GB, free: 22.37 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5088, allocations: 11.98 kB / 0.5996 GB, free: 22.36 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5089, allocations: 3.938 kB / 0.5996 GB, free: 22.36 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5089, allocations: 7.984 kB / 0.5996 GB, free: 22.35 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.5097, allocations: 0.7979 MB / 0.6004 GB, free: 21.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5097, allocations: 0 / 0.6004 GB, free: 21.5 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/0.5122, allocations: 0.5191 MB / 0.6009 GB, free: 20.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.5122, allocations: 11.92 kB / 0.6009 GB, free: 20.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5123, allocations: 39.97 kB / 0.6009 GB, free: 20.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5123, allocations: 7.938 kB / 0.6009 GB, free: 20.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5123, allocations: 0 / 0.6009 GB, free: 20.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.5148, allocations: 1.972 MB / 0.6029 GB, free: 18.94 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.5149, allocations: 132.3 kB / 0.603 GB, free: 18.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.515, allocations: 39.95 kB / 0.603 GB, free: 18.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.5157, allocations: 63.8 kB / 0.6031 GB, free: 18.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.5159, allocations: 56.91 kB / 0.6031 GB, free: 18.63 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.5159, allocations: 27.98 kB / 0.6032 GB, free: 18.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.516, allocations: 95.27 kB / 0.6033 GB, free: 18.51 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.41e-07/0.516, allocations: 0 / 0.6033 GB, free: 18.51 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005602/0.5166, allocations: 319.7 kB / 0.6036 GB, free: 18.2 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.0001625/0.5167, allocations: 149.7 kB / 0.6037 GB, free: 18.04 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.5183, allocations: 1.338 MB / 0.605 GB, free: 16.71 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5183, allocations: 0 / 0.605 GB, free: 16.71 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.5191, allocations: 0.6615 MB / 0.6057 GB, free: 16.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.5198, allocations: 128.7 kB / 0.6058 GB, free: 15.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.5248, allocations: 5.612 MB / 0.6113 GB, free: 10.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.5251, allocations: 0.9144 MB / 0.6122 GB, free: 9.332 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0009326/0.526, allocations: 388.5 kB / 0.6125 GB, free: 8.949 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.5264, allocations: 51.44 kB / 0.6126 GB, free: 8.898 MB / 462.3 MB Notification: Performance of SimCode: time 8.01e-07/0.5264, allocations: 0 / 0.6126 GB, free: 8.898 MB / 462.3 MB Notification: Performance of Templates: time 0.01277/0.5392, allocations: 10.31 MB / 0.6226 GB, free: 14.71 MB / 478.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches