Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 86.48 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 180.6 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 241.2 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7615/0.7615, allocations: 120.4 MB / 412.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 12 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 82.85 MB / 0.5752 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40): time 0.001428/0.1649, allocations: 1.051 MB / 0.5762 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.1652, allocations: 47.86 kB / 0.5762 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1652, allocations: 0 / 0.5762 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.1653, allocations: 7.922 kB / 0.5762 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.1654, allocations: 31.84 kB / 0.5763 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1656, allocations: 7.984 kB / 0.5763 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1662, allocations: 0.5927 MB / 0.5769 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1663, allocations: 7.984 kB / 0.5769 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1666, allocations: 227.8 kB / 0.5771 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.1672, allocations: 387.4 kB / 0.5775 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1673, allocations: 36 kB / 0.5775 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.1674, allocations: 36 kB / 0.5775 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1677, allocations: 239.5 kB / 0.5778 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1679, allocations: 93.58 kB / 0.5778 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1682, allocations: 267.7 kB / 0.5781 GB, free: 5.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1682, allocations: 7.875 kB / 0.5781 GB, free: 5.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1682, allocations: 0 / 0.5781 GB, free: 5.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1682, allocations: 0 / 0.5781 GB, free: 5.105 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003737/0.172, allocations: 1.377 MB / 0.5795 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.172, allocations: 8.031 kB / 0.5795 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.1722, allocations: 43.58 kB / 0.5795 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.1726, allocations: 262.6 kB / 0.5798 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1727, allocations: 32.66 kB / 0.5798 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.1728, allocations: 63.81 kB / 0.5798 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.1736, allocations: 441.7 kB / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1736, allocations: 0 / 0.5803 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1736, allocations: 12 kB / 0.5803 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.1737, allocations: 12 kB / 0.5803 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.1741, allocations: 258.4 kB / 0.5805 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4833/0.6574, allocations: 3.43 MB / 0.5839 GB, free: 16.03 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.6707, allocations: 2.022 MB / 0.5859 GB, free: 15.96 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.6712, allocations: 187.9 kB / 0.586 GB, free: 15.96 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.6713, allocations: 3.25 kB / 0.586 GB, free: 15.96 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6713, allocations: 36.27 kB / 0.5861 GB, free: 15.92 MB / 446.3 MB Notification: Performance of pre-optimization done (n=38): time 2.474e-06/0.6713, allocations: 0 / 0.5861 GB, free: 15.92 MB / 446.3 MB Notification: Performance of matching and sorting (n=38): time 0.00136/0.6727, allocations: 0.6096 MB / 0.5867 GB, free: 15.88 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.6728, allocations: 61.27 kB / 0.5867 GB, free: 15.81 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6729, allocations: 130.3 kB / 0.5869 GB, free: 15.71 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.6729, allocations: 38.17 kB / 0.5869 GB, free: 15.67 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.673, allocations: 141.6 kB / 0.587 GB, free: 15.57 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.6732, allocations: 178 kB / 0.5872 GB, free: 15.43 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.6732, allocations: 10.25 kB / 0.5872 GB, free: 15.43 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.6733, allocations: 339.4 kB / 0.5875 GB, free: 15.1 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.6738, allocations: 237.1 kB / 0.5878 GB, free: 15.04 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.6742, allocations: 257.1 kB / 0.588 GB, free: 14.98 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.6747, allocations: 278.7 kB / 0.5883 GB, free: 14.89 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6748, allocations: 0 / 0.5883 GB, free: 14.89 MB / 446.3 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001097/0.6759, allocations: 0.6446 MB / 0.5889 GB, free: 14.67 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6759, allocations: 5.062 kB / 0.5889 GB, free: 14.67 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6759, allocations: 0 / 0.5889 GB, free: 14.67 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6759, allocations: 6.812 kB / 0.5889 GB, free: 14.67 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.6768, allocations: 157.9 kB / 0.5891 GB, free: 14.65 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6769, allocations: 2.562 kB / 0.5891 GB, free: 14.65 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.6775, allocations: 95.16 kB / 0.5892 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.6775, allocations: 20.09 kB / 0.5892 GB, free: 14.6 MB / 446.3 MB 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 (76): * Single equations (assignments): 76 * 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.0002032/0.6777, allocations: 162.8 kB / 0.5893 GB, free: 14.47 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.6778, allocations: 22.28 kB / 0.5893 GB, free: 14.46 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.678, allocations: 76.31 kB / 0.5894 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6781, allocations: 3.781 kB / 0.5894 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6781, allocations: 1.531 kB / 0.5894 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.6781, allocations: 2.062 kB / 0.5894 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.6786, allocations: 414.9 kB / 0.5898 GB, free: 14.14 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6787, allocations: 10.91 kB / 0.5898 GB, free: 14.13 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/0.6796, allocations: 111.6 kB / 0.5899 GB, free: 14.12 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6796, allocations: 9.953 kB / 0.5899 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.6797, allocations: 22.78 kB / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6797, allocations: 2.703 kB / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6797, allocations: 0 / 0.59 GB, free: 14.11 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.6808, allocations: 0.7487 MB / 0.5907 GB, free: 13.78 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.6809, allocations: 95.27 kB / 0.5908 GB, free: 13.67 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.681, allocations: 24.52 kB / 0.5908 GB, free: 13.66 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.6815, allocations: 71.09 kB / 0.5909 GB, free: 13.64 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.6816, allocations: 22.27 kB / 0.5909 GB, free: 13.64 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.6817, allocations: 14.17 kB / 0.5909 GB, free: 13.63 MB / 446.3 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.6817, allocations: 93.81 kB / 0.591 GB, free: 13.55 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6817, allocations: 0 / 0.591 GB, free: 13.55 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005028/0.6822, allocations: 169.6 kB / 0.5912 GB, free: 13.53 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 38 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38]) * 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 (38): * Single equations (assignments): 38 * 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.0001452/0.6824, allocations: 128.2 kB / 0.5913 GB, free: 13.42 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0008754/0.6833, allocations: 0.5126 MB / 0.5918 GB, free: 13.29 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6833, allocations: 1.25 kB / 0.5918 GB, free: 13.29 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.6836, allocations: 223 kB / 0.592 GB, free: 13.23 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.6841, allocations: 93.72 kB / 0.5921 GB, free: 13.19 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.6875, allocations: 3.253 MB / 0.5953 GB, free: 10.87 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.6878, allocations: 0.8113 MB / 0.5961 GB, free: 10.16 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0006735/0.6884, allocations: 188.8 kB / 0.5962 GB, free: 10.11 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.6886, allocations: 27.44 kB / 0.5963 GB, free: 10.11 MB / 446.3 MB Notification: Performance of SimCode: time 1.402e-06/0.6886, allocations: 0 / 0.5963 GB, free: 10.11 MB / 446.3 MB Notification: Performance of Templates: time 0.01108/0.6997, allocations: 5.793 MB / 0.6019 GB, free: 8.238 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches