Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.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_40,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.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,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.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|der.TB.2..|der.TB.3..|der.TB.40..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40") [: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.0009635/0.0009635, allocations: 184.2 kB / 8.131 MB, free: 2.656 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.025/1.025, allocations: 221.4 MB / 229.9 MB, free: 7.672 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008345, allocations: 99.59 kB / 280.8 MB, free: 5.129 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5938/0.5938, allocations: 120.4 MB / 452 MB, free: 276 kB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 4.669e-06/4.688e-06, allocations: 0 / 0.5289 GB, free: 54.31 MB / 398.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 82.85 MB / 0.6098 GB, free: 6.465 MB / 430.3 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.5325, allocations: 124.8 MB / 0.7317 GB, free: 10.01 MB / 0.4985 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000117/0.5326, allocations: 53.45 kB / 0.7317 GB, free: 9.988 MB / 0.4985 GB Notification: Performance of FrontEnd: time 0.06109/0.5937, allocations: 20.41 MB / 0.7517 GB, free: 8.133 MB / 0.5142 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.5938, allocations: 20 kB / 0.7517 GB, free: 8.113 MB / 0.5142 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.007247/0.6011, allocations: 2.689 MB / 0.7543 GB, free: 5.438 MB / 0.5142 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.6011, allocations: 8.031 kB / 0.7543 GB, free: 5.43 MB / 0.5142 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.6016, allocations: 118.9 kB / 0.7544 GB, free: 5.312 MB / 0.5142 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.6035, allocations: 0.6659 MB / 0.7551 GB, free: 4.605 MB / 0.5142 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.6035, allocations: 40 kB / 0.7551 GB, free: 4.566 MB / 0.5142 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/0.6039, allocations: 153.4 kB / 0.7553 GB, free: 4.434 MB / 0.5142 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/0.6062, allocations: 1.549 MB / 0.7568 GB, free: 3.289 MB / 0.5142 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.6088, allocations: 1.635 MB / 0.7584 GB, free: 1.961 MB / 0.5142 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6088, allocations: 0 / 0.7584 GB, free: 1.961 MB / 0.5142 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.609, allocations: 0 / 0.7584 GB, free: 1.961 MB / 0.5142 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.609, allocations: 31.91 kB / 0.7584 GB, free: 1.93 MB / 0.5142 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.6195, allocations: 8.42 MB / 0.7666 GB, free: 9.012 MB / 0.5298 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.6219, allocations: 1.818 MB / 0.7684 GB, free: 7.672 MB / 0.5298 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.6234, allocations: 1.343 MB / 0.7697 GB, free: 6.809 MB / 0.5298 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.6236, allocations: 22 kB / 0.7697 GB, free: 6.789 MB / 0.5298 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.6236, allocations: 60.81 kB / 0.7698 GB, free: 6.73 MB / 0.5298 GB Notification: Performance of pre-optimization done (n=199): time 3.747e-06/0.6236, allocations: 3.984 kB / 0.7698 GB, free: 6.727 MB / 0.5298 GB Notification: Performance of matching and sorting (n=199): time 0.003391/0.627, allocations: 2.326 MB / 0.7721 GB, free: 4.914 MB / 0.5298 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.6271, allocations: 73.41 kB / 0.7721 GB, free: 4.832 MB / 0.5298 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6272, allocations: 147.7 kB / 0.7723 GB, free: 4.703 MB / 0.5298 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.6274, allocations: 25.7 kB / 0.7723 GB, free: 4.672 MB / 0.5298 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.6275, allocations: 199 kB / 0.7725 GB, free: 4.48 MB / 0.5298 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/0.628, allocations: 0.7959 MB / 0.7733 GB, free: 3.781 MB / 0.5298 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6281, allocations: 0 / 0.7733 GB, free: 3.781 MB / 0.5298 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6283, allocations: 422.8 kB / 0.7737 GB, free: 3.402 MB / 0.5298 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.6298, allocations: 1.15 MB / 0.7748 GB, free: 2.57 MB / 0.5298 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.6315, allocations: 1.299 MB / 0.7761 GB, free: 1.621 MB / 0.5298 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.6333, allocations: 1.33 MB / 0.7774 GB, free: 0.6094 MB / 0.5298 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6333, allocations: 0 / 0.7774 GB, free: 0.6094 MB / 0.5298 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003984/0.6373, allocations: 2.869 MB / 0.7802 GB, free: 14.35 MB / 0.5454 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6373, allocations: 4 kB / 0.7802 GB, free: 14.34 MB / 0.5454 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6373, allocations: 4 kB / 0.7802 GB, free: 14.34 MB / 0.5454 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.6374, allocations: 8 kB / 0.7802 GB, free: 14.33 MB / 0.5454 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004367/0.6417, allocations: 1.061 MB / 0.7812 GB, free: 13.29 MB / 0.5454 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/0.6418, allocations: 15.94 kB / 0.7812 GB, free: 13.27 MB / 0.5454 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.6433, allocations: 182 kB / 0.7814 GB, free: 13.09 MB / 0.5454 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.6436, allocations: 72.5 kB / 0.7815 GB, free: 13.04 MB / 0.5454 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 (317): * Single equations (assignments): 317 * 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.0003329/0.6439, allocations: 128.5 kB / 0.7816 GB, free: 12.91 MB / 0.5454 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.6441, allocations: 75.16 kB / 0.7817 GB, free: 12.84 MB / 0.5454 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.6446, allocations: 271.6 kB / 0.7819 GB, free: 12.82 MB / 0.5454 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.6446, allocations: 20 kB / 0.7819 GB, free: 12.8 MB / 0.5454 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.6447, allocations: 7.938 kB / 0.782 GB, free: 12.79 MB / 0.5454 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6447, allocations: 11.95 kB / 0.782 GB, free: 12.78 MB / 0.5454 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.6464, allocations: 1.382 MB / 0.7833 GB, free: 11.59 MB / 0.5454 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6465, allocations: 3.938 kB / 0.7833 GB, free: 11.58 MB / 0.5454 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005808/0.6523, allocations: 1.048 MB / 0.7843 GB, free: 10.55 MB / 0.5454 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.6523, allocations: 8 kB / 0.7843 GB, free: 10.54 MB / 0.5454 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/0.6526, allocations: 74.34 kB / 0.7844 GB, free: 10.48 MB / 0.5454 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.6526, allocations: 4 kB / 0.7844 GB, free: 10.47 MB / 0.5454 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6526, allocations: 3.938 kB / 0.7844 GB, free: 10.47 MB / 0.5454 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004881/0.6575, allocations: 3.841 MB / 0.7882 GB, free: 7.594 MB / 0.5454 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.6576, allocations: 159.9 kB / 0.7883 GB, free: 7.418 MB / 0.5454 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.6579, allocations: 55.94 kB / 0.7884 GB, free: 7.363 MB / 0.5454 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.6594, allocations: 87.38 kB / 0.7885 GB, free: 7.277 MB / 0.5454 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.6597, allocations: 105 kB / 0.7886 GB, free: 7.188 MB / 0.5454 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.6599, allocations: 47.67 kB / 0.7886 GB, free: 7.152 MB / 0.5454 GB Notification: Performance of sort global known variables: time 4.662e-05/0.6599, allocations: 100.7 kB / 0.7887 GB, free: 7.062 MB / 0.5454 GB Notification: Performance of remove unused functions: time 0.0009448/0.6609, allocations: 0.5386 MB / 0.7892 GB, free: 6.523 MB / 0.5454 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.0002992/0.6612, allocations: 171.9 kB / 0.7894 GB, free: 6.348 MB / 0.5454 GB Notification: Performance of simCode: created initialization part: time 0.00327/0.6645, allocations: 2.699 MB / 0.792 GB, free: 4.363 MB / 0.5454 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6645, allocations: 0 / 0.792 GB, free: 4.363 MB / 0.5454 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.6661, allocations: 1.335 MB / 0.7933 GB, free: 3.422 MB / 0.5454 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.6669, allocations: 191.7 kB / 0.7935 GB, free: 3.266 MB / 0.5454 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.6793, allocations: 10.05 MB / 0.8033 GB, free: 9.395 MB / 0.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/0.681, allocations: 1.296 MB / 0.8046 GB, free: 8.094 MB / 0.561 GB Notification: Performance of SimCode: time 2.4e-07/0.681, allocations: 0 / 0.8046 GB, free: 8.094 MB / 0.561 GB Notification: Performance of Templates: time 0.0373/0.7183, allocations: 28.85 MB / 0.8328 GB, free: 11.41 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches