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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.3 MB / 224.8 MB, free: 1.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 12 kB / 282.5 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.0889, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002385/0.09133, allocations: 1.302 MB / 332.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.09238, allocations: 428.6 kB / 332.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.09246, allocations: 0 / 332.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.09281, allocations: 95.73 kB / 333 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.09311, allocations: 59.89 kB / 333.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.09335, allocations: 59.81 kB / 333.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.09353, allocations: 79.83 kB / 333.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.09365, allocations: 20.16 kB / 333.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.09375, allocations: 35.91 kB / 333.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.09388, allocations: 55.81 kB / 333.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.09391, allocations: 0 / 333.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.09402, allocations: 31.94 kB / 333.4 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.09409, allocations: 31.89 kB / 333.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.09415, allocations: 37.64 kB / 333.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.09438, allocations: 100.1 kB / 333.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.653e-06/0.0944, allocations: 0 / 333.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.662e-06/0.09441, allocations: 0 / 333.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.525e-06/0.09443, allocations: 4 kB / 333.5 MB, free: 6.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006362/0.09507, allocations: 432.5 kB / 333.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.09513, allocations: 12.03 kB / 334 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.09518, allocations: 7.906 kB / 334 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.09547, allocations: 210.7 kB / 334.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.0955, allocations: 7.984 kB / 334.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.09554, allocations: 4 kB / 334.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.0957, allocations: 57.67 kB / 334.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.09573, allocations: 7.984 kB / 334.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.09575, allocations: 0 / 334.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-06/0.09577, allocations: 0 / 334.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.09587, allocations: 27.97 kB / 334.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.09647, allocations: 308.7 kB / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.09662, allocations: 46.56 kB / 334.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.09666, allocations: 4 kB / 334.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.09686, allocations: 67.52 kB / 334.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.381e-06/0.09688, allocations: 0 / 334.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.09746, allocations: 169 kB / 334.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.09753, allocations: 55.34 kB / 334.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.09791, allocations: 238.6 kB / 335.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.09796, allocations: 29.7 kB / 335.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.09809, allocations: 166.8 kB / 335.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.09815, allocations: 35.7 kB / 335.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-06/0.09817, allocations: 0 / 335.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.09834, allocations: 314.8 kB / 335.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/0.09843, allocations: 31.92 kB / 335.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.09852, allocations: 28 kB / 335.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.09864, allocations: 61.73 kB / 335.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-06/0.09865, allocations: 0 / 335.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002921/0.09896, allocations: 139.2 kB / 335.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/0.09903, allocations: 45.12 kB / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.988e-06/0.09904, allocations: 0 / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.09907, allocations: 4 kB / 336 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.09918, allocations: 12 kB / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-06/0.0992, allocations: 0 / 336 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.09928, allocations: 7.984 kB / 336 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.09933, allocations: 8.516 kB / 336 MB, free: 3.883 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 (10): * Single equations (assignments): 9 * 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.0002317/0.09958, allocations: 133.8 kB / 336.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.09964, allocations: 11.81 kB / 336.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.09973, allocations: 17.41 kB / 336.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-06/0.09975, allocations: 4 kB / 336.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.721e-06/0.09977, allocations: 0 / 336.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-06/0.09979, allocations: 7.922 kB / 336.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.1004, allocations: 402.5 kB / 336.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-06/0.1004, allocations: 0 / 336.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.1005, allocations: 12 kB / 336.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.322e-06/0.1005, allocations: 0 / 336.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1005, allocations: 4 kB / 336.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-06/0.1005, allocations: 0 / 336.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.199e-06/0.1006, allocations: 7.953 kB / 336.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1008, allocations: 195.3 kB / 336.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.1009, allocations: 85.02 kB / 336.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.101, allocations: 3.984 kB / 336.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1011, allocations: 8 kB / 336.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1011, allocations: 4 kB / 336.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.1012, allocations: 12.12 kB / 336.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1014, allocations: 171.2 kB / 337.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.1014, allocations: 3.938 kB / 337.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003714/0.1018, allocations: 31.98 kB / 337.1 MB, free: 2.691 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 (8): * Single equations (assignments): 7 * 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.001609/0.1034, allocations: 361.8 kB / 337.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.1037, allocations: 135.3 kB / 337.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.844e-06/0.1037, allocations: 0 / 337.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.1038, allocations: 23.98 kB / 337.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1041, allocations: 20.31 kB / 337.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.1048, allocations: 307.6 kB / 337.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1052, allocations: 0.716 MB / 338.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1053, allocations: 15.44 kB / 338.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of SimCode: time 1.457e-06/0.1053, allocations: 0 / 338.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of Templates: time 0.2096/0.315, allocations: 1.979 MB / 340.6 MB, free: 15.07 MB / 282.7 MB