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.001796/0.001796, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001916/0.001915, allocations: 192 kB / 18.63 MB, free: 4.508 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.499/1.499, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.096/1.096, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6419, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_40): time 0.003663/0.6456, allocations: 1.352 MB / 0.5725 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.6459, allocations: 53.31 kB / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.646, allocations: 0 / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.6462, allocations: 0 / 0.5725 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.6463, allocations: 29.33 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.6465, allocations: 10.73 kB / 0.5726 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008256/0.6474, allocations: 0.664 MB / 0.5732 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.6474, allocations: 13.61 kB / 0.5732 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.6478, allocations: 226.9 kB / 0.5734 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.6483, allocations: 339.5 kB / 0.5738 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.6484, allocations: 36.56 kB / 0.5738 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.6485, allocations: 36.16 kB / 0.5738 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.6487, allocations: 225.7 kB / 0.574 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.649, allocations: 237.8 kB / 0.5743 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.6495, allocations: 409 kB / 0.5747 GB, free: 41.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.6495, allocations: 1.156 kB / 0.5747 GB, free: 41.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6495, allocations: 0 / 0.5747 GB, free: 41.21 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.6495, allocations: 0 / 0.5747 GB, free: 41.21 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.004198/0.6537, allocations: 1.443 MB / 0.5761 GB, free: 40.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6538, allocations: 13.14 kB / 0.5761 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.6539, allocations: 39.91 kB / 0.5761 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.6544, allocations: 265.6 kB / 0.5764 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.6544, allocations: 34.91 kB / 0.5764 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.6545, allocations: 54.66 kB / 0.5765 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.6553, allocations: 448.9 kB / 0.5769 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6553, allocations: 1.5 kB / 0.5769 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.6554, allocations: 18.09 kB / 0.5769 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.6554, allocations: 7.844 kB / 0.5769 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.6558, allocations: 255.9 kB / 0.5772 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.6606, allocations: 3.422 MB / 0.5805 GB, free: 36.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/0.6748, allocations: 2.016 MB / 0.5825 GB, free: 35.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.6752, allocations: 185.6 kB / 0.5827 GB, free: 35.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.541e-05/0.6753, allocations: 7.781 kB / 0.5827 GB, free: 35.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6753, allocations: 49.02 kB / 0.5827 GB, free: 35.19 MB / 462.3 MB Notification: Performance of pre-optimization done (n=38): time 2.635e-06/0.6753, allocations: 0 / 0.5827 GB, free: 35.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=38): time 0.001324/0.6767, allocations: 0.6094 MB / 0.5833 GB, free: 34.9 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6767, allocations: 55.09 kB / 0.5834 GB, free: 34.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.6768, allocations: 128.3 kB / 0.5835 GB, free: 34.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6769, allocations: 37.61 kB / 0.5835 GB, free: 34.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.677, allocations: 142.4 kB / 0.5836 GB, free: 34.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6771, allocations: 181.3 kB / 0.5838 GB, free: 34.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6773, allocations: 120.1 kB / 0.5839 GB, free: 34.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.6774, allocations: 334.8 kB / 0.5843 GB, free: 33.99 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.6779, allocations: 245.5 kB / 0.5845 GB, free: 33.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.6783, allocations: 246.7 kB / 0.5847 GB, free: 33.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.6792, allocations: 0.5225 MB / 0.5852 GB, free: 33.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6792, allocations: 1 kB / 0.5852 GB, free: 33.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001121/0.6803, allocations: 0.6465 MB / 0.5859 GB, free: 33.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6804, allocations: 9.156 kB / 0.5859 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6804, allocations: 4 kB / 0.5859 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.6804, allocations: 3.094 kB / 0.5859 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.6814, allocations: 165.9 kB / 0.586 GB, free: 33.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.6814, allocations: 2.375 kB / 0.586 GB, free: 33.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.682, allocations: 85.11 kB / 0.5861 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.6821, allocations: 16.69 kB / 0.5861 GB, free: 33.11 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.000199/0.6823, allocations: 166.7 kB / 0.5863 GB, free: 32.96 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.6823, allocations: 21 kB / 0.5863 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.6825, allocations: 70.97 kB / 0.5864 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6825, allocations: 8.984 kB / 0.5864 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6826, allocations: 0 / 0.5864 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6826, allocations: 0 / 0.5864 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.6831, allocations: 414.3 kB / 0.5868 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6831, allocations: 5.156 kB / 0.5868 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.6842, allocations: 118.9 kB / 0.5869 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.6842, allocations: 5.188 kB / 0.5869 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/0.6842, allocations: 24.78 kB / 0.5869 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6842, allocations: 1.031 kB / 0.5869 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6843, allocations: 1.156 kB / 0.5869 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.6853, allocations: 0.7404 MB / 0.5877 GB, free: 31.87 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.6853, allocations: 100.8 kB / 0.5878 GB, free: 31.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.6854, allocations: 15.98 kB / 0.5878 GB, free: 31.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.686, allocations: 51.92 kB / 0.5878 GB, free: 31.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/0.6861, allocations: 27.95 kB / 0.5878 GB, free: 31.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.6861, allocations: 8 kB / 0.5879 GB, free: 31.65 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.527e-05/0.6862, allocations: 99.27 kB / 0.588 GB, free: 31.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6862, allocations: 0 / 0.588 GB, free: 31.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004652/0.6867, allocations: 167.8 kB / 0.5881 GB, free: 31.39 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.0001689/0.6868, allocations: 129.4 kB / 0.5882 GB, free: 31.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.6876, allocations: 0.5234 MB / 0.5887 GB, free: 30.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6876, allocations: 0 / 0.5887 GB, free: 30.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.6879, allocations: 223.8 kB / 0.589 GB, free: 30.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.6884, allocations: 98.3 kB / 0.5891 GB, free: 30.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.6912, allocations: 2.643 MB / 0.5916 GB, free: 27.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.6915, allocations: 0.8111 MB / 0.5924 GB, free: 26.9 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004712/0.692, allocations: 186.8 kB / 0.5926 GB, free: 26.72 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6921, allocations: 27.44 kB / 0.5926 GB, free: 26.7 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6921, allocations: 0 / 0.5926 GB, free: 26.7 MB / 462.3 MB Notification: Performance of Templates: time 0.009373/0.7015, allocations: 6.26 MB / 0.5987 GB, free: 20.54 MB / 462.3 MB 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 -s cvode -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