Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_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.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.heatcapacitor.1..T.|der.heatcapacitor.2..T.|der.heatcapacitor.3..T.|heatcapacitor.1..T|heatcapacitor.1..der_T|heatcapacitor.1..port.Q_flow|heatcapacitor.1..port.T|heatcapacitor.2..T|heatcapacitor.2..der_T|heatcapacitor.2..port.Q_flow|heatcapacitor.2..port.T|heatcapacitor.3..T|heatcapacitor.3..der_T|heatcapacitor.3..port.Q_flow|heatcapacitor.3..port.T|thermalconductor.1..Q_flow|thermalconductor.1..dT|thermalconductor.1..port_a.Q_flow|thermalconductor.1..port_b.Q_flow|thermalconductor.1..port_b.T|thermalconductor.2..Q_flow|thermalconductor.2..dT|thermalconductor.2..port_a.Q_flow|thermalconductor.2..port_a.T|thermalconductor.2..port_b.Q_flow|thermalconductor.2..port_b.T|thermalconductor.3..Q_flow|thermalconductor.3..dT|thermalconductor.3..port_a.Q_flow|thermalconductor.3..port_a.T|thermalconductor.3..port_b.Q_flow|thermalconductor.3..port_b.T|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.heatcapacitor.1..T.|der.heatcapacitor.2..T.|der.heatcapacitor.3..T.|heatcapacitor.1..T|heatcapacitor.1..der_T|heatcapacitor.1..port.Q_flow|heatcapacitor.1..port.T|heatcapacitor.2..T|heatcapacitor.2..der_T|heatcapacitor.2..port.Q_flow|heatcapacitor.2..port.T|heatcapacitor.3..T|heatcapacitor.3..der_T|heatcapacitor.3..port.Q_flow|heatcapacitor.3..port.T|thermalconductor.1..Q_flow|thermalconductor.1..dT|thermalconductor.1..port_a.Q_flow|thermalconductor.1..port_b.Q_flow|thermalconductor.1..port_b.T|thermalconductor.2..Q_flow|thermalconductor.2..dT|thermalconductor.2..port_a.Q_flow|thermalconductor.2..port_a.T|thermalconductor.2..port_b.Q_flow|thermalconductor.2..port_b.T|thermalconductor.3..Q_flow|thermalconductor.3..dT|thermalconductor.3..port_a.Q_flow|thermalconductor.3..port_a.T|thermalconductor.3..port_b.Q_flow|thermalconductor.3..port_b.T|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_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.001685/0.001685, allocations: 188.4 kB / 8.136 MB, free: 2.184 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.258/1.258, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009744/0.0009745, allocations: 93.38 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.7203/0.7203, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.384e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 82.86 MB / 0.6091 GB, free: 3.559 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/0.6883, allocations: 125.4 MB / 0.7316 GB, free: 4.586 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.6885, allocations: 60.98 kB / 0.7316 GB, free: 4.562 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.05668/0.7452, allocations: 21.81 MB / 0.7529 GB, free: 2.469 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 5.085e-05/0.7453, allocations: 31.94 kB / 0.753 GB, free: 2.438 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.003366/0.7486, allocations: 1.426 MB / 0.7543 GB, free: 1.043 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7487, allocations: 8.031 kB / 0.7544 GB, free: 1.035 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.7493, allocations: 170 kB / 0.7545 GB, free: 0.8711 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.7517, allocations: 0.9971 MB / 0.7555 GB, free: 15.97 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.7518, allocations: 48 kB / 0.7555 GB, free: 15.93 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.752, allocations: 115.3 kB / 0.7556 GB, free: 15.82 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002443/0.7545, allocations: 1.679 MB / 0.7573 GB, free: 14.58 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.7567, allocations: 1.444 MB / 0.7587 GB, free: 13.46 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/0.7567, allocations: 26.92 kB / 0.7587 GB, free: 13.44 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.342e-05/0.7568, allocations: 4 kB / 0.7587 GB, free: 13.44 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.7569, allocations: 36 kB / 0.7588 GB, free: 13.4 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.7631, allocations: 4.003 MB / 0.7627 GB, free: 10.15 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.7659, allocations: 1.697 MB / 0.7643 GB, free: 8.844 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.7673, allocations: 1.272 MB / 0.7656 GB, free: 7.949 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.7674, allocations: 21.91 kB / 0.7656 GB, free: 7.926 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.7674, allocations: 53.31 kB / 0.7656 GB, free: 7.879 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=192): time 4.919e-06/0.7674, allocations: 3.938 kB / 0.7656 GB, free: 7.875 MB / 0.5265 GB Notification: Performance of matching and sorting (n=192): time 0.002266/0.7697, allocations: 1.693 MB / 0.7673 GB, free: 6.531 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.7698, allocations: 69.41 kB / 0.7674 GB, free: 6.449 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.7703, allocations: 461.2 kB / 0.7678 GB, free: 6.109 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.7704, allocations: 25.7 kB / 0.7678 GB, free: 6.078 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.7706, allocations: 367.6 kB / 0.7682 GB, free: 5.746 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.7711, allocations: 0.6513 MB / 0.7688 GB, free: 5.164 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.7711, allocations: 0 / 0.7688 GB, free: 5.164 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7713, allocations: 420.6 kB / 0.7692 GB, free: 4.785 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009202/0.7722, allocations: 0.733 MB / 0.7699 GB, free: 4.254 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/0.7732, allocations: 0.7432 MB / 0.7707 GB, free: 3.707 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7743, allocations: 0.9249 MB / 0.7716 GB, free: 3.02 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7743, allocations: 11.98 kB / 0.7716 GB, free: 3.008 MB / 0.5265 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002431/0.7767, allocations: 1.888 MB / 0.7734 GB, free: 1.512 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7768, allocations: 4 kB / 0.7734 GB, free: 1.508 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.7768, allocations: 0 / 0.7734 GB, free: 1.508 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7768, allocations: 8 kB / 0.7734 GB, free: 1.5 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.7786, allocations: 0.5028 MB / 0.7739 GB, free: 1.012 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7786, allocations: 12 kB / 0.7739 GB, free: 1 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/0.7796, allocations: 186.5 kB / 0.7741 GB, free: 0.8164 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.7797, allocations: 55.48 kB / 0.7742 GB, free: 0.7773 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 230 * 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.0001875/0.7799, allocations: 128.5 kB / 0.7743 GB, free: 0.6445 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.7801, allocations: 94.97 kB / 0.7744 GB, free: 0.5508 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.7804, allocations: 140.8 kB / 0.7745 GB, free: 0.5117 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.7804, allocations: 20 kB / 0.7745 GB, free: 0.4922 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.7804, allocations: 3.938 kB / 0.7745 GB, free: 500 kB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.7804, allocations: 11.95 kB / 0.7745 GB, free: 488 kB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.7822, allocations: 1.366 MB / 0.7759 GB, free: 15.36 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7822, allocations: 0 / 0.7759 GB, free: 15.36 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.7844, allocations: 0.499 MB / 0.7764 GB, free: 14.88 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.7844, allocations: 11.91 kB / 0.7764 GB, free: 14.87 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.7845, allocations: 31.47 kB / 0.7764 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.7846, allocations: 8 kB / 0.7764 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7846, allocations: 0 / 0.7764 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00344/0.788, allocations: 3.065 MB / 0.7794 GB, free: 12.48 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.7883, allocations: 195.6 kB / 0.7796 GB, free: 12.27 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.7885, allocations: 27.86 kB / 0.7796 GB, free: 12.25 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.7892, allocations: 91.66 kB / 0.7797 GB, free: 12.16 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7894, allocations: 89.22 kB / 0.7798 GB, free: 12.09 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.7895, allocations: 43.62 kB / 0.7798 GB, free: 12.05 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003815/0.7899, allocations: 376.5 kB / 0.7802 GB, free: 11.78 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0009613/0.7908, allocations: 446.8 kB / 0.7806 GB, free: 11.34 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (heatcapacitor[1].T,heatcapacitor[2].T,heatcapacitor[3].T,heatcapacitor[4].T,heatcapacitor[5].T,heatcapacitor[6].T,heatcapacitor[7].T,heatcapacitor[8].T,heatcapacitor[9].T,heatcapacitor[10].T,heatcapacitor[11].T,heatcapacitor[12].T,heatcapacitor[13].T,heatcapacitor[14].T,heatcapacitor[15].T,heatcapacitor[16].T,heatcapacitor[17].T,heatcapacitor[18].T,heatcapacitor[19].T,heatcapacitor[20].T,heatcapacitor[21].T,heatcapacitor[22].T,heatcapacitor[23].T,heatcapacitor[24].T,heatcapacitor[25].T,heatcapacitor[26].T,heatcapacitor[27].T,heatcapacitor[28].T,heatcapacitor[29].T,heatcapacitor[30].T,heatcapacitor[31].T,heatcapacitor[32].T,heatcapacitor[33].T,heatcapacitor[34].T,heatcapacitor[35].T,heatcapacitor[36].T,heatcapacitor[37].T,heatcapacitor[38].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 192 * 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.0002083/0.7911, allocations: 142.8 kB / 0.7808 GB, free: 11.2 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.7932, allocations: 1.822 MB / 0.7825 GB, free: 9.82 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7932, allocations: 0 / 0.7825 GB, free: 9.82 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7942, allocations: 0.9655 MB / 0.7835 GB, free: 9.086 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.7948, allocations: 100.2 kB / 0.7836 GB, free: 9.012 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/0.8023, allocations: 5.125 MB / 0.7886 GB, free: 4.18 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.8037, allocations: 1.608 MB / 0.7901 GB, free: 2.637 MB / 0.5421 GB Notification: Performance of SimCode: time 1.052e-06/0.8037, allocations: 0 / 0.7901 GB, free: 2.637 MB / 0.5421 GB Notification: Performance of Templates: time 0.02501/0.8287, allocations: 15.14 MB / 0.8049 GB, free: 3.617 MB / 0.5578 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches