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: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 102.1 kB / 16.5 MB, free: 6.695 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.001373/0.001373, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.462/1.462, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.384/1.384, allocations: 119.3 MB / 410.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 59.91 kB / 0.4904 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7024, allocations: 80.68 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40): time 0.002729/0.7052, allocations: 1.402 MB / 0.5705 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.7054, allocations: 49.34 kB / 0.5706 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.7055, allocations: 0 / 0.5706 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.7056, allocations: 9.047 kB / 0.5706 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.918e-05/0.7057, allocations: 29.53 kB / 0.5706 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.7059, allocations: 11.39 kB / 0.5706 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.7066, allocations: 0.6965 MB / 0.5713 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.7066, allocations: 3.969 kB / 0.5713 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.7069, allocations: 231.8 kB / 0.5715 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.7075, allocations: 372 kB / 0.5719 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.7076, allocations: 35.78 kB / 0.5719 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.7077, allocations: 36.22 kB / 0.5719 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.7079, allocations: 226.1 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.7082, allocations: 242.5 kB / 0.5724 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.7086, allocations: 418.2 kB / 0.5728 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7086, allocations: 0 / 0.5728 GB, free: 40.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.32e-07/0.7086, allocations: 0 / 0.5728 GB, free: 40.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.7086, allocations: 0 / 0.5728 GB, free: 40.57 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004288/0.7129, allocations: 1.422 MB / 0.5742 GB, free: 39.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.713, allocations: 9 kB / 0.5742 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.876e-05/0.7131, allocations: 79.31 kB / 0.5743 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.7132, allocations: 44.31 kB / 0.5743 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.7139, allocations: 269 kB / 0.5746 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.714, allocations: 31.31 kB / 0.5746 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.7143, allocations: 62.38 kB / 0.5747 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.7153, allocations: 441.9 kB / 0.5751 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.7154, allocations: 7.922 kB / 0.5751 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.7154, allocations: 14.44 kB / 0.5751 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.7154, allocations: 7.719 kB / 0.5751 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.7159, allocations: 255.6 kB / 0.5753 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.721, allocations: 3.413 MB / 0.5787 GB, free: 35.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/0.7362, allocations: 2.027 MB / 0.5807 GB, free: 34.63 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.7367, allocations: 186.9 kB / 0.5808 GB, free: 34.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.7368, allocations: 7.688 kB / 0.5808 GB, free: 34.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.7369, allocations: 35.84 kB / 0.5809 GB, free: 34.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=38): time 2.825e-06/0.7369, allocations: 1.25 kB / 0.5809 GB, free: 34.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=38): time 0.001208/0.7381, allocations: 0.6015 MB / 0.5815 GB, free: 34.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.7381, allocations: 63.19 kB / 0.5815 GB, free: 34.14 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.7382, allocations: 127.4 kB / 0.5816 GB, free: 34.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.7383, allocations: 41.52 kB / 0.5817 GB, free: 33.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.7383, allocations: 144.1 kB / 0.5818 GB, free: 33.85 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.7384, allocations: 185.6 kB / 0.582 GB, free: 33.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.7386, allocations: 111.4 kB / 0.5821 GB, free: 33.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.7387, allocations: 339.6 kB / 0.5824 GB, free: 33.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.7391, allocations: 240.2 kB / 0.5827 GB, free: 33.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.7395, allocations: 259.1 kB / 0.5829 GB, free: 33.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.7404, allocations: 0.515 MB / 0.5834 GB, free: 32.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.7405, allocations: 0 / 0.5834 GB, free: 32.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002219/0.7427, allocations: 0.6427 MB / 0.584 GB, free: 32.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7427, allocations: 6.344 kB / 0.584 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7427, allocations: 0 / 0.584 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7428, allocations: 2.75 kB / 0.584 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7438, allocations: 174.5 kB / 0.5842 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-05/0.7439, allocations: 2.344 kB / 0.5842 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.745, allocations: 93.2 kB / 0.5843 GB, free: 32.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.7451, allocations: 17.03 kB / 0.5843 GB, free: 32.41 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 (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.0006095/0.7458, allocations: 166 kB / 0.5845 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.7461, allocations: 22.03 kB / 0.5845 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.7464, allocations: 71.84 kB / 0.5846 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.7464, allocations: 3.75 kB / 0.5846 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.953e-05/0.7464, allocations: 0 / 0.5846 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.7465, allocations: 5.172 kB / 0.5846 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.7478, allocations: 413.8 kB / 0.585 GB, free: 31.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7478, allocations: 3.938 kB / 0.585 GB, free: 31.85 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.7493, allocations: 115.6 kB / 0.5851 GB, free: 31.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/0.7494, allocations: 1.844 kB / 0.5851 GB, free: 31.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.7495, allocations: 27.94 kB / 0.5851 GB, free: 31.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.7495, allocations: 1.344 kB / 0.5851 GB, free: 31.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7496, allocations: 5.125 kB / 0.5851 GB, free: 31.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.7509, allocations: 0.7356 MB / 0.5858 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7511, allocations: 98.61 kB / 0.5859 GB, free: 31.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7512, allocations: 23.47 kB / 0.586 GB, free: 31.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.7519, allocations: 71.17 kB / 0.586 GB, free: 31.22 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.752, allocations: 24.31 kB / 0.586 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.7521, allocations: 5.938 kB / 0.5861 GB, free: 31.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.7522, allocations: 93.8 kB / 0.5861 GB, free: 31.13 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.7522, allocations: 0 / 0.5861 GB, free: 31.13 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008337/0.753, allocations: 169.3 kB / 0.5863 GB, free: 31.1 MB / 462.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 (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.001947/0.755, allocations: 1.309 MB / 0.5876 GB, free: 30.15 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.7559, allocations: 0.5215 MB / 0.5881 GB, free: 29.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7559, allocations: 0 / 0.5881 GB, free: 29.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.7562, allocations: 227.5 kB / 0.5883 GB, free: 29.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.7568, allocations: 86.38 kB / 0.5884 GB, free: 29.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.7631, allocations: 6.276 MB / 0.5945 GB, free: 23 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.7634, allocations: 0.815 MB / 0.5953 GB, free: 22.15 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006574/0.7641, allocations: 186.8 kB / 0.5955 GB, free: 21.97 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7643, allocations: 111.4 kB / 0.5956 GB, free: 21.86 MB / 462.3 MB Notification: Performance of SimCode: time 1.222e-06/0.7643, allocations: 0 / 0.5956 GB, free: 21.86 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.7915, allocations: 9.829 MB / 0.6052 GB, free: 12.27 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.7918, allocations: 247.3 kB / 0.6054 GB, free: 12.01 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.197, allocations: 0 / 0.6054 GB, free: 12.01 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_40_fmu --startTime=0 --stopTime=350 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_40.fmu > 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches