Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008294/0.0008297, allocations: 15.98 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1224, allocations: 48.71 MB / 331.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002175/0.1246, allocations: 1.294 MB / 332.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1264, allocations: 0.9932 MB / 333.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.1265, allocations: 0 / 333.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1268, allocations: 27.89 kB / 333.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1269, allocations: 35.84 kB / 333.6 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1272, allocations: 59.8 kB / 333.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1273, allocations: 59.86 kB / 333.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.1274, allocations: 7.984 kB / 333.7 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.1275, allocations: 19.92 kB / 333.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1277, allocations: 27.91 kB / 333.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1277, allocations: 7.938 kB / 333.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1279, allocations: 55.91 kB / 333.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.1279, allocations: 11.98 kB / 333.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.128, allocations: 33.64 kB / 333.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1282, allocations: 92.03 kB / 333.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.857e-06/0.1282, allocations: 0 / 333.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.009e-06/0.1282, allocations: 0 / 333.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.98e-06/0.1283, allocations: 0 / 333.9 MB, free: 6.219 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005554/0.1288, allocations: 404.9 kB / 334.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1289, allocations: 12.03 kB / 334.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1289, allocations: 11.91 kB / 334.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1292, allocations: 190.8 kB / 334.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1292, allocations: 0 / 334.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1293, allocations: 7.984 kB / 334.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1294, allocations: 67.33 kB / 334.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1295, allocations: 0 / 334.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1295, allocations: 0 / 334.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-06/0.1295, allocations: 0 / 334.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.1296, allocations: 15.98 kB / 334.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.13, allocations: 276.9 kB / 334.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1302, allocations: 34.58 kB / 334.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1302, allocations: 4.031 kB / 334.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.1304, allocations: 67.39 kB / 335 MB, free: 4.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.365e-06/0.1304, allocations: 4 kB / 335 MB, free: 4.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004317/0.1309, allocations: 105.4 kB / 335.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.131, allocations: 77.11 kB / 335.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1312, allocations: 145.7 kB / 335.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1312, allocations: 25.7 kB / 335.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.1313, allocations: 158.6 kB / 335.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1313, allocations: 11.81 kB / 335.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-06/0.1314, allocations: 4 kB / 335.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1315, allocations: 322.8 kB / 335.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.1316, allocations: 15.98 kB / 335.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.1317, allocations: 41.69 kB / 335.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1318, allocations: 53.73 kB / 335.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.98e-06/0.1319, allocations: 0 / 335.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002427/0.1321, allocations: 111.3 kB / 336 MB, free: 3.844 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.1322, allocations: 37.69 kB / 336.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1322, allocations: 0 / 336.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1322, allocations: 0 / 336.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.1323, allocations: 12.03 kB / 336.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1323, allocations: 0 / 336.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.1324, allocations: 11.94 kB / 336.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1324, allocations: 11.92 kB / 336.1 MB, free: 3.766 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.1326, allocations: 117.8 kB / 336.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1326, allocations: 7.906 kB / 336.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1327, allocations: 7.969 kB / 336.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1327, allocations: 0 / 336.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-06/0.1327, allocations: 0 / 336.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.528e-06/0.1327, allocations: 8.047 kB / 336.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.1332, allocations: 334.5 kB / 336.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-06/0.1332, allocations: 4 kB / 336.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.1332, allocations: 7.938 kB / 336.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.374e-06/0.1333, allocations: 0 / 336.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-06/0.1333, allocations: 0 / 336.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.564e-06/0.1333, allocations: 3.984 kB / 336.6 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.24e-06/0.1333, allocations: 4 kB / 336.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1335, allocations: 167.7 kB / 336.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1336, allocations: 85.02 kB / 336.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1337, allocations: 7.984 kB / 336.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.1338, allocations: 7.984 kB / 336.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.1338, allocations: 0 / 336.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1338, allocations: 4 kB / 336.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.134, allocations: 103.8 kB / 337 MB, free: 2.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.134, allocations: 0 / 337 MB, free: 2.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.1344, allocations: 51.88 kB / 337 MB, free: 2.762 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.1358, allocations: 466.2 kB / 337.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1361, allocations: 99.39 kB / 337.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.1361, allocations: 0 / 337.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.1362, allocations: 19.98 kB / 337.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1364, allocations: 11.98 kB / 337.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.1369, allocations: 198.3 kB / 337.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1373, allocations: 0.6926 MB / 338.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1374, allocations: 15.44 kB / 338.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of SimCode: time 1.405e-06/0.1374, allocations: 0 / 338.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of Templates: time 0.2106/0.348, allocations: 1.9 MB / 340.4 MB, free: 15.18 MB / 282.7 MB