Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001009/0.001009, allocations: 186.2 kB / 8.137 MB, free: 2.188 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.032/1.032, allocations: 221.4 MB / 229.9 MB, free: 3.25 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.0008349/0.0008349, allocations: 90.19 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5851/0.5851, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.859e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 82.86 MB / 0.6091 GB, free: 3.531 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.524, allocations: 125.4 MB / 0.7316 GB, free: 4.367 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001504/0.5242, allocations: 57.62 kB / 0.7316 GB, free: 4.348 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.05196/0.5761, allocations: 21.8 MB / 0.7529 GB, free: 2.266 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 3.621e-05/0.5762, allocations: 28 kB / 0.7529 GB, free: 2.238 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.002382/0.5786, allocations: 1.436 MB / 0.7543 GB, free: 0.8359 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5786, allocations: 8.031 kB / 0.7544 GB, free: 0.8281 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.579, allocations: 170.2 kB / 0.7545 GB, free: 0.6602 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.5812, allocations: 1.001 MB / 0.7555 GB, free: 15.76 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.5813, allocations: 48 kB / 0.7555 GB, free: 15.71 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.5815, allocations: 115.5 kB / 0.7556 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002237/0.5837, allocations: 1.678 MB / 0.7573 GB, free: 14.37 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5858, allocations: 1.447 MB / 0.7587 GB, free: 13.25 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.5858, allocations: 23.25 kB / 0.7587 GB, free: 13.23 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.5859, allocations: 0 / 0.7587 GB, free: 13.23 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.586, allocations: 39.98 kB / 0.7588 GB, free: 13.19 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.5916, allocations: 3.993 MB / 0.7627 GB, free: 9.949 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.5942, allocations: 1.702 MB / 0.7643 GB, free: 8.637 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.5955, allocations: 1.273 MB / 0.7656 GB, free: 7.742 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 6.29e-05/0.5955, allocations: 21.91 kB / 0.7656 GB, free: 7.719 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5956, allocations: 56.25 kB / 0.7656 GB, free: 7.668 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=192): time 2.675e-06/0.5956, allocations: 3.938 kB / 0.7656 GB, free: 7.664 MB / 0.5265 GB Notification: Performance of matching and sorting (n=192): time 0.002007/0.5976, allocations: 1.692 MB / 0.7673 GB, free: 6.324 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5976, allocations: 69.41 kB / 0.7674 GB, free: 6.242 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.5981, allocations: 457.3 kB / 0.7678 GB, free: 5.906 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.5982, allocations: 25.7 kB / 0.7678 GB, free: 5.875 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.5983, allocations: 368.1 kB / 0.7682 GB, free: 5.539 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.5987, allocations: 0.6546 MB / 0.7688 GB, free: 4.957 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.5988, allocations: 0 / 0.7688 GB, free: 4.957 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5989, allocations: 421 kB / 0.7692 GB, free: 4.578 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008336/0.5998, allocations: 0.734 MB / 0.7699 GB, free: 4.039 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008353/0.6006, allocations: 0.747 MB / 0.7707 GB, free: 3.492 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6016, allocations: 0.9223 MB / 0.7716 GB, free: 2.805 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6016, allocations: 4 kB / 0.7716 GB, free: 2.801 MB / 0.5265 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.002163/0.6038, allocations: 1.892 MB / 0.7734 GB, free: 1.301 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6038, allocations: 4 kB / 0.7734 GB, free: 1.297 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6038, allocations: 0 / 0.7734 GB, free: 1.297 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.6039, allocations: 11.94 kB / 0.7734 GB, free: 1.285 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.6056, allocations: 0.5029 MB / 0.7739 GB, free: 0.7969 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6056, allocations: 8 kB / 0.7739 GB, free: 0.7891 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.6064, allocations: 190.5 kB / 0.7741 GB, free: 0.6016 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.6065, allocations: 59.16 kB / 0.7742 GB, free: 0.5586 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.0001611/0.6067, allocations: 128.5 kB / 0.7743 GB, free: 436 kB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6068, allocations: 90.97 kB / 0.7744 GB, free: 344 kB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.6071, allocations: 141.2 kB / 0.7745 GB, free: 304 kB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.6071, allocations: 20 kB / 0.7745 GB, free: 284 kB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6071, allocations: 0 / 0.7745 GB, free: 284 kB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6071, allocations: 11.95 kB / 0.7745 GB, free: 272 kB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6086, allocations: 1.37 MB / 0.7759 GB, free: 15.17 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6086, allocations: 3.938 kB / 0.7759 GB, free: 15.17 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/0.6107, allocations: 0.4979 MB / 0.7764 GB, free: 14.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6108, allocations: 11.91 kB / 0.7764 GB, free: 14.67 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.049e-05/0.6108, allocations: 31.22 kB / 0.7764 GB, free: 14.65 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6109, allocations: 15.94 kB / 0.7764 GB, free: 14.63 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6109, allocations: 0 / 0.7764 GB, free: 14.63 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00301/0.6139, allocations: 3.061 MB / 0.7794 GB, free: 12.29 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.6141, allocations: 191.6 kB / 0.7796 GB, free: 12.08 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.6142, allocations: 31.61 kB / 0.7796 GB, free: 12.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.6149, allocations: 95.66 kB / 0.7797 GB, free: 11.96 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.6151, allocations: 89.41 kB / 0.7798 GB, free: 11.89 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.6151, allocations: 43.62 kB / 0.7798 GB, free: 11.86 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003142/0.6154, allocations: 372.2 kB / 0.7802 GB, free: 11.59 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007145/0.6162, allocations: 446.8 kB / 0.7806 GB, free: 11.15 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.0001856/0.6164, allocations: 143 kB / 0.7808 GB, free: 11 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.6182, allocations: 1.821 MB / 0.7825 GB, free: 9.621 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6182, allocations: 0 / 0.7825 GB, free: 9.621 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000928/0.6192, allocations: 0.9658 MB / 0.7835 GB, free: 8.891 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.6197, allocations: 97.41 kB / 0.7836 GB, free: 8.816 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.626, allocations: 5.125 MB / 0.7886 GB, free: 3.984 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.6272, allocations: 1.608 MB / 0.7902 GB, free: 2.445 MB / 0.5421 GB Notification: Performance of SimCode: time 2.51e-07/0.6272, allocations: 0 / 0.7902 GB, free: 2.445 MB / 0.5421 GB Notification: Performance of Templates: time 0.02211/0.6494, allocations: 15.13 MB / 0.8049 GB, free: 3.422 MB / 0.5578 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_Modelica_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches