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.001012/0.001012, allocations: 104.8 kB / 17.05 MB, free: 6.023 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.001041/0.001041, allocations: 196 kB / 18 MB, free: 5.105 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.21/1.21, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8187/0.8187, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 66.64 kB / 0.5705 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 80.69 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40): time 0.002356/0.1307, allocations: 1.347 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002147/0.1309, allocations: 54.11 kB / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.131, allocations: 4 kB / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.1311, allocations: 0 / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.1312, allocations: 35.83 kB / 0.6507 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.1314, allocations: 7.984 kB / 0.6507 GB, free: 12.01 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.1319, allocations: 0.6669 MB / 0.6514 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.132, allocations: 8 kB / 0.6514 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.1323, allocations: 223.8 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.1328, allocations: 341.1 kB / 0.6519 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1329, allocations: 36 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-05/0.133, allocations: 36 kB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1332, allocations: 235.4 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.1335, allocations: 231.2 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1339, allocations: 410.5 kB / 0.6528 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1339, allocations: 0 / 0.6528 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1339, allocations: 0 / 0.6528 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.1339, allocations: 0 / 0.6528 GB, free: 9.852 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.003867/0.1378, allocations: 1.448 MB / 0.6543 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1379, allocations: 8.031 kB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.138, allocations: 70.72 kB / 0.6543 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.1381, allocations: 40.56 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1385, allocations: 264 kB / 0.6546 GB, free: 7.93 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1386, allocations: 37.03 kB / 0.6547 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1387, allocations: 64.19 kB / 0.6547 GB, free: 7.832 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.1394, allocations: 442.3 kB / 0.6551 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1394, allocations: 3.938 kB / 0.6551 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.1395, allocations: 12 kB / 0.6552 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1395, allocations: 8 kB / 0.6552 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.1399, allocations: 254.4 kB / 0.6554 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.145, allocations: 3.421 MB / 0.6587 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.158, allocations: 2.012 MB / 0.6607 GB, free: 1.156 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.1584, allocations: 196.7 kB / 0.6609 GB, free: 0.9609 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.773e-05/0.1585, allocations: 11.88 kB / 0.6609 GB, free: 0.9492 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1586, allocations: 39.12 kB / 0.6609 GB, free: 0.9023 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=38): time 2.225e-06/0.1586, allocations: 0 / 0.6609 GB, free: 0.9023 MB / 0.4983 GB Notification: Performance of matching and sorting (n=38): time 0.00116/0.1597, allocations: 0.6018 MB / 0.6615 GB, free: 300 kB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1598, allocations: 55.41 kB / 0.6616 GB, free: 232 kB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1599, allocations: 137.8 kB / 0.6617 GB, free: 84 kB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.16, allocations: 37.7 kB / 0.6618 GB, free: 40 kB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.1601, allocations: 144.8 kB / 0.6619 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1602, allocations: 173.5 kB / 0.6621 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.1604, allocations: 118.3 kB / 0.6622 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1605, allocations: 338.8 kB / 0.6625 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.1609, allocations: 241.1 kB / 0.6627 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1612, allocations: 249.7 kB / 0.663 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.162, allocations: 0.5193 MB / 0.6635 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.162, allocations: 4 kB / 0.6635 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000952/0.163, allocations: 0.653 MB / 0.6641 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.163, allocations: 4 kB / 0.6641 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.163, allocations: 0 / 0.6641 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.163, allocations: 4 kB / 0.6641 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.1639, allocations: 159.8 kB / 0.6643 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.164, allocations: 4 kB / 0.6643 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.1645, allocations: 79.52 kB / 0.6643 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.1646, allocations: 20 kB / 0.6644 GB, free: 13.32 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.0001681/0.1648, allocations: 166.5 kB / 0.6645 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.1648, allocations: 19.75 kB / 0.6645 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.165, allocations: 77.62 kB / 0.6646 GB, free: 13.06 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.165, allocations: 4 kB / 0.6646 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.165, allocations: 4 kB / 0.6646 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.165, allocations: 3.984 kB / 0.6646 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.1655, allocations: 413.2 kB / 0.665 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1655, allocations: 3.938 kB / 0.665 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000979/0.1665, allocations: 115.8 kB / 0.6651 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.1665, allocations: 3.938 kB / 0.6651 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.1666, allocations: 27.97 kB / 0.6652 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1666, allocations: 0 / 0.6652 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1666, allocations: 0 / 0.6652 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1676, allocations: 0.7359 MB / 0.6659 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.1677, allocations: 104.8 kB / 0.666 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.1678, allocations: 19.97 kB / 0.666 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.1684, allocations: 51.94 kB / 0.6661 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.1685, allocations: 23.95 kB / 0.6661 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.1685, allocations: 12 kB / 0.6661 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.1685, allocations: 95.2 kB / 0.6662 GB, free: 11.37 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 0 / 0.6662 GB, free: 11.37 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004094/0.169, allocations: 167.8 kB / 0.6663 GB, free: 11.21 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.001303/0.1703, allocations: 1.309 MB / 0.6676 GB, free: 9.871 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007927/0.1711, allocations: 0.5155 MB / 0.6681 GB, free: 9.355 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1711, allocations: 8 kB / 0.6681 GB, free: 9.348 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1714, allocations: 220.4 kB / 0.6683 GB, free: 9.133 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1719, allocations: 87.86 kB / 0.6684 GB, free: 9.047 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.1785, allocations: 6.178 MB / 0.6745 GB, free: 2.789 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1789, allocations: 0.8072 MB / 0.6752 GB, free: 1.957 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005549/0.1795, allocations: 194.8 kB / 0.6754 GB, free: 1.766 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.1797, allocations: 107.4 kB / 0.6755 GB, free: 1.66 MB / 0.5139 GB Notification: Performance of SimCode: time 7.62e-07/0.1797, allocations: 4 kB / 0.6755 GB, free: 1.656 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2102, allocations: 10.47 MB / 0.6858 GB, free: 7.426 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.856, allocations: 448 / 0.6858 GB, free: 7.426 MB / 0.5295 GB (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","/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