Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.80.|TB.1.|TB.2.|TB.3.|TB.80.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.80..|der.TB.2..|der.TB.3..|der.TB.80..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.80.|TB.1.|TB.2.|TB.3.|TB.80.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.80..|der.TB.2..|der.TB.3..|der.TB.80..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 181.1 kB / 8.134 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.051/1.051, allocations: 221.4 MB / 229.9 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009323/0.0009323, allocations: 92.81 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6006/0.6006, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.901e-06, allocations: 7.938 kB / 0.5289 GB, free: 51.73 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 82.84 MB / 0.6098 GB, free: 2.797 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5331, allocations: 124.8 MB / 0.7317 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001087/0.5333, allocations: 52.3 kB / 0.7317 GB, free: 4.328 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.1314/0.6647, allocations: 41.83 MB / 0.7726 GB, free: 13.88 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.811e-05/0.6648, allocations: 40 kB / 0.7726 GB, free: 13.84 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 558 * Number of variables: 558 Notification: Performance of Generate backend data structure: time 0.01583/0.6806, allocations: 6.481 MB / 0.7789 GB, free: 7.414 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.6806, allocations: 8.031 kB / 0.7789 GB, free: 7.406 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.6812, allocations: 237.5 kB / 0.7792 GB, free: 7.176 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.6847, allocations: 1.166 MB / 0.7803 GB, free: 5.969 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/0.6847, allocations: 72 kB / 0.7804 GB, free: 5.898 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007283/0.6855, allocations: 299.4 kB / 0.7807 GB, free: 5.637 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00443/0.6899, allocations: 3.162 MB / 0.7838 GB, free: 3.316 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/0.6947, allocations: 3.296 MB / 0.787 GB, free: 0.6602 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.6947, allocations: 0 / 0.787 GB, free: 0.6602 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.6951, allocations: 0 / 0.787 GB, free: 0.6602 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.6951, allocations: 52 kB / 0.787 GB, free: 0.6094 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.716, allocations: 17.08 MB / 0.8037 GB, free: 14.68 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/0.7211, allocations: 3.872 MB / 0.8075 GB, free: 11.79 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.7242, allocations: 2.756 MB / 0.8102 GB, free: 10.04 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.7245, allocations: 39.14 kB / 0.8102 GB, free: 10 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.7245, allocations: 72.83 kB / 0.8103 GB, free: 9.945 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=399): time 4.348e-06/0.7246, allocations: 0 / 0.8103 GB, free: 9.945 MB / 0.5734 GB Notification: Performance of matching and sorting (n=399): time 0.006687/0.7312, allocations: 4.668 MB / 0.8148 GB, free: 6.328 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.7313, allocations: 98.55 kB / 0.8149 GB, free: 6.219 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.7314, allocations: 185.7 kB / 0.8151 GB, free: 6.07 MB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.7317, allocations: 25.7 kB / 0.8151 GB, free: 6.039 MB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.7319, allocations: 310 kB / 0.8154 GB, free: 5.742 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.7329, allocations: 1.604 MB / 0.817 GB, free: 4.336 MB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.7332, allocations: 0 / 0.817 GB, free: 4.336 MB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 0.0003082/0.7335, allocations: 0.5103 MB / 0.8175 GB, free: 3.895 MB / 0.5734 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.7367, allocations: 2.333 MB / 0.8198 GB, free: 2.219 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.7399, allocations: 2.634 MB / 0.8223 GB, free: 312 kB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.7434, allocations: 2.71 MB / 0.825 GB, free: 14.25 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7434, allocations: 0 / 0.825 GB, free: 14.25 MB / 0.589 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.007857/0.7513, allocations: 5.778 MB / 0.8306 GB, free: 9.734 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7513, allocations: 11.12 kB / 0.8306 GB, free: 9.727 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.7513, allocations: 0 / 0.8306 GB, free: 9.727 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.721e-05/0.7514, allocations: 20 kB / 0.8307 GB, free: 9.707 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009314/0.7607, allocations: 2.133 MB / 0.8328 GB, free: 7.609 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.7607, allocations: 24 kB / 0.8328 GB, free: 7.586 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.7638, allocations: 368 kB / 0.8331 GB, free: 7.223 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/0.7643, allocations: 138.4 kB / 0.8333 GB, free: 7.125 MB / 0.589 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 637 * 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.0006711/0.7649, allocations: 171.9 kB / 0.8334 GB, free: 6.953 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/0.7654, allocations: 146.4 kB / 0.8336 GB, free: 6.809 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009667/0.7664, allocations: 0.525 MB / 0.8341 GB, free: 6.777 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/0.7664, allocations: 40 kB / 0.8341 GB, free: 6.738 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.7664, allocations: 3.938 kB / 0.8341 GB, free: 6.734 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.7664, allocations: 15.94 kB / 0.8341 GB, free: 6.719 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.7699, allocations: 2.765 MB / 0.8368 GB, free: 4.383 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.77, allocations: 0 / 0.8368 GB, free: 4.383 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/0.7817, allocations: 2.138 MB / 0.8389 GB, free: 2.281 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.759e-05/0.7818, allocations: 12 kB / 0.8389 GB, free: 2.27 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/0.7822, allocations: 150.9 kB / 0.8391 GB, free: 2.137 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.7823, allocations: 12 kB / 0.8391 GB, free: 2.125 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7823, allocations: 4 kB / 0.8391 GB, free: 2.121 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009966/0.7922, allocations: 7.631 MB / 0.8465 GB, free: 12.47 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.7925, allocations: 250.6 kB / 0.8468 GB, free: 12.21 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006287/0.7931, allocations: 111.9 kB / 0.8469 GB, free: 12.1 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/0.796, allocations: 178.9 kB / 0.8471 GB, free: 11.92 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000581/0.7966, allocations: 197.4 kB / 0.8472 GB, free: 11.75 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/0.797, allocations: 107 kB / 0.8473 GB, free: 11.67 MB / 0.6046 GB Notification: Performance of sort global known variables: time 4.37e-05/0.797, allocations: 98.73 kB / 0.8474 GB, free: 11.58 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.001791/0.7988, allocations: 1.085 MB / 0.8485 GB, free: 10.5 MB / 0.6046 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 237 (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],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],TAtilde[40],TAtilde[41],TAtilde[42],TAtilde[43],TAtilde[44],TAtilde[45],TAtilde[46],TAtilde[47],TAtilde[48],TAtilde[49],TAtilde[50],TAtilde[51],TAtilde[52],TAtilde[53],TAtilde[54],TAtilde[55],TAtilde[56],TAtilde[57],TAtilde[58],TAtilde[59],TAtilde[60],TAtilde[61],TAtilde[62],TAtilde[63],TAtilde[64],TAtilde[65],TAtilde[66],TAtilde[67],TAtilde[68],TAtilde[69],TAtilde[70],TAtilde[71],TAtilde[72],TAtilde[73],TAtilde[74],TAtilde[75],TAtilde[76],TAtilde[77],TAtilde[78],TAtilde[79],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],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],TBtilde[40],TBtilde[41],TBtilde[42],TBtilde[43],TBtilde[44],TBtilde[45],TBtilde[46],TBtilde[47],TBtilde[48],TBtilde[49],TBtilde[50],TBtilde[51],TBtilde[52],TBtilde[53],TBtilde[54],TBtilde[55],TBtilde[56],TBtilde[57],TBtilde[58],TBtilde[59],TBtilde[60],TBtilde[61],TBtilde[62],TBtilde[63],TBtilde[64],TBtilde[65],TBtilde[66],TBtilde[67],TBtilde[68],TBtilde[69],TBtilde[70],TBtilde[71],TBtilde[72],TBtilde[73],TBtilde[74],TBtilde[75],TBtilde[76],TBtilde[77],TBtilde[78],TBtilde[79],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],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39],TW[40],TW[41],TW[42],TW[43],TW[44],TW[45],TW[46],TW[47],TW[48],TW[49],TW[50],TW[51],TW[52],TW[53],TW[54],TW[55],TW[56],TW[57],TW[58],TW[59],TW[60],TW[61],TW[62],TW[63],TW[64],TW[65],TW[66],TW[67],TW[68],TW[69],TW[70],TW[71],TW[72],TW[73],TW[74],TW[75],TW[76],TW[77],TW[78],TW[79]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (399): * Single equations (assignments): 399 * 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.0005277/0.7994, allocations: 259.4 kB / 0.8487 GB, free: 10.24 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.006616/0.806, allocations: 5.474 MB / 0.8541 GB, free: 6.238 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.806, allocations: 0 / 0.8541 GB, free: 6.238 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.8092, allocations: 2.72 MB / 0.8567 GB, free: 4.34 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.8107, allocations: 371.5 kB / 0.8571 GB, free: 4.035 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/0.8389, allocations: 21.11 MB / 0.8777 GB, free: 15.37 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003235/0.8421, allocations: 1.913 MB / 0.8796 GB, free: 13.47 MB / 0.6359 GB Notification: Performance of SimCode: time 5.01e-07/0.8421, allocations: 7.938 kB / 0.8796 GB, free: 13.46 MB / 0.6359 GB Notification: Performance of Templates: time 0.07372/0.9159, allocations: 58.05 MB / 0.9363 GB, free: 3.613 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches