Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.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_20,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_20") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20,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_20") [: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.001048/0.001048, allocations: 189.8 kB / 8.136 MB, free: 2.211 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.046/1.046, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0008595/0.0008595, allocations: 111 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.5901/0.5901, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.899e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5406, allocations: 125.4 MB / 0.7315 GB, free: 4.613 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001369/0.5408, allocations: 59.89 kB / 0.7316 GB, free: 4.594 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.02436/0.5651, allocations: 10.95 MB / 0.7423 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.5652, allocations: 12 kB / 0.7423 GB, free: 11.63 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001087/0.5663, allocations: 0.8469 MB / 0.7431 GB, free: 10.78 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.5663, allocations: 8.031 kB / 0.7431 GB, free: 10.77 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.5665, allocations: 86.62 kB / 0.7432 GB, free: 10.69 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5676, allocations: 0.5764 MB / 0.7438 GB, free: 10.13 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.5676, allocations: 28 kB / 0.7438 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.5677, allocations: 54.47 kB / 0.7439 GB, free: 10.05 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00103/0.5688, allocations: 0.8302 MB / 0.7447 GB, free: 9.441 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/0.5697, allocations: 0.7275 MB / 0.7454 GB, free: 8.875 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.5697, allocations: 18.52 kB / 0.7454 GB, free: 8.859 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.5698, allocations: 0 / 0.7454 GB, free: 8.859 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5698, allocations: 20 kB / 0.7454 GB, free: 8.84 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.5725, allocations: 2.069 MB / 0.7474 GB, free: 7.125 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.5738, allocations: 0.9974 MB / 0.7484 GB, free: 6.348 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.5744, allocations: 0.6202 MB / 0.749 GB, free: 5.906 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.5745, allocations: 12.78 kB / 0.749 GB, free: 5.895 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5745, allocations: 45.88 kB / 0.7491 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=94): time 1.763e-06/0.5745, allocations: 0 / 0.7491 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of matching and sorting (n=94): time 0.0009944/0.5755, allocations: 0.8361 MB / 0.7499 GB, free: 5.176 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.5755, allocations: 60.19 kB / 0.75 GB, free: 5.105 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.5758, allocations: 279.4 kB / 0.7502 GB, free: 4.887 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.5758, allocations: 29.7 kB / 0.7502 GB, free: 4.852 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.5759, allocations: 218.6 kB / 0.7505 GB, free: 4.648 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.5761, allocations: 335.5 kB / 0.7508 GB, free: 4.355 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.5761, allocations: 0 / 0.7508 GB, free: 4.355 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5763, allocations: 364.8 kB / 0.7511 GB, free: 4.012 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.5767, allocations: 367.7 kB / 0.7515 GB, free: 3.75 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.5771, allocations: 372.8 kB / 0.7518 GB, free: 3.484 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.5775, allocations: 464.4 kB / 0.7523 GB, free: 3.145 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5776, allocations: 3.938 kB / 0.7523 GB, free: 3.141 MB / 0.5109 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001036/0.5786, allocations: 0.9515 MB / 0.7532 GB, free: 2.375 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.5786, allocations: 4 kB / 0.7532 GB, free: 2.371 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5786, allocations: 0 / 0.7532 GB, free: 2.371 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5786, allocations: 4 kB / 0.7532 GB, free: 2.367 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/0.5795, allocations: 252.8 kB / 0.7535 GB, free: 2.129 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5795, allocations: 4 kB / 0.7535 GB, free: 2.125 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.5799, allocations: 91.22 kB / 0.7535 GB, free: 2.035 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.5799, allocations: 26.94 kB / 0.7536 GB, free: 2.016 MB / 0.5109 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 (113): * Single equations (assignments): 113 * 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 9.841e-05/0.58, allocations: 108.9 kB / 0.7537 GB, free: 1.902 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.5801, allocations: 47.44 kB / 0.7537 GB, free: 1.855 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.5803, allocations: 88.23 kB / 0.7538 GB, free: 1.82 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5803, allocations: 15.92 kB / 0.7538 GB, free: 1.805 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5803, allocations: 0 / 0.7538 GB, free: 1.805 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5803, allocations: 3.984 kB / 0.7538 GB, free: 1.801 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.581, allocations: 0.7285 MB / 0.7545 GB, free: 1.176 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.581, allocations: 0 / 0.7545 GB, free: 1.176 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/0.582, allocations: 250 kB / 0.7548 GB, free: 0.9414 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5821, allocations: 4 kB / 0.7548 GB, free: 0.9375 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.5821, allocations: 19.09 kB / 0.7548 GB, free: 0.9219 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5821, allocations: 4 kB / 0.7548 GB, free: 0.918 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5821, allocations: 7.906 kB / 0.7548 GB, free: 0.9102 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001473/0.5836, allocations: 1.549 MB / 0.7563 GB, free: 15.7 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.5837, allocations: 132.3 kB / 0.7564 GB, free: 15.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.774e-05/0.5838, allocations: 15.3 kB / 0.7565 GB, free: 15.54 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5842, allocations: 47.8 kB / 0.7565 GB, free: 15.5 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.5842, allocations: 48.39 kB / 0.7566 GB, free: 15.45 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.5843, allocations: 22.88 kB / 0.7566 GB, free: 15.44 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.000169/0.5845, allocations: 234 kB / 0.7568 GB, free: 15.27 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0004261/0.5849, allocations: 219.4 kB / 0.757 GB, free: 15.05 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 94 * 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.0001305/0.585, allocations: 113.8 kB / 0.7571 GB, free: 14.93 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0009498/0.586, allocations: 0.8977 MB / 0.758 GB, free: 14.25 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.586, allocations: 0 / 0.758 GB, free: 14.25 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.5865, allocations: 479.5 kB / 0.7585 GB, free: 13.89 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.5868, allocations: 51.53 kB / 0.7585 GB, free: 13.85 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5901, allocations: 2.549 MB / 0.761 GB, free: 11.44 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.5907, allocations: 1.143 MB / 0.7621 GB, free: 10.32 MB / 0.5265 GB Notification: Performance of SimCode: time 2.41e-07/0.5908, allocations: 0 / 0.7621 GB, free: 10.32 MB / 0.5265 GB Notification: Performance of Templates: time 0.01118/0.6019, allocations: 7.575 MB / 0.7695 GB, free: 2.832 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches