Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.0009763/0.0009764, allocations: 105.2 kB / 17.01 MB, free: 5.789 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.0008452/0.0008452, allocations: 195.5 kB / 17.95 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4099/0.4099, allocations: 225.6 MB / 244.4 MB, free: 4.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6022/0.6022, allocations: 119.5 MB / 414 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000987/0.000987, allocations: 68.08 kB / 0.4946 GB, free: 13.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4185, allocations: 80.69 MB / 0.5733 GB, free: 56.18 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40): time 0.001818/0.4204, allocations: 1.317 MB / 0.5746 GB, free: 55.27 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.4205, allocations: 47.39 kB / 0.5747 GB, free: 55.24 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.4206, allocations: 0 / 0.5747 GB, free: 55.24 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.4207, allocations: 7.016 kB / 0.5747 GB, free: 55.23 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.4208, allocations: 28.97 kB / 0.5747 GB, free: 55.22 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.4209, allocations: 12.53 kB / 0.5747 GB, free: 55.21 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.4214, allocations: 0.6617 MB / 0.5754 GB, free: 55.04 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.4214, allocations: 5.828 kB / 0.5754 GB, free: 55.04 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.4217, allocations: 221.6 kB / 0.5756 GB, free: 55 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.4221, allocations: 333.3 kB / 0.5759 GB, free: 54.91 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.4222, allocations: 36.78 kB / 0.5759 GB, free: 54.91 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.4223, allocations: 36.88 kB / 0.576 GB, free: 54.91 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.4225, allocations: 234.9 kB / 0.5762 GB, free: 54.84 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.4228, allocations: 231.1 kB / 0.5764 GB, free: 54.76 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.4232, allocations: 421.4 kB / 0.5768 GB, free: 54.66 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4232, allocations: 1.953 kB / 0.5768 GB, free: 54.66 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4232, allocations: 0 / 0.5768 GB, free: 54.66 MB / 478.2 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4232, allocations: 3.438 kB / 0.5768 GB, free: 54.66 MB / 478.2 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.003619/0.4268, allocations: 1.449 MB / 0.5782 GB, free: 54.05 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.4269, allocations: 10.91 kB / 0.5783 GB, free: 54.05 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.427, allocations: 39.84 kB / 0.5783 GB, free: 54.04 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.4273, allocations: 261.4 kB / 0.5785 GB, free: 53.82 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4273, allocations: 42.81 kB / 0.5786 GB, free: 53.8 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.4274, allocations: 65.67 kB / 0.5786 GB, free: 53.77 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.4281, allocations: 440.6 kB / 0.5791 GB, free: 53.64 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4281, allocations: 1.125 kB / 0.5791 GB, free: 53.64 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.4281, allocations: 19.39 kB / 0.5791 GB, free: 53.62 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4281, allocations: 11.62 kB / 0.5791 GB, free: 53.62 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.4285, allocations: 255 kB / 0.5793 GB, free: 53.56 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.4325, allocations: 3.488 MB / 0.5827 GB, free: 50.59 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.4462, allocations: 2.063 MB / 0.5848 GB, free: 50.26 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.4465, allocations: 184.6 kB / 0.5849 GB, free: 50.2 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.4465, allocations: 8.312 kB / 0.5849 GB, free: 50.2 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.4465, allocations: 44.58 kB / 0.585 GB, free: 50.15 MB / 478.2 MB Notification: Performance of pre-optimization done (n=39): time 1.133e-06/0.4465, allocations: 0 / 0.585 GB, free: 50.15 MB / 478.2 MB Notification: Performance of matching and sorting (n=39): time 0.0009555/0.4475, allocations: 0.6035 MB / 0.5856 GB, free: 49.95 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.4475, allocations: 55.53 kB / 0.5856 GB, free: 49.89 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.4476, allocations: 125 kB / 0.5857 GB, free: 49.78 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4476, allocations: 36.83 kB / 0.5858 GB, free: 49.74 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.4477, allocations: 149.3 kB / 0.5859 GB, free: 49.61 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/0.4478, allocations: 179.3 kB / 0.5861 GB, free: 49.47 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.4479, allocations: 124.5 kB / 0.5862 GB, free: 49.41 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.448, allocations: 343.6 kB / 0.5865 GB, free: 49.08 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.4483, allocations: 233.7 kB / 0.5868 GB, free: 49 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.4486, allocations: 248.1 kB / 0.587 GB, free: 48.9 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.4493, allocations: 0.5164 MB / 0.5875 GB, free: 48.66 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4493, allocations: 0 / 0.5875 GB, free: 48.66 MB / 478.2 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008669/0.4502, allocations: 0.6431 MB / 0.5881 GB, free: 48.38 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4502, allocations: 6.969 kB / 0.5881 GB, free: 48.38 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4502, allocations: 0 / 0.5881 GB, free: 48.38 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4503, allocations: 6.688 kB / 0.5881 GB, free: 48.37 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.4511, allocations: 168.4 kB / 0.5883 GB, free: 48.32 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.4512, allocations: 6.531 kB / 0.5883 GB, free: 48.31 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.4517, allocations: 85.95 kB / 0.5884 GB, free: 48.25 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.4518, allocations: 16.66 kB / 0.5884 GB, free: 48.25 MB / 478.2 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.0001318/0.4519, allocations: 165.7 kB / 0.5886 GB, free: 48.1 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.452, allocations: 23.09 kB / 0.5886 GB, free: 48.09 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.4521, allocations: 74.88 kB / 0.5887 GB, free: 48.02 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4521, allocations: 3.812 kB / 0.5887 GB, free: 48.02 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4521, allocations: 0 / 0.5887 GB, free: 48.02 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4521, allocations: 5.234 kB / 0.5887 GB, free: 48.02 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.4525, allocations: 412.5 kB / 0.5891 GB, free: 47.69 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4525, allocations: 7.984 kB / 0.5891 GB, free: 47.68 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/0.4535, allocations: 117 kB / 0.5892 GB, free: 47.64 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4535, allocations: 6.531 kB / 0.5892 GB, free: 47.64 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4536, allocations: 24.59 kB / 0.5892 GB, free: 47.62 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4536, allocations: 1.25 kB / 0.5892 GB, free: 47.62 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4536, allocations: 0 / 0.5892 GB, free: 47.62 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.4544, allocations: 0.7471 MB / 0.5899 GB, free: 47.23 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.4545, allocations: 103 kB / 0.59 GB, free: 47.11 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.4546, allocations: 27.31 kB / 0.5901 GB, free: 47.1 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.4551, allocations: 51.67 kB / 0.5901 GB, free: 47.07 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.4552, allocations: 18.91 kB / 0.5901 GB, free: 47.06 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4552, allocations: 19.8 kB / 0.5902 GB, free: 47.05 MB / 478.2 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.4553, allocations: 90.86 kB / 0.5902 GB, free: 46.96 MB / 478.2 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4553, allocations: 5.469 kB / 0.5902 GB, free: 46.96 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.000369/0.4556, allocations: 170.9 kB / 0.5904 GB, free: 46.93 MB / 478.2 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.0001016/0.4557, allocations: 124.7 kB / 0.5905 GB, free: 46.83 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.4565, allocations: 0.5179 MB / 0.591 GB, free: 46.62 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4565, allocations: 0 / 0.591 GB, free: 46.62 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.4568, allocations: 221.7 kB / 0.5912 GB, free: 46.54 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.4572, allocations: 93.53 kB / 0.5913 GB, free: 46.48 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4595, allocations: 2.714 MB / 0.594 GB, free: 44.31 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.4597, allocations: 0.8104 MB / 0.5948 GB, free: 43.56 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.4601, allocations: 192.7 kB / 0.595 GB, free: 43.46 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.4603, allocations: 28.88 kB / 0.595 GB, free: 43.46 MB / 478.2 MB Notification: Performance of SimCode: time 2.81e-07/0.4603, allocations: 0 / 0.595 GB, free: 43.46 MB / 478.2 MB Notification: Performance of Templates: time 0.006887/0.4672, allocations: 6.383 MB / 0.6012 GB, free: 39.26 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches