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.0009144/0.0009145, allocations: 86.16 kB / 16.31 MB, free: 6.453 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.001055/0.001055, allocations: 179.5 kB / 17.21 MB, free: 6.328 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.326/1.326, allocations: 223.3 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.756/0.756, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 0.4956 GB, free: 9.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1419, allocations: 82.85 MB / 0.5765 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_20): time 0.001488/0.1434, allocations: 1.162 MB / 0.5776 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.1437, allocations: 87.73 kB / 0.5777 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.1438, allocations: 0 / 0.5777 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.1439, allocations: 11.92 kB / 0.5777 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1441, allocations: 63.7 kB / 0.5778 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.1443, allocations: 23.97 kB / 0.5778 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009017/0.1452, allocations: 1.022 MB / 0.5788 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.1452, allocations: 8 kB / 0.5788 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.1457, allocations: 387.5 kB / 0.5792 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008825/0.1466, allocations: 0.5967 MB / 0.5797 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.1468, allocations: 64 kB / 0.5798 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.147, allocations: 64 kB / 0.5799 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.1474, allocations: 387.2 kB / 0.5802 GB, free: 2.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.1476, allocations: 129.5 kB / 0.5804 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.1481, allocations: 447.2 kB / 0.5808 GB, free: 2.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1481, allocations: 0 / 0.5808 GB, free: 2.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1481, allocations: 0 / 0.5808 GB, free: 2.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1481, allocations: 0 / 0.5808 GB, free: 2.34 MB / 446.1 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.004035/0.1521, allocations: 1.499 MB / 0.5822 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1522, allocations: 8.031 kB / 0.5823 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1524, allocations: 67.39 kB / 0.5823 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.153, allocations: 350.2 kB / 0.5827 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.153, allocations: 53.31 kB / 0.5827 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.1532, allocations: 99.8 kB / 0.5828 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4383/0.5916, allocations: 0.8754 MB / 0.5837 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5916, allocations: 0 / 0.5837 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.381e-05/0.5917, allocations: 24 kB / 0.5837 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.5918, allocations: 12.78 kB / 0.5837 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.5933, allocations: 0.7711 MB / 0.5844 GB, free: 16.01 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/0.5998, allocations: 4.359 MB / 0.5887 GB, free: 13.27 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.6016, allocations: 0.9897 MB / 0.5897 GB, free: 12.97 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.6027, allocations: 0.6759 MB / 0.5903 GB, free: 12.72 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.6029, allocations: 11.25 kB / 0.5903 GB, free: 12.72 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.6029, allocations: 39.86 kB / 0.5904 GB, free: 12.68 MB / 446.3 MB Notification: Performance of pre-optimization done (n=99): time 3.286e-06/0.6029, allocations: 3.219 kB / 0.5904 GB, free: 12.68 MB / 446.3 MB Notification: Performance of matching and sorting (n=99): time 0.003135/0.606, allocations: 1.668 MB / 0.592 GB, free: 12.17 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.6061, allocations: 66.44 kB / 0.5921 GB, free: 12.1 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.6062, allocations: 141.2 kB / 0.5922 GB, free: 11.99 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.6063, allocations: 51.3 kB / 0.5923 GB, free: 11.94 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.6064, allocations: 155.1 kB / 0.5924 GB, free: 11.8 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.6067, allocations: 418.6 kB / 0.5928 GB, free: 11.49 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.6068, allocations: 25.25 kB / 0.5928 GB, free: 11.47 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.6069, allocations: 363.5 kB / 0.5932 GB, free: 11.14 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.6079, allocations: 0.5664 MB / 0.5937 GB, free: 10.98 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.609, allocations: 0.6658 MB / 0.5944 GB, free: 10.77 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6101, allocations: 0.6522 MB / 0.595 GB, free: 10.55 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6101, allocations: 0.7031 kB / 0.595 GB, free: 10.55 MB / 446.3 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002411/0.6126, allocations: 1.47 MB / 0.5964 GB, free: 10.06 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.6126, allocations: 6.297 kB / 0.5965 GB, free: 10.06 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6126, allocations: 0 / 0.5965 GB, free: 10.06 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.6127, allocations: 10.69 kB / 0.5965 GB, free: 10.06 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.6149, allocations: 0.5236 MB / 0.597 GB, free: 10.04 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.6149, allocations: 5.688 kB / 0.597 GB, free: 10.04 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.6157, allocations: 126.9 kB / 0.5971 GB, free: 9.973 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.6158, allocations: 33.84 kB / 0.5971 GB, free: 9.965 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.6162, allocations: 219.7 kB / 0.5973 GB, free: 9.801 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6163, allocations: 41.86 kB / 0.5974 GB, free: 9.781 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.6168, allocations: 147.1 kB / 0.5975 GB, free: 9.641 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.6168, allocations: 9.703 kB / 0.5975 GB, free: 9.641 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.6168, allocations: 5.656 kB / 0.5975 GB, free: 9.637 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6168, allocations: 6.375 kB / 0.5975 GB, free: 9.637 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.6181, allocations: 0.8006 MB / 0.5983 GB, free: 9.277 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6181, allocations: 1.562 kB / 0.5983 GB, free: 9.277 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/0.6208, allocations: 0.5291 MB / 0.5988 GB, free: 9.25 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/0.6208, allocations: 7.609 kB / 0.5989 GB, free: 9.246 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.621, allocations: 41.78 kB / 0.5989 GB, free: 9.234 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.621, allocations: 4.672 kB / 0.5989 GB, free: 9.234 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.621, allocations: 1.281 kB / 0.5989 GB, free: 9.234 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.6242, allocations: 1.971 MB / 0.6008 GB, free: 8.496 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6244, allocations: 123 kB / 0.6009 GB, free: 8.371 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6246, allocations: 42.81 kB / 0.601 GB, free: 8.355 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.6253, allocations: 65.25 kB / 0.601 GB, free: 8.328 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6255, allocations: 62.52 kB / 0.6011 GB, free: 8.316 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.6256, allocations: 25.92 kB / 0.6011 GB, free: 8.312 MB / 446.3 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.6257, allocations: 101 kB / 0.6012 GB, free: 8.23 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6257, allocations: 1.312 kB / 0.6012 GB, free: 8.23 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0008945/0.6266, allocations: 312.2 kB / 0.6015 GB, free: 8.188 MB / 446.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 (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 0.0002033/0.6268, allocations: 149.8 kB / 0.6017 GB, free: 8.066 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.6291, allocations: 1.332 MB / 0.603 GB, free: 7.691 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6291, allocations: 64 / 0.603 GB, free: 7.691 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.6301, allocations: 0.6578 MB / 0.6036 GB, free: 7.477 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.6308, allocations: 132.3 kB / 0.6037 GB, free: 7.426 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.6371, allocations: 5.575 MB / 0.6092 GB, free: 3.285 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.6375, allocations: 0.9192 MB / 0.6101 GB, free: 2.5 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.001338/0.6388, allocations: 386 kB / 0.6104 GB, free: 2.34 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.6392, allocations: 53.66 kB / 0.6105 GB, free: 2.332 MB / 446.3 MB Notification: Performance of SimCode: time 1.072e-06/0.6392, allocations: 1.406 kB / 0.6105 GB, free: 2.332 MB / 446.3 MB Notification: Performance of Templates: time 0.01717/0.6564, allocations: 9.937 MB / 0.6202 GB, free: 11.59 MB / 462.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