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: "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",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.001444/0.001444, allocations: 112.6 kB / 17.06 MB, free: 5.992 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.001446/0.001446, allocations: 193.4 kB / 18 MB, free: 5.074 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.356/1.356, allocations: 222.9 MB / 241.7 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.8992/0.8992, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.16 kB / 0.5705 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1174, allocations: 80.69 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001587/0.1191, allocations: 0.508 MB / 0.6498 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000169/0.1193, allocations: 27.89 kB / 0.6498 GB, free: 12.93 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1193, allocations: 0 / 0.6498 GB, free: 12.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 5.89e-05/0.1194, allocations: 0 / 0.6498 GB, free: 12.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 1.531e-05/0.1194, allocations: 3.938 kB / 0.6498 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1195, allocations: 23.89 kB / 0.6499 GB, free: 12.9 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.1205, allocations: 1.014 MB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1206, allocations: 4 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.1211, allocations: 415.6 kB / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.1219, allocations: 0.507 MB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.1221, allocations: 44 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1222, allocations: 51.88 kB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1225, allocations: 239.5 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.1228, allocations: 255 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.1234, allocations: 0.5531 MB / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1234, allocations: 0 / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1234, allocations: 0 / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1234, allocations: 0 / 0.6528 GB, free: 9.832 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.004687/0.1281, allocations: 1.552 MB / 0.6544 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1282, allocations: 11.89 kB / 0.6544 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.1283, allocations: 86.7 kB / 0.6545 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1284, allocations: 44.7 kB / 0.6545 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1289, allocations: 319.9 kB / 0.6548 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.129, allocations: 29.38 kB / 0.6548 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.1291, allocations: 88.16 kB / 0.6549 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1305, allocations: 0.8807 MB / 0.6558 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1306, allocations: 3.938 kB / 0.6558 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.1307, allocations: 20 kB / 0.6558 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1307, allocations: 8 kB / 0.6558 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.1316, allocations: 0.5425 MB / 0.6563 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.1335, allocations: 1.111 MB / 0.6574 GB, free: 4.98 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.1364, allocations: 1.848 MB / 0.6592 GB, free: 3.121 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.1374, allocations: 0.5932 MB / 0.6598 GB, free: 2.523 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.1375, allocations: 13 kB / 0.6598 GB, free: 2.512 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1375, allocations: 39.56 kB / 0.6599 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.805e-06/0.1376, allocations: 0 / 0.6599 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.003236/0.1408, allocations: 1.897 MB / 0.6617 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1409, allocations: 60.41 kB / 0.6618 GB, free: 500 kB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.141, allocations: 97.86 kB / 0.6619 GB, free: 392 kB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.1411, allocations: 45.69 kB / 0.6619 GB, free: 340 kB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.1411, allocations: 90.09 kB / 0.662 GB, free: 244 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.1415, allocations: 500 kB / 0.6625 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.142, allocations: 259.6 kB / 0.6627 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1421, allocations: 306 kB / 0.663 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.1435, allocations: 0.8431 MB / 0.6638 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.1449, allocations: 0.9677 MB / 0.6648 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/0.1476, allocations: 1.747 MB / 0.6665 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1476, allocations: 7.75 kB / 0.6665 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003337/0.151, allocations: 2.109 MB / 0.6685 GB, free: 9.488 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.151, allocations: 7.125 kB / 0.6686 GB, free: 9.484 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.151, allocations: 0 / 0.6686 GB, free: 9.484 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1511, allocations: 8 kB / 0.6686 GB, free: 9.477 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.153, allocations: 411.4 kB / 0.669 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.153, allocations: 4 kB / 0.669 GB, free: 9.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.154, allocations: 207 kB / 0.6692 GB, free: 8.867 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1541, allocations: 44 kB / 0.6692 GB, free: 8.824 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.0003224/0.1545, allocations: 222.8 kB / 0.6694 GB, free: 8.598 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1546, allocations: 35.81 kB / 0.6694 GB, free: 8.562 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005465/0.1552, allocations: 179.6 kB / 0.6696 GB, free: 8.391 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1552, allocations: 12 kB / 0.6696 GB, free: 8.379 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1552, allocations: 0 / 0.6696 GB, free: 8.379 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1552, allocations: 3.984 kB / 0.6696 GB, free: 8.375 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.1566, allocations: 0.8019 MB / 0.6704 GB, free: 7.523 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1566, allocations: 0 / 0.6704 GB, free: 7.523 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/0.1587, allocations: 295.6 kB / 0.6707 GB, free: 7.234 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.1587, allocations: 4 kB / 0.6707 GB, free: 7.23 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.1589, allocations: 63.92 kB / 0.6708 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1589, allocations: 0 / 0.6708 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1589, allocations: 0 / 0.6708 GB, free: 7.168 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.1619, allocations: 1.914 MB / 0.6726 GB, free: 5.238 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.1623, allocations: 248.5 kB / 0.6729 GB, free: 4.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.1625, allocations: 59.94 kB / 0.6729 GB, free: 4.918 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.1635, allocations: 115.9 kB / 0.673 GB, free: 4.805 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.1637, allocations: 60.84 kB / 0.6731 GB, free: 4.746 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/0.1638, allocations: 27.98 kB / 0.6731 GB, free: 4.719 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.1638, allocations: 87.44 kB / 0.6732 GB, free: 4.633 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 0 / 0.6732 GB, free: 4.633 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006283/0.1645, allocations: 272 kB / 0.6735 GB, free: 4.367 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.003344/0.1678, allocations: 2.531 MB / 0.6759 GB, free: 1.801 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.1705, allocations: 1.689 MB / 0.6776 GB, free: 116 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1705, allocations: 0 / 0.6776 GB, free: 116 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.1716, allocations: 0.6809 MB / 0.6782 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.172, allocations: 32 kB / 0.6783 GB, free: 15.4 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.1834, allocations: 9.185 MB / 0.6872 GB, free: 6.117 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.184, allocations: 0.926 MB / 0.6882 GB, free: 5.16 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.00142/0.1854, allocations: 0.5128 MB / 0.6887 GB, free: 4.645 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.186, allocations: 179.4 kB / 0.6888 GB, free: 4.469 MB / 0.5295 GB Notification: Performance of SimCode: time 6.71e-07/0.186, allocations: 0 / 0.6888 GB, free: 4.469 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/0.452, allocations: 17.22 MB / 0.7056 GB, free: 3.383 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.084/9.536, allocations: 10.28 kB / 0.7057 GB, free: 3.379 MB / 0.5452 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > 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