Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.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.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.0009973/0.0009974, 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.244/1.244, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7759/0.7759, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 62.95 kB / 0.5716 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 80.69 MB / 0.6504 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001544/0.1149, allocations: 0.5202 MB / 0.651 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001535/0.1151, allocations: 23.89 kB / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.1151, allocations: 0 / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.1152, allocations: 0 / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 1.334e-05/0.1152, allocations: 8 kB / 0.651 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1154, allocations: 19.86 kB / 0.651 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.1162, allocations: 1.022 MB / 0.652 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1163, allocations: 4 kB / 0.652 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.1168, allocations: 411.6 kB / 0.6524 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008059/0.1176, allocations: 0.507 MB / 0.6529 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1178, allocations: 44 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1179, allocations: 47.94 kB / 0.653 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1181, allocations: 235.5 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.1185, allocations: 258.9 kB / 0.6535 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.119, allocations: 0.553 MB / 0.654 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.119, allocations: 4 kB / 0.654 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.212e-06/0.119, allocations: 0 / 0.654 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.1191, allocations: 4 kB / 0.654 GB, free: 9.352 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.004602/0.1237, allocations: 1.534 MB / 0.6555 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1237, allocations: 15.89 kB / 0.6555 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1238, allocations: 36.56 kB / 0.6555 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.1245, allocations: 331.7 kB / 0.6559 GB, free: 7.348 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1245, allocations: 29.38 kB / 0.6559 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.1247, allocations: 87.98 kB / 0.656 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.126, allocations: 0.8768 MB / 0.6568 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1261, allocations: 192 / 0.6568 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.1261, allocations: 19.94 kB / 0.6569 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1262, allocations: 11.94 kB / 0.6569 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.127, allocations: 0.5425 MB / 0.6574 GB, free: 5.773 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.129, allocations: 1.107 MB / 0.6585 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.1316, allocations: 1.848 MB / 0.6603 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.1325, allocations: 0.5893 MB / 0.6609 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-05/0.1326, allocations: 13 kB / 0.6609 GB, free: 2.148 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1326, allocations: 43.56 kB / 0.6609 GB, free: 2.098 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.234e-06/0.1326, allocations: 0 / 0.6609 GB, free: 2.098 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.002966/0.1356, allocations: 1.889 MB / 0.6628 GB, free: 208 kB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1356, allocations: 64.41 kB / 0.6628 GB, free: 128 kB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.1357, allocations: 101.8 kB / 0.6629 GB, free: 16 kB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.1358, allocations: 41.7 kB / 0.6629 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1359, allocations: 90.14 kB / 0.663 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.1362, allocations: 477.2 kB / 0.6635 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.1367, allocations: 263.6 kB / 0.6637 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.1368, allocations: 314 kB / 0.664 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.138, allocations: 0.8353 MB / 0.6649 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.1393, allocations: 0.9677 MB / 0.6658 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.1418, allocations: 1.743 MB / 0.6675 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1418, allocations: 3.938 kB / 0.6675 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003002/0.1448, allocations: 2.113 MB / 0.6696 GB, free: 9.145 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1448, allocations: 8.031 kB / 0.6696 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1448, allocations: 0 / 0.6696 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.1449, allocations: 8 kB / 0.6696 GB, free: 9.129 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.1468, allocations: 403.4 kB / 0.67 GB, free: 8.734 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.1468, allocations: 12 kB / 0.67 GB, free: 8.723 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.1478, allocations: 194.7 kB / 0.6702 GB, free: 8.531 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.1479, allocations: 44 kB / 0.6702 GB, free: 8.488 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (201): * Single equations (assignments): 201 * 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.0002999/0.1482, allocations: 226.6 kB / 0.6704 GB, free: 8.258 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1484, allocations: 39.62 kB / 0.6705 GB, free: 8.219 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.1488, allocations: 175.6 kB / 0.6706 GB, free: 8.051 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1489, allocations: 8.188 kB / 0.6706 GB, free: 8.043 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1489, allocations: 0 / 0.6706 GB, free: 8.043 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1489, allocations: 15.95 kB / 0.6707 GB, free: 8.027 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1502, allocations: 0.8018 MB / 0.6714 GB, free: 7.176 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1502, allocations: 0 / 0.6714 GB, free: 7.176 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/0.1523, allocations: 287.6 kB / 0.6717 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1523, allocations: 7.984 kB / 0.6717 GB, free: 6.887 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.1525, allocations: 63.94 kB / 0.6718 GB, free: 6.824 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1525, allocations: 4 kB / 0.6718 GB, free: 6.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1525, allocations: 0 / 0.6718 GB, free: 6.82 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.1552, allocations: 1.902 MB / 0.6736 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.1558, allocations: 244.4 kB / 0.6739 GB, free: 4.645 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.156, allocations: 63.94 kB / 0.6739 GB, free: 4.582 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.157, allocations: 111.9 kB / 0.674 GB, free: 4.473 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.1572, allocations: 56.91 kB / 0.6741 GB, free: 4.418 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.609e-05/0.1573, allocations: 31.98 kB / 0.6741 GB, free: 4.387 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.1574, allocations: 79.27 kB / 0.6742 GB, free: 4.309 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1574, allocations: 4 kB / 0.6742 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005827/0.158, allocations: 272 kB / 0.6745 GB, free: 4.039 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100]) * 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 (100): * Single equations (assignments): 100 * 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.0002377/0.1582, allocations: 178.1 kB / 0.6746 GB, free: 3.855 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002465/0.1607, allocations: 1.685 MB / 0.6763 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1607, allocations: 0 / 0.6763 GB, free: 2.168 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1617, allocations: 0.6848 MB / 0.6769 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1621, allocations: 36 kB / 0.677 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1648, allocations: 2.75 MB / 0.6797 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.1653, allocations: 0.9221 MB / 0.6806 GB, free: 13.7 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.1659, allocations: 55.44 kB / 0.6806 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of SimCode: time 3.5e-07/0.1659, allocations: 4 kB / 0.6806 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of Templates: time 0.01687/0.1828, allocations: 13.01 MB / 0.6933 GB, free: 0.5938 MB / 0.5295 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches