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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 12 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.28, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001818/0.2819, allocations: 1.293 MB / 332.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.2827, allocations: 421.3 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.2827, allocations: 3.875 kB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.283, allocations: 28.33 kB / 332.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2831, allocations: 24.81 kB / 333 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2833, allocations: 62.8 kB / 333 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2835, allocations: 52.86 kB / 333.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.2836, allocations: 10.06 kB / 333.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.2837, allocations: 26.45 kB / 333.1 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.2837, allocations: 24.36 kB / 333.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2838, allocations: 1.5 kB / 333.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.2839, allocations: 33.78 kB / 333.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.2839, allocations: 12.09 kB / 333.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.284, allocations: 32.83 kB / 333.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2842, allocations: 76.62 kB / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.961e-06/0.2842, allocations: 0 / 333.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.709e-06/0.2842, allocations: 4 kB / 333.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.2842, allocations: 1.344 kB / 333.3 MB, free: 5.352 MB / 266.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.0004076/0.2846, allocations: 397.6 kB / 333.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2847, allocations: 9.781 kB / 333.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.2847, allocations: 11.31 kB / 333.7 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2849, allocations: 192.4 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2849, allocations: 3.391 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.285, allocations: 2.156 kB / 333.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2851, allocations: 46.41 kB / 333.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2851, allocations: 1.469 kB / 333.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-06/0.2851, allocations: 0.75 kB / 333.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-06/0.2851, allocations: 3.938 kB / 333.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.2852, allocations: 14.55 kB / 334 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.2855, allocations: 279.5 kB / 334.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2857, allocations: 42.42 kB / 334.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.2858, allocations: 5.469 kB / 334.3 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.2859, allocations: 55.92 kB / 334.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.432e-06/0.2859, allocations: 0 / 334.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003946/0.2863, allocations: 107 kB / 334.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.2864, allocations: 52.5 kB / 334.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.2865, allocations: 152 kB / 334.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2865, allocations: 26.95 kB / 334.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.2866, allocations: 165.4 kB / 334.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2866, allocations: 16.83 kB / 334.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.2867, allocations: 1.344 kB / 334.8 MB, free: 3.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.2867, allocations: 316.9 kB / 335.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.2868, allocations: 22.55 kB / 335.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.2868, allocations: 16.31 kB / 335.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.2869, allocations: 50.59 kB / 335.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-06/0.2869, allocations: 0.75 kB / 335.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001915/0.2871, allocations: 116.5 kB / 335.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.2872, allocations: 37.73 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.488e-06/0.2872, allocations: 0.9375 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2872, allocations: 0.875 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.2873, allocations: 9.047 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.918e-06/0.2873, allocations: 1.25 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.2874, allocations: 3.312 kB / 335.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2874, allocations: 2.781 kB / 335.4 MB, free: 3.359 MB / 266.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 8.276e-05/0.2875, allocations: 133.9 kB / 335.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.2875, allocations: 15.81 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2876, allocations: 12.81 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2876, allocations: 1.25 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2876, allocations: 0 / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.417e-06/0.2876, allocations: 0.75 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.2879, allocations: 332.8 kB / 335.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-06/0.288, allocations: 1.266 kB / 335.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.288, allocations: 10.8 kB / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-06/0.288, allocations: 0 / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.288, allocations: 2.188 kB / 335.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.857e-06/0.2881, allocations: 4.609 kB / 335.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.2881, allocations: 0 / 335.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.2882, allocations: 172 kB / 336.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.2883, allocations: 84.3 kB / 336.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.2883, allocations: 2.094 kB / 336.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.2884, allocations: 2.797 kB / 336.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.2885, allocations: 3.297 kB / 336.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2885, allocations: 8.359 kB / 336.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.2886, allocations: 111.8 kB / 336.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2886, allocations: 0 / 336.3 MB, free: 2.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.289, allocations: 27.86 kB / 336.3 MB, free: 2.523 MB / 266.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.001063/0.29, allocations: 370.4 kB / 336.7 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.2902, allocations: 105.8 kB / 336.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.65e-06/0.2903, allocations: 0.625 kB / 336.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.2903, allocations: 24.92 kB / 336.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2906, allocations: 17.69 kB / 336.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.291, allocations: 205.8 kB / 337 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2911, allocations: 0.6953 MB / 337.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.2912, allocations: 17.16 kB / 337.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.388e-06/0.2912, allocations: 0.8438 kB / 337.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of Templates: time 0.003813/0.295, allocations: 1.605 MB / 339.3 MB, free: 0.8047 MB / 266.7 MB