Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008507, allocations: 96.83 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7595/0.7595, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 82.85 MB / 0.6242 GB, free: 9.227 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.7801, allocations: 126.2 MB / 0.7475 GB, free: 7.828 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.7804, allocations: 65.22 kB / 0.7475 GB, free: 7.793 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.05706/0.8374, allocations: 22.09 MB / 0.7691 GB, free: 4.945 MB / 0.5263 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8375, allocations: 0 / 0.7691 GB, free: 4.945 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 4.733e-05/0.8375, allocations: 31.94 kB / 0.7691 GB, free: 4.918 MB / 0.5263 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.003453/0.841, allocations: 1.681 MB / 0.7708 GB, free: 3.262 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.841, allocations: 8.031 kB / 0.7708 GB, free: 3.254 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.8414, allocations: 170.2 kB / 0.771 GB, free: 3.086 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.8438, allocations: 0.9969 MB / 0.7719 GB, free: 2.188 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.8439, allocations: 129.2 kB / 0.7721 GB, free: 2.113 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.8441, allocations: 185.8 kB / 0.7722 GB, free: 1.988 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.8466, allocations: 1.672 MB / 0.7739 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.8466, allocations: 23.72 kB / 0.7739 GB, free: 0.7656 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.8467, allocations: 62.31 kB / 0.7739 GB, free: 0.7539 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.8468, allocations: 36 kB / 0.774 GB, free: 0.7188 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.8492, allocations: 1.751 MB / 0.7757 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006909/0.8561, allocations: 4.365 MB / 0.78 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.8605, allocations: 3.001 MB / 0.7829 GB, free: 9.73 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.8606, allocations: 25.98 kB / 0.7829 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.8606, allocations: 56.12 kB / 0.783 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=194): time 4.478e-06/0.8606, allocations: 4 kB / 0.783 GB, free: 9.656 MB / 0.5419 GB Notification: Performance of matching and sorting (n=194): time 0.003393/0.864, allocations: 2.491 MB / 0.7854 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.8641, allocations: 77.28 kB / 0.7855 GB, free: 7.707 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.8647, allocations: 480.2 kB / 0.7859 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/0.8648, allocations: 64.02 kB / 0.786 GB, free: 7.305 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.865, allocations: 418.9 kB / 0.7864 GB, free: 6.973 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.8656, allocations: 0.697 MB / 0.7871 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.8657, allocations: 30.62 kB / 0.7871 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.8659, allocations: 417.4 kB / 0.7875 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.8669, allocations: 0.7611 MB / 0.7882 GB, free: 5.422 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.8679, allocations: 0.7784 MB / 0.789 GB, free: 4.848 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.8691, allocations: 0.9379 MB / 0.7899 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.8692, allocations: 0 / 0.7899 GB, free: 4.203 MB / 0.5419 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.002675/0.8718, allocations: 2.002 MB / 0.7919 GB, free: 2.719 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.8719, allocations: 7.938 kB / 0.7919 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8719, allocations: 0 / 0.7919 GB, free: 2.711 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.8719, allocations: 11.98 kB / 0.7919 GB, free: 2.699 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.8738, allocations: 0.5419 MB / 0.7924 GB, free: 2.168 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.8738, allocations: 8 kB / 0.7924 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.8748, allocations: 249.6 kB / 0.7927 GB, free: 1.945 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.8749, allocations: 51.5 kB / 0.7927 GB, free: 1.91 MB / 0.5419 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 () * Number of clocked 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.0006841/0.8756, allocations: 0.4998 MB / 0.7932 GB, free: 1.523 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.8758, allocations: 102.8 kB / 0.7933 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.8761, allocations: 168.2 kB / 0.7935 GB, free: 1.383 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.8761, allocations: 23.98 kB / 0.7935 GB, free: 1.359 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8762, allocations: 0 / 0.7935 GB, free: 1.359 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.8762, allocations: 11.97 kB / 0.7935 GB, free: 1.348 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.8781, allocations: 1.554 MB / 0.795 GB, free: 112 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.8781, allocations: 3.938 kB / 0.795 GB, free: 108 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/0.8803, allocations: 0.5418 MB / 0.7955 GB, free: 15.58 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.8803, allocations: 8 kB / 0.7956 GB, free: 15.57 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.8804, allocations: 62.91 kB / 0.7956 GB, free: 15.54 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.8804, allocations: 8 kB / 0.7956 GB, free: 15.53 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8804, allocations: 0 / 0.7956 GB, free: 15.53 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.8839, allocations: 3.124 MB / 0.7987 GB, free: 13.22 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.8843, allocations: 191.5 kB / 0.7989 GB, free: 13.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.8844, allocations: 58.41 kB / 0.7989 GB, free: 12.99 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.8852, allocations: 146.9 kB / 0.7991 GB, free: 12.87 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8853, allocations: 109.4 kB / 0.7992 GB, free: 12.77 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.8854, allocations: 47.55 kB / 0.7992 GB, free: 12.74 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.0004071/0.8858, allocations: 403.1 kB / 0.7996 GB, free: 12.45 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8858, allocations: 3.938 kB / 0.7996 GB, free: 12.45 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009538/0.8868, allocations: 0.5046 MB / 0.8001 GB, free: 12 MB / 0.5575 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 () * Number of clocked 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.0002233/0.887, allocations: 169.8 kB / 0.8002 GB, free: 11.85 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.8894, allocations: 1.867 MB / 0.8021 GB, free: 10.42 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8894, allocations: 4 kB / 0.8021 GB, free: 10.41 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.8905, allocations: 0.9811 MB / 0.803 GB, free: 9.672 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.891, allocations: 127.7 kB / 0.8032 GB, free: 9.594 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/0.8994, allocations: 6.496 MB / 0.8095 GB, free: 3.465 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.9004, allocations: 1.497 MB / 0.811 GB, free: 2.023 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.001599/0.902, allocations: 0.7269 MB / 0.8117 GB, free: 1.293 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.9023, allocations: 87.44 kB / 0.8117 GB, free: 1.207 MB / 0.5575 GB Notification: Performance of SimCode: time 8.51e-07/0.9023, allocations: 7.875 kB / 0.8118 GB, free: 1.199 MB / 0.5575 GB Notification: Performance of Templates: time 0.02075/0.9231, allocations: 12.13 MB / 0.8236 GB, free: 5.191 MB / 0.5732 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_Modelica_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches