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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.867/1.867, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 12 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.0877, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4109, allocations: 75.83 MB / 407.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4111, allocations: 71.97 kB / 407.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.4278, allocations: 3.97 MB / 411.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.4279, allocations: 0 / 411.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4279, allocations: 4 kB / 411.2 MB, free: 5.285 MB / 330.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.0005739/0.4285, allocations: 436.6 kB / 411.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4285, allocations: 8.031 kB / 411.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.4286, allocations: 7.906 kB / 411.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.4289, allocations: 211.4 kB / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4289, allocations: 7.984 kB / 411.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.429, allocations: 4 kB / 411.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4291, allocations: 41.69 kB / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4291, allocations: 0 / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4291, allocations: 0 / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-06/0.4291, allocations: 0 / 411.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.4292, allocations: 23.92 kB / 411.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.4297, allocations: 296.8 kB / 412.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.4299, allocations: 42.56 kB / 412.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-06/0.43, allocations: 4 kB / 412.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.4301, allocations: 63.42 kB / 412.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.452e-06/0.4301, allocations: 0 / 412.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004609/0.4306, allocations: 113.4 kB / 412.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.4307, allocations: 63.3 kB / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.4309, allocations: 165.6 kB / 412.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.431, allocations: 29.7 kB / 412.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.4311, allocations: 162.5 kB / 412.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4311, allocations: 15.81 kB / 412.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-06/0.4311, allocations: 0 / 412.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4313, allocations: 318.8 kB / 413.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.4314, allocations: 23.94 kB / 413.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.4314, allocations: 23.98 kB / 413.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4316, allocations: 57.78 kB / 413.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4316, allocations: 3.938 kB / 413.2 MB, free: 2.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002609/0.4319, allocations: 127.2 kB / 413.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.4319, allocations: 33.69 kB / 413.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-06/0.4319, allocations: 0 / 413.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.432, allocations: 0 / 413.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.432, allocations: 8 kB / 413.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.672e-06/0.4321, allocations: 8 kB / 413.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.4321, allocations: 7.953 kB / 413.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4322, allocations: 4 kB / 413.4 MB, free: 2.777 MB / 330.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.0001345/0.4323, allocations: 125.8 kB / 413.5 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.4324, allocations: 7.906 kB / 413.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4326, allocations: 89.92 kB / 413.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4326, allocations: 0 / 413.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.4327, allocations: 4 kB / 413.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-06/0.4327, allocations: 3.984 kB / 413.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.4332, allocations: 358.5 kB / 414 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-06/0.4332, allocations: 3.938 kB / 414 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.4333, allocations: 8.281 kB / 414 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-06/0.4333, allocations: 0 / 414 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4333, allocations: 7.984 kB / 414 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.46e-06/0.4333, allocations: 192 / 414 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.518e-06/0.4333, allocations: 7.953 kB / 414 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4336, allocations: 175.4 kB / 414.2 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.4337, allocations: 93 kB / 414.3 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4337, allocations: 0 / 414.3 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.4338, allocations: 4 kB / 414.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4339, allocations: 4 kB / 414.3 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4339, allocations: 3.953 kB / 414.3 MB, free: 1.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.4341, allocations: 142.3 kB / 414.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.015e-06/0.4341, allocations: 4 kB / 414.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.4345, allocations: 47.77 kB / 414.5 MB, free: 1.605 MB / 330.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 (6): * Single equations (assignments): 5 * 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.001194/0.4357, allocations: 370.9 kB / 414.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.436, allocations: 111.4 kB / 415 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.436, allocations: 0 / 415 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.4361, allocations: 27.94 kB / 415 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4363, allocations: 11.98 kB / 415 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.4369, allocations: 251.2 kB / 415.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4373, allocations: 0.7071 MB / 415.9 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.4374, allocations: 15.44 kB / 416 MB, free: 136 kB / 330.7 MB Notification: Performance of SimCode: time 1.397e-06/0.4374, allocations: 0 / 416 MB, free: 136 kB / 330.7 MB Notification: Performance of Templates: time 0.004391/0.4418, allocations: 1.748 MB / 417.7 MB, free: 14.39 MB / 346.7 MB