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.00118/0.00118, allocations: 113.7 kB / 17.74 MB, free: 5.312 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.001251/0.001251, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.901/0.901, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.03 kB / 0.5717 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1342, allocations: 80.7 MB / 0.6505 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40): time 0.002593/0.1368, allocations: 1.324 MB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002253/0.1371, allocations: 43.86 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.1371, allocations: 4 kB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.1372, allocations: 0 / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.1374, allocations: 34.17 kB / 0.6519 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1375, allocations: 15.97 kB / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.1381, allocations: 0.6553 MB / 0.6525 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.365e-05/0.1382, allocations: 4 kB / 0.6525 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.1385, allocations: 223.7 kB / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.1391, allocations: 327.3 kB / 0.653 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.1392, allocations: 40 kB / 0.6531 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.1393, allocations: 36 kB / 0.6531 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1395, allocations: 231.5 kB / 0.6533 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.1398, allocations: 243.2 kB / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.1402, allocations: 406.8 kB / 0.654 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1402, allocations: 0 / 0.654 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1402, allocations: 0 / 0.654 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.1402, allocations: 0 / 0.654 GB, free: 9.383 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004065/0.1443, allocations: 1.467 MB / 0.6554 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1444, allocations: 11.89 kB / 0.6554 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1445, allocations: 40.56 kB / 0.6554 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1449, allocations: 264 kB / 0.6557 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.1449, allocations: 33.03 kB / 0.6557 GB, free: 7.484 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.145, allocations: 72.12 kB / 0.6558 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.1458, allocations: 442.3 kB / 0.6562 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1458, allocations: 192 / 0.6562 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.1458, allocations: 15.94 kB / 0.6562 GB, free: 6.957 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1459, allocations: 8 kB / 0.6562 GB, free: 6.949 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.1463, allocations: 250.4 kB / 0.6565 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.1511, allocations: 3.486 MB / 0.6599 GB, free: 2.688 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.1648, allocations: 2.07 MB / 0.6619 GB, free: 0.6055 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.1653, allocations: 184.7 kB / 0.6621 GB, free: 432 kB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.1654, allocations: 4 kB / 0.6621 GB, free: 428 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1654, allocations: 42.5 kB / 0.6621 GB, free: 376 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/0.1654, allocations: 4 kB / 0.6621 GB, free: 372 kB / 0.4983 GB Notification: Performance of matching and sorting (n=39): time 0.00124/0.1667, allocations: 0.5985 MB / 0.6627 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1667, allocations: 55.41 kB / 0.6628 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1668, allocations: 129.8 kB / 0.6629 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.1669, allocations: 33.7 kB / 0.6629 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.167, allocations: 140.9 kB / 0.663 GB, free: 15.37 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1671, allocations: 189.3 kB / 0.6632 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.1673, allocations: 118.3 kB / 0.6633 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1675, allocations: 346.8 kB / 0.6637 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.1678, allocations: 237.1 kB / 0.6639 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1682, allocations: 241.7 kB / 0.6641 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.169, allocations: 0.5157 MB / 0.6646 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.169, allocations: 0 / 0.6646 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009993/0.17, allocations: 0.6414 MB / 0.6653 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.17, allocations: 4 kB / 0.6653 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.17, allocations: 0 / 0.6653 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1701, allocations: 7.938 kB / 0.6653 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.171, allocations: 163.8 kB / 0.6654 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1711, allocations: 4 kB / 0.6654 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.1717, allocations: 95.36 kB / 0.6655 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1718, allocations: 20 kB / 0.6655 GB, free: 12.79 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 (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.0002141/0.172, allocations: 166.5 kB / 0.6657 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.1721, allocations: 19.84 kB / 0.6657 GB, free: 12.6 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.1723, allocations: 69.62 kB / 0.6658 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1723, allocations: 4 kB / 0.6658 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.1723, allocations: 0 / 0.6658 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1724, allocations: 7.969 kB / 0.6658 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.1729, allocations: 425.1 kB / 0.6662 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1729, allocations: 0 / 0.6662 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.174, allocations: 123.8 kB / 0.6663 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.174, allocations: 4 kB / 0.6663 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.1741, allocations: 27.97 kB / 0.6663 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1741, allocations: 3.938 kB / 0.6664 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1741, allocations: 4 kB / 0.6664 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1752, allocations: 0.7438 MB / 0.6671 GB, free: 11.13 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.1753, allocations: 96.8 kB / 0.6672 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.1754, allocations: 23.97 kB / 0.6672 GB, free: 11 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.1761, allocations: 56.3 kB / 0.6673 GB, free: 10.94 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.1761, allocations: 19.97 kB / 0.6673 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.1762, allocations: 15.98 kB / 0.6673 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.1762, allocations: 95.22 kB / 0.6674 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.2e-07/0.1763, allocations: 0 / 0.6674 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004518/0.1767, allocations: 171.7 kB / 0.6675 GB, free: 10.64 MB / 0.5139 GB 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.0001614/0.1769, allocations: 129.4 kB / 0.6677 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008685/0.1778, allocations: 0.5154 MB / 0.6682 GB, free: 9.996 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1778, allocations: 0 / 0.6682 GB, free: 9.996 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1781, allocations: 228.7 kB / 0.6684 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.1787, allocations: 88.14 kB / 0.6685 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.1819, allocations: 2.742 MB / 0.6711 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1823, allocations: 0.8162 MB / 0.6719 GB, free: 6.062 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.1826, allocations: 31.44 kB / 0.672 GB, free: 6.031 MB / 0.5139 GB Notification: Performance of SimCode: time 9.62e-07/0.1826, allocations: 3.938 kB / 0.672 GB, free: 6.027 MB / 0.5139 GB Notification: Performance of Templates: time 0.00864/0.1913, allocations: 5.877 MB / 0.6777 GB, free: 164 kB / 0.5139 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches