Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_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.OneDHeatTransferTI_FD_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.2.|T.3.|T.40.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009969, allocations: 111.8 kB / 16.51 MB, free: 6.715 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.0009694/0.0009695, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.249/1.249, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8222/0.8222, allocations: 119.3 MB / 410.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 59.91 kB / 0.4902 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.43, allocations: 80.69 MB / 0.569 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40): time 0.001885/0.4319, allocations: 1.379 MB / 0.5704 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.4321, allocations: 49.42 kB / 0.5704 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.4321, allocations: 0 / 0.5704 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.4322, allocations: 5.359 kB / 0.5704 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.4323, allocations: 29.27 kB / 0.5705 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.886e-05/0.4324, allocations: 10.73 kB / 0.5705 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.4328, allocations: 0.6869 MB / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.4329, allocations: 8.609 kB / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.4331, allocations: 226.9 kB / 0.5714 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.4334, allocations: 370.7 kB / 0.5717 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.4335, allocations: 36.41 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.802e-05/0.4336, allocations: 37.03 kB / 0.5718 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4338, allocations: 229.9 kB / 0.572 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.434, allocations: 242.9 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.4343, allocations: 416.2 kB / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4343, allocations: 0 / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.41e-07/0.4343, allocations: 0 / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.4343, allocations: 0 / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003933/0.4382, allocations: 1.437 MB / 0.5741 GB, free: 40.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4383, allocations: 9.094 kB / 0.5741 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.4384, allocations: 40.25 kB / 0.5741 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.4386, allocations: 266.9 kB / 0.5744 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4387, allocations: 34.44 kB / 0.5744 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.4388, allocations: 63.91 kB / 0.5744 GB, free: 39.85 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.4394, allocations: 447.7 kB / 0.5749 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4394, allocations: 192 / 0.5749 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.4395, allocations: 21.75 kB / 0.5749 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4395, allocations: 7.906 kB / 0.5749 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.4399, allocations: 256 kB / 0.5751 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004251/0.4441, allocations: 3.485 MB / 0.5786 GB, free: 36.1 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/0.4597, allocations: 2.063 MB / 0.5806 GB, free: 35.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.46, allocations: 188.3 kB / 0.5807 GB, free: 35.06 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.4601, allocations: 3.75 kB / 0.5808 GB, free: 35.06 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.4601, allocations: 37.03 kB / 0.5808 GB, free: 35.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=39): time 1.463e-06/0.4601, allocations: 3.938 kB / 0.5808 GB, free: 35.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=39): time 0.001047/0.4612, allocations: 0.6017 MB / 0.5814 GB, free: 34.74 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.4612, allocations: 59.22 kB / 0.5814 GB, free: 34.67 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.4613, allocations: 130.1 kB / 0.5816 GB, free: 34.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.4613, allocations: 36.2 kB / 0.5816 GB, free: 34.51 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.4614, allocations: 148.1 kB / 0.5817 GB, free: 34.37 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.4615, allocations: 174.9 kB / 0.5819 GB, free: 34.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.4616, allocations: 120.6 kB / 0.582 GB, free: 34.15 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.4617, allocations: 339.7 kB / 0.5823 GB, free: 33.82 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.462, allocations: 234.1 kB / 0.5826 GB, free: 33.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4624, allocations: 252.3 kB / 0.5828 GB, free: 33.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.4631, allocations: 0.5234 MB / 0.5833 GB, free: 33.37 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4631, allocations: 0 / 0.5833 GB, free: 33.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009281/0.4641, allocations: 0.6434 MB / 0.5839 GB, free: 33.08 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4641, allocations: 5.281 kB / 0.5839 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4641, allocations: 1.094 kB / 0.5839 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4641, allocations: 2.281 kB / 0.584 GB, free: 33.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.4651, allocations: 165.8 kB / 0.5841 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4651, allocations: 2.875 kB / 0.5841 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.4658, allocations: 93.73 kB / 0.5842 GB, free: 32.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.4659, allocations: 17.22 kB / 0.5842 GB, free: 32.96 MB / 462.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 (78): * Single equations (assignments): 78 * 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.0001446/0.466, allocations: 166.7 kB / 0.5844 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.4661, allocations: 21.56 kB / 0.5844 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.4663, allocations: 74.72 kB / 0.5845 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4663, allocations: 8.297 kB / 0.5845 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4663, allocations: 4 kB / 0.5845 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4663, allocations: 5.141 kB / 0.5845 GB, free: 32.72 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.4667, allocations: 408.4 kB / 0.5849 GB, free: 32.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4667, allocations: 1.375 kB / 0.5849 GB, free: 32.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.4678, allocations: 125.1 kB / 0.585 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4678, allocations: 0.9688 kB / 0.585 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.4679, allocations: 28.91 kB / 0.585 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4679, allocations: 1.031 kB / 0.585 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4679, allocations: 1.062 kB / 0.585 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009827/0.4689, allocations: 0.744 MB / 0.5858 GB, free: 31.94 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.4689, allocations: 110.1 kB / 0.5859 GB, free: 31.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.469, allocations: 27.5 kB / 0.5859 GB, free: 31.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.4697, allocations: 72.67 kB / 0.586 GB, free: 31.76 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.4698, allocations: 22.62 kB / 0.586 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.4698, allocations: 12.61 kB / 0.586 GB, free: 31.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.4699, allocations: 91.59 kB / 0.5861 GB, free: 31.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4699, allocations: 0 / 0.5861 GB, free: 31.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003918/0.4703, allocations: 171.6 kB / 0.5862 GB, free: 31.51 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 39 (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],Ttilde[39]) * 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 (39): * Single equations (assignments): 39 * 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.0001092/0.4704, allocations: 132.9 kB / 0.5864 GB, free: 31.37 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000659/0.4711, allocations: 0.5115 MB / 0.5869 GB, free: 30.85 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4711, allocations: 0 / 0.5869 GB, free: 30.85 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.4714, allocations: 224.7 kB / 0.5871 GB, free: 30.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.4718, allocations: 92.08 kB / 0.5872 GB, free: 30.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.4744, allocations: 2.836 MB / 0.5899 GB, free: 27.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.4746, allocations: 0.8166 MB / 0.5907 GB, free: 26.83 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005432/0.4751, allocations: 186.8 kB / 0.5909 GB, free: 26.65 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.4753, allocations: 27.44 kB / 0.5909 GB, free: 26.62 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.4753, allocations: 0 / 0.5909 GB, free: 26.62 MB / 462.3 MB Notification: Performance of Templates: time 0.007519/0.4828, allocations: 6.082 MB / 0.5969 GB, free: 20.63 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches