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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 16 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08893, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002323/0.0913, allocations: 1.294 MB / 332.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.09233, allocations: 412.7 kB / 332.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.0924, allocations: 4 kB / 332.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.09271, allocations: 79.75 kB / 333 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.0929, allocations: 43.94 kB / 333 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.09314, allocations: 63.73 kB / 333.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.0933, allocations: 59.91 kB / 333.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.0934, allocations: 11.98 kB / 333.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.0935, allocations: 43.83 kB / 333.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.0936, allocations: 31.91 kB / 333.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.09363, allocations: 4 kB / 333.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.09375, allocations: 39.91 kB / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.09381, allocations: 19.92 kB / 333.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.09387, allocations: 37.64 kB / 333.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.09407, allocations: 76.12 kB / 333.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.22e-06/0.09409, allocations: 0 / 333.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.886e-06/0.0941, allocations: 0 / 333.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.381e-06/0.09412, allocations: 0 / 333.4 MB, free: 6.75 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.0005736/0.0947, allocations: 428.6 kB / 333.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.09475, allocations: 8.031 kB / 333.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.0948, allocations: 7.906 kB / 333.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.09508, allocations: 210.6 kB / 334 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.09512, allocations: 4 kB / 334 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.09515, allocations: 0 / 334 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.09529, allocations: 41.69 kB / 334.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.09532, allocations: 0 / 334.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.09534, allocations: 11.94 kB / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-06/0.09536, allocations: 4 kB / 334.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.09543, allocations: 11.98 kB / 334.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.09587, allocations: 280.9 kB / 334.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.09609, allocations: 34.58 kB / 334.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.09613, allocations: 4.078 kB / 334.4 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.0963, allocations: 63.34 kB / 334.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.528e-06/0.09632, allocations: 0 / 334.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004382/0.09676, allocations: 117.2 kB / 334.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.09683, allocations: 51.41 kB / 334.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.09708, allocations: 190.2 kB / 334.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.09713, allocations: 33.69 kB / 334.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.09725, allocations: 166.5 kB / 335 MB, free: 4.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.09729, allocations: 15.8 kB / 335 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-06/0.09731, allocations: 4 kB / 335 MB, free: 4.891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.09748, allocations: 318.8 kB / 335.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.09755, allocations: 19.98 kB / 335.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.09761, allocations: 16 kB / 335.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.09771, allocations: 49.69 kB / 335.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.09772, allocations: 0 / 335.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002285/0.09796, allocations: 115.3 kB / 335.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.09802, allocations: 37.14 kB / 335.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.669e-06/0.09804, allocations: 0 / 335.6 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.09806, allocations: 4.031 kB / 335.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.09814, allocations: 19.92 kB / 335.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.72e-06/0.09816, allocations: 4 kB / 335.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.09822, allocations: 0 / 335.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.09825, allocations: 4 kB / 335.6 MB, free: 4.285 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.0001404/0.0984, allocations: 133.7 kB / 335.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.09844, allocations: 8.188 kB / 335.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.0985, allocations: 12.31 kB / 335.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-06/0.09852, allocations: 3.984 kB / 335.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.09853, allocations: 4 kB / 335.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.489e-06/0.09855, allocations: 3.984 kB / 335.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.09901, allocations: 342.5 kB / 336.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-06/0.09904, allocations: 0 / 336.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.09908, allocations: 4 kB / 336.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.409e-06/0.09909, allocations: 0 / 336.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.09912, allocations: 7.984 kB / 336.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-06/0.09913, allocations: 3.938 kB / 336.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-06/0.09914, allocations: 0 / 336.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.09938, allocations: 175.5 kB / 336.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.09946, allocations: 85.02 kB / 336.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.0995, allocations: 4 kB / 336.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.09961, allocations: 3.984 kB / 336.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.09965, allocations: 4 kB / 336.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.09968, allocations: 4 kB / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.09986, allocations: 144.1 kB / 336.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.09987, allocations: 0 / 336.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.1002, allocations: 35.95 kB / 336.6 MB, free: 3.223 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.001144/0.1014, allocations: 360.9 kB / 336.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1016, allocations: 111.3 kB / 337 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1017, allocations: 3.938 kB / 337 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1017, allocations: 16 kB / 337.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.102, allocations: 15.98 kB / 337.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.1025, allocations: 243.2 kB / 337.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1029, allocations: 0.7082 MB / 338 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.103, allocations: 15.44 kB / 338 MB, free: 1.777 MB / 282.7 MB Notification: Performance of SimCode: time 1.282e-06/0.103, allocations: 0 / 338 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.004231/0.1073, allocations: 1.708 MB / 339.7 MB, free: 72 kB / 282.7 MB