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.001275/0.001275, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001247/0.001247, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9197/0.9197, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 66.48 kB / 0.5717 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.69 MB / 0.6505 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40): time 0.002652/0.1462, allocations: 1.348 MB / 0.6518 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.1465, allocations: 46.19 kB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.1465, allocations: 0 / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1466, allocations: 7.922 kB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1467, allocations: 23.91 kB / 0.6519 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1469, allocations: 19.91 kB / 0.6519 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.1475, allocations: 0.667 MB / 0.6525 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1476, allocations: 4 kB / 0.6525 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.1479, allocations: 231.7 kB / 0.6528 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005758/0.1485, allocations: 337.1 kB / 0.6531 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1487, allocations: 36 kB / 0.6531 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1488, allocations: 36 kB / 0.6531 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.149, allocations: 231.4 kB / 0.6534 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.1493, allocations: 231.2 kB / 0.6536 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.1497, allocations: 414.7 kB / 0.654 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1497, allocations: 0 / 0.654 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1497, allocations: 4 kB / 0.654 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1497, allocations: 0 / 0.654 GB, free: 9.438 MB / 0.4983 GB 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.004044/0.1537, allocations: 1.444 MB / 0.6554 GB, free: 7.941 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1538, allocations: 11.89 kB / 0.6554 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1539, allocations: 40.56 kB / 0.6554 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.1544, allocations: 264 kB / 0.6557 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.1544, allocations: 33.03 kB / 0.6557 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1545, allocations: 68.11 kB / 0.6558 GB, free: 7.496 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1552, allocations: 434.3 kB / 0.6562 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1552, allocations: 8.172 kB / 0.6562 GB, free: 7.055 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.1553, allocations: 19.94 kB / 0.6562 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1553, allocations: 8 kB / 0.6562 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.1557, allocations: 254.4 kB / 0.6565 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.1606, allocations: 3.417 MB / 0.6598 GB, free: 2.844 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.1739, allocations: 2.012 MB / 0.6618 GB, free: 0.8203 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.1743, allocations: 184.8 kB / 0.662 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.1744, allocations: 7.938 kB / 0.662 GB, free: 0.6289 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1744, allocations: 51.06 kB / 0.662 GB, free: 0.5703 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=38): time 3.116e-06/0.1744, allocations: 3.984 kB / 0.662 GB, free: 0.5664 MB / 0.4983 GB Notification: Performance of matching and sorting (n=38): time 0.001088/0.1755, allocations: 0.6018 MB / 0.6626 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1755, allocations: 55.41 kB / 0.6627 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1757, allocations: 137.8 kB / 0.6628 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1757, allocations: 37.7 kB / 0.6628 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.1758, allocations: 140.9 kB / 0.663 GB, free: 15.56 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1759, allocations: 173.5 kB / 0.6631 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.1761, allocations: 118.3 kB / 0.6632 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1762, allocations: 338.8 kB / 0.6636 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.1766, allocations: 241.2 kB / 0.6638 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.177, allocations: 253.7 kB / 0.664 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.1777, allocations: 0.5155 MB / 0.6645 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1777, allocations: 0 / 0.6645 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009453/0.1787, allocations: 0.653 MB / 0.6652 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1787, allocations: 4 kB / 0.6652 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1787, allocations: 0 / 0.6652 GB, free: 13.26 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1787, allocations: 8 kB / 0.6652 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.1796, allocations: 155.8 kB / 0.6653 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.1797, allocations: 11.94 kB / 0.6653 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.1802, allocations: 79.45 kB / 0.6654 GB, free: 13.01 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.1803, allocations: 20 kB / 0.6654 GB, free: 12.99 MB / 0.5139 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 (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.1805, allocations: 170.5 kB / 0.6656 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.1806, allocations: 19.75 kB / 0.6656 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.1807, allocations: 73.62 kB / 0.6657 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1807, allocations: 7.984 kB / 0.6657 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1807, allocations: 0 / 0.6657 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1807, allocations: 4 kB / 0.6657 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.1812, allocations: 409.2 kB / 0.6661 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1812, allocations: 3.984 kB / 0.6661 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.1822, allocations: 123.8 kB / 0.6662 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1823, allocations: 0 / 0.6662 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.1823, allocations: 31.97 kB / 0.6662 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1823, allocations: 3.938 kB / 0.6663 GB, free: 12.1 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1823, allocations: 0 / 0.6663 GB, free: 12.1 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1834, allocations: 0.732 MB / 0.667 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.1834, allocations: 104.8 kB / 0.6671 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.1835, allocations: 15.98 kB / 0.6671 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.1841, allocations: 51.92 kB / 0.6671 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.1842, allocations: 23.97 kB / 0.6672 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.1842, allocations: 11.98 kB / 0.6672 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.1843, allocations: 95.27 kB / 0.6673 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1843, allocations: 4 kB / 0.6673 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004031/0.1847, allocations: 167.8 kB / 0.6674 GB, free: 10.87 MB / 0.5139 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.1849, allocations: 129.4 kB / 0.6675 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.1856, allocations: 0.5195 MB / 0.6681 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1856, allocations: 0 / 0.6681 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.186, allocations: 223.8 kB / 0.6683 GB, free: 9.996 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.1865, allocations: 94.48 kB / 0.6684 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.1895, allocations: 2.699 MB / 0.671 GB, free: 7.172 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1898, allocations: 0.8111 MB / 0.6718 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.1901, allocations: 35.44 kB / 0.6718 GB, free: 6.301 MB / 0.5139 GB Notification: Performance of SimCode: time 3.51e-07/0.1901, allocations: 0 / 0.6718 GB, free: 6.301 MB / 0.5139 GB Notification: Performance of Templates: time 0.007679/0.1978, allocations: 5.86 MB / 0.6775 GB, free: 464 kB / 0.5139 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches