Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008359/0.000836, allocations: 179.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 94.34 kB / 294.3 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.627/0.627, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1055, allocations: 82.83 MB / 0.6273 GB, free: 7.859 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.0005001/0.106, allocations: 249.4 kB / 0.6275 GB, free: 7.621 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.1062, allocations: 35.97 kB / 0.6276 GB, free: 7.586 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.1062, allocations: 0 / 0.6276 GB, free: 7.586 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.356e-05/0.1063, allocations: 3.938 kB / 0.6276 GB, free: 7.582 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 1.023e-05/0.1063, allocations: 0 / 0.6276 GB, free: 7.582 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1064, allocations: 7.984 kB / 0.6276 GB, free: 7.574 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007795/0.1072, allocations: 0.9792 MB / 0.6285 GB, free: 6.594 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1073, allocations: 4 kB / 0.6285 GB, free: 6.59 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.1076, allocations: 419.3 kB / 0.6289 GB, free: 6.18 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.1082, allocations: 0.5187 MB / 0.6294 GB, free: 5.66 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1084, allocations: 44 kB / 0.6295 GB, free: 5.617 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1085, allocations: 44 kB / 0.6295 GB, free: 5.574 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.1087, allocations: 239.4 kB / 0.6297 GB, free: 5.34 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.109, allocations: 288.7 kB / 0.63 GB, free: 5.051 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.1095, allocations: 0.5689 MB / 0.6306 GB, free: 4.48 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1095, allocations: 0 / 0.6306 GB, free: 4.48 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1095, allocations: 0 / 0.6306 GB, free: 4.48 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1095, allocations: 0 / 0.6306 GB, free: 4.48 MB / 442.8 MB 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.005193/0.1147, allocations: 1.674 MB / 0.6322 GB, free: 2.754 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.1148, allocations: 15.97 kB / 0.6322 GB, free: 2.738 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1149, allocations: 44.47 kB / 0.6323 GB, free: 2.695 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.1153, allocations: 323.8 kB / 0.6326 GB, free: 2.34 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1153, allocations: 37.36 kB / 0.6326 GB, free: 2.301 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.1155, allocations: 83.98 kB / 0.6327 GB, free: 2.219 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1167, allocations: 0.8767 MB / 0.6335 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1168, allocations: 192 / 0.6335 GB, free: 1.328 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.1168, allocations: 19.94 kB / 0.6336 GB, free: 1.309 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1168, allocations: 8 kB / 0.6336 GB, free: 1.301 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.1176, allocations: 0.5504 MB / 0.6341 GB, free: 0.75 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1193, allocations: 1.099 MB / 0.6352 GB, free: 15.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.1218, allocations: 1.848 MB / 0.637 GB, free: 13.74 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/0.1226, allocations: 0.5854 MB / 0.6376 GB, free: 13.15 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.1227, allocations: 16.94 kB / 0.6376 GB, free: 13.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1227, allocations: 43.56 kB / 0.6376 GB, free: 13.09 MB / 458.8 MB Notification: Performance of pre-optimization done (n=100): time 1.803e-06/0.1228, allocations: 0 / 0.6376 GB, free: 13.09 MB / 458.8 MB Notification: Performance of matching and sorting (n=100): time 0.002759/0.1255, allocations: 1.9 MB / 0.6395 GB, free: 11.18 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1256, allocations: 64.41 kB / 0.6395 GB, free: 11.1 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.1256, allocations: 101.8 kB / 0.6396 GB, free: 10.99 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.1257, allocations: 41.7 kB / 0.6397 GB, free: 10.95 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.1257, allocations: 90.05 kB / 0.6398 GB, free: 10.86 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.126, allocations: 481.2 kB / 0.6402 GB, free: 10.38 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.1261, allocations: 32 kB / 0.6402 GB, free: 10.35 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1263, allocations: 378.8 kB / 0.6406 GB, free: 9.969 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.1274, allocations: 0.8314 MB / 0.6414 GB, free: 9.137 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.1286, allocations: 0.9599 MB / 0.6424 GB, free: 8.168 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002246/0.1309, allocations: 1.723 MB / 0.644 GB, free: 6.441 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1309, allocations: 8 kB / 0.644 GB, free: 6.434 MB / 458.8 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002764/0.1337, allocations: 2.097 MB / 0.6461 GB, free: 4.328 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1337, allocations: 8 kB / 0.6461 GB, free: 4.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1337, allocations: 0 / 0.6461 GB, free: 4.32 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1337, allocations: 8 kB / 0.6461 GB, free: 4.312 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.1354, allocations: 407.5 kB / 0.6465 GB, free: 3.914 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.1354, allocations: 8 kB / 0.6465 GB, free: 3.906 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.1362, allocations: 198.7 kB / 0.6467 GB, free: 3.711 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.1363, allocations: 44 kB / 0.6467 GB, free: 3.668 MB / 458.8 MB 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.0002459/0.1366, allocations: 225.3 kB / 0.647 GB, free: 3.438 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.1367, allocations: 39.62 kB / 0.647 GB, free: 3.398 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.1371, allocations: 175.6 kB / 0.6472 GB, free: 3.227 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1371, allocations: 12 kB / 0.6472 GB, free: 3.215 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1371, allocations: 4 kB / 0.6472 GB, free: 3.211 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1371, allocations: 3.984 kB / 0.6472 GB, free: 3.207 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1383, allocations: 0.8056 MB / 0.648 GB, free: 2.352 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1383, allocations: 0 / 0.648 GB, free: 2.352 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/0.1402, allocations: 287.6 kB / 0.6482 GB, free: 2.07 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1402, allocations: 0 / 0.6482 GB, free: 2.07 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.1404, allocations: 67.92 kB / 0.6483 GB, free: 2.004 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1404, allocations: 4 kB / 0.6483 GB, free: 2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1404, allocations: 0 / 0.6483 GB, free: 2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.1429, allocations: 1.905 MB / 0.6502 GB, free: 80 kB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.1433, allocations: 252.3 kB / 0.6504 GB, free: 15.81 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.1434, allocations: 59.94 kB / 0.6505 GB, free: 15.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008061/0.1442, allocations: 111.9 kB / 0.6506 GB, free: 15.64 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.1444, allocations: 56.91 kB / 0.6506 GB, free: 15.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.1445, allocations: 35.98 kB / 0.6507 GB, free: 15.55 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.1446, allocations: 87.44 kB / 0.6507 GB, free: 15.47 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.173e-06/0.1446, allocations: 3.938 kB / 0.6507 GB, free: 15.46 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0005037/0.1451, allocations: 267.9 kB / 0.651 GB, free: 15.2 MB / 474.8 MB 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.0002069/0.1453, allocations: 181.7 kB / 0.6512 GB, free: 15.02 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.1475, allocations: 1.673 MB / 0.6528 GB, free: 13.34 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1476, allocations: 4.062 kB / 0.6528 GB, free: 13.34 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.1485, allocations: 0.677 MB / 0.6535 GB, free: 12.66 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1488, allocations: 39.94 kB / 0.6535 GB, free: 12.62 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1511, allocations: 3.09 MB / 0.6565 GB, free: 9.484 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1515, allocations: 0.9147 MB / 0.6574 GB, free: 8.543 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.001503/0.153, allocations: 0.5089 MB / 0.6579 GB, free: 8.031 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.1534, allocations: 51.44 kB / 0.658 GB, free: 7.98 MB / 474.8 MB Notification: Performance of SimCode: time 2.21e-07/0.1534, allocations: 0 / 0.658 GB, free: 7.98 MB / 474.8 MB Notification: Performance of Templates: time 0.01201/0.1655, allocations: 9.221 MB / 0.667 GB, free: 14.75 MB / 490.8 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches