Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_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.OneDHeatTransferTI_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|heatcapacitor.4..T|thermalconductor.1..Q_flow|thermalconductor.1..dT|thermalconductor.1..port_a.Q_flow|thermalconductor.1..port_a.T|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.OneDHeatTransferTI_Modelica_N_40") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_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|heatcapacitor.4..T|thermalconductor.1..Q_flow|thermalconductor.1..dT|thermalconductor.1..port_a.Q_flow|thermalconductor.1..port_a.T|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.OneDHeatTransferTI_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.001005/0.001005, allocations: 187.2 kB / 8.138 MB, free: 2.223 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.19/1.19, allocations: 221.4 MB / 229.9 MB, free: 3.047 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.001028/0.001028, allocations: 91.56 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7362/0.7362, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 4 kB / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 82.84 MB / 0.6091 GB, free: 3.602 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.7262, allocations: 125.4 MB / 0.7315 GB, free: 4.293 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.7264, allocations: 63.94 kB / 0.7316 GB, free: 4.27 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.05537/0.7818, allocations: 21.82 MB / 0.7529 GB, free: 2.176 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 5.326e-05/0.7819, allocations: 31.94 kB / 0.7529 GB, free: 2.145 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002751/0.7846, allocations: 1.434 MB / 0.7543 GB, free: 0.7422 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.7847, allocations: 8.031 kB / 0.7544 GB, free: 0.7344 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.785, allocations: 166.2 kB / 0.7545 GB, free: 0.5703 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.7874, allocations: 0.9954 MB / 0.7555 GB, free: 15.67 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.7875, allocations: 55.91 kB / 0.7555 GB, free: 15.62 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.7877, allocations: 111.3 kB / 0.7556 GB, free: 15.51 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002413/0.7901, allocations: 1.695 MB / 0.7573 GB, free: 14.26 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.7922, allocations: 1.458 MB / 0.7587 GB, free: 13.14 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.1e-05/0.7923, allocations: 27.61 kB / 0.7587 GB, free: 13.11 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.7924, allocations: 0 / 0.7587 GB, free: 13.11 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.7925, allocations: 36 kB / 0.7588 GB, free: 13.08 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005918/0.7984, allocations: 4.034 MB / 0.7627 GB, free: 9.801 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.8015, allocations: 2.057 MB / 0.7647 GB, free: 8.215 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.8029, allocations: 1.291 MB / 0.766 GB, free: 7.309 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.8029, allocations: 18 kB / 0.766 GB, free: 7.289 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.803, allocations: 54.69 kB / 0.7661 GB, free: 7.238 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=194): time 2.835e-06/0.803, allocations: 0 / 0.7661 GB, free: 7.238 MB / 0.5265 GB Notification: Performance of matching and sorting (n=194): time 0.002224/0.8052, allocations: 1.711 MB / 0.7677 GB, free: 5.883 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8053, allocations: 69.41 kB / 0.7678 GB, free: 5.801 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.8057, allocations: 470.2 kB / 0.7682 GB, free: 5.457 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.8058, allocations: 25.7 kB / 0.7683 GB, free: 5.426 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.806, allocations: 358.5 kB / 0.7686 GB, free: 5.102 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.8065, allocations: 0.6701 MB / 0.7693 GB, free: 4.504 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.8065, allocations: 0 / 0.7693 GB, free: 4.504 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.8067, allocations: 409.5 kB / 0.7697 GB, free: 4.133 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.8076, allocations: 0.752 MB / 0.7704 GB, free: 3.586 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.8086, allocations: 0.7549 MB / 0.7711 GB, free: 3.031 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8097, allocations: 0.9399 MB / 0.772 GB, free: 2.332 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.8097, allocations: 0 / 0.772 GB, free: 2.332 MB / 0.5265 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.002422/0.8122, allocations: 1.916 MB / 0.7739 GB, free: 0.8125 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8122, allocations: 4 kB / 0.7739 GB, free: 0.8086 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8122, allocations: 0 / 0.7739 GB, free: 0.8086 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.8122, allocations: 8 kB / 0.7739 GB, free: 0.8008 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.8141, allocations: 0.5107 MB / 0.7744 GB, free: 312 kB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.8141, allocations: 15.89 kB / 0.7744 GB, free: 296 kB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.8151, allocations: 190.5 kB / 0.7746 GB, free: 104 kB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/0.8152, allocations: 47.62 kB / 0.7747 GB, free: 68 kB / 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 (233): * Single equations (assignments): 233 * 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.0002183/0.8154, allocations: 128.3 kB / 0.7748 GB, free: 15.94 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8156, allocations: 90.88 kB / 0.7749 GB, free: 15.85 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.8159, allocations: 149.2 kB / 0.775 GB, free: 15.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.8159, allocations: 20 kB / 0.775 GB, free: 15.78 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.8159, allocations: 0 / 0.775 GB, free: 15.78 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.8159, allocations: 7.969 kB / 0.775 GB, free: 15.77 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.8177, allocations: 1.369 MB / 0.7764 GB, free: 14.66 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.8177, allocations: 4 kB / 0.7764 GB, free: 14.65 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/0.82, allocations: 0.5064 MB / 0.7769 GB, free: 14.16 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.82, allocations: 4 kB / 0.7769 GB, free: 14.16 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.8201, allocations: 39.33 kB / 0.7769 GB, free: 14.12 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.8201, allocations: 8 kB / 0.7769 GB, free: 14.12 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8201, allocations: 3.906 kB / 0.7769 GB, free: 14.11 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003632/0.8238, allocations: 3.092 MB / 0.78 GB, free: 11.74 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.8241, allocations: 191.5 kB / 0.7801 GB, free: 11.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.8243, allocations: 27.66 kB / 0.7802 GB, free: 11.52 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.8251, allocations: 95.66 kB / 0.7803 GB, free: 11.42 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.8252, allocations: 93.41 kB / 0.7803 GB, free: 11.34 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.8253, allocations: 51.06 kB / 0.7804 GB, free: 11.3 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0003857/0.8257, allocations: 380.1 kB / 0.7808 GB, free: 11.03 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001026/0.8267, allocations: 442.8 kB / 0.7812 GB, free: 10.6 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (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,heatcapacitor[39].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 194 * 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.0002654/0.827, allocations: 146.8 kB / 0.7813 GB, free: 10.45 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.8293, allocations: 1.841 MB / 0.7831 GB, free: 9.051 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8293, allocations: 0 / 0.7831 GB, free: 9.051 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.8304, allocations: 0.9777 MB / 0.7841 GB, free: 8.309 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.8309, allocations: 99.78 kB / 0.7842 GB, free: 8.23 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/0.8382, allocations: 5.2 MB / 0.7892 GB, free: 3.328 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.8396, allocations: 1.616 MB / 0.7908 GB, free: 1.781 MB / 0.5421 GB Notification: Performance of SimCode: time 4.01e-07/0.8396, allocations: 0 / 0.7908 GB, free: 1.781 MB / 0.5421 GB Notification: Performance of Templates: time 0.02398/0.8636, allocations: 15.25 MB / 0.8057 GB, free: 2.648 MB / 0.5578 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches