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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.897e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08628, allocations: 48.71 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4187, allocations: 75.73 MB / 402.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4189, allocations: 68.81 kB / 402.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.4338, allocations: 3.908 MB / 406.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.532e-06/0.4338, allocations: 0 / 406.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4338, allocations: 0 / 406.3 MB, free: 8.613 MB / 314.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.0003682/0.4342, allocations: 416.9 kB / 406.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4343, allocations: 7.656 kB / 406.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.4343, allocations: 7.594 kB / 406.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.4345, allocations: 200.8 kB / 406.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4346, allocations: 0 / 406.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.4346, allocations: 10.91 kB / 406.9 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.4347, allocations: 51.84 kB / 406.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4347, allocations: 0 / 406.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4348, allocations: 0 / 406.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-06/0.4348, allocations: 0 / 406.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.4348, allocations: 14.41 kB / 407 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.4352, allocations: 298.5 kB / 407.2 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4354, allocations: 40.84 kB / 407.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.4354, allocations: 11.52 kB / 407.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4355, allocations: 0 / 407.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.4356, allocations: 64.52 kB / 407.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.29e-06/0.4356, allocations: 0 / 407.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003827/0.436, allocations: 112.9 kB / 407.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.436, allocations: 55.41 kB / 407.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.4362, allocations: 153.2 kB / 407.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4362, allocations: 29.14 kB / 407.7 MB, free: 7.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4363, allocations: 168.3 kB / 407.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.4363, allocations: 14.94 kB / 407.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-06/0.4363, allocations: 3.781 kB / 407.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.4364, allocations: 310.8 kB / 408.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.4365, allocations: 21.84 kB / 408.2 MB, free: 6.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.4366, allocations: 33.92 kB / 408.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.4366, allocations: 54.78 kB / 408.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-06/0.4367, allocations: 0 / 408.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002103/0.4369, allocations: 122.9 kB / 408.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.4369, allocations: 41.5 kB / 408.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.992e-06/0.4369, allocations: 0 / 408.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.437, allocations: 0 / 408.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.437, allocations: 7.844 kB / 408.5 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4371, allocations: 3.953 kB / 408.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.4371, allocations: 3.688 kB / 408.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4371, allocations: 11.31 kB / 408.5 MB, free: 6.629 MB / 314.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 () * 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 5.797e-05/0.4372, allocations: 109.5 kB / 408.6 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.4373, allocations: 11.69 kB / 408.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.4375, allocations: 82.61 kB / 408.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-06/0.4375, allocations: 3.844 kB / 408.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.522e-06/0.4375, allocations: 128 / 408.7 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4375, allocations: 3.953 kB / 408.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.4379, allocations: 357.1 kB / 409 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-06/0.4379, allocations: 0 / 409 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.438, allocations: 11.8 kB / 409.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.438, allocations: 0 / 409.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.438, allocations: 0 / 409.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.241e-06/0.438, allocations: 3.953 kB / 409.1 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.646e-06/0.438, allocations: 3.938 kB / 409.1 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.4382, allocations: 168.7 kB / 409.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.4383, allocations: 92.84 kB / 409.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4383, allocations: 3.812 kB / 409.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.4384, allocations: 3.406 kB / 409.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4385, allocations: 19.83 kB / 409.3 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4385, allocations: 3.984 kB / 409.3 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4386, allocations: 127.2 kB / 409.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4386, allocations: 0 / 409.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.439, allocations: 37.86 kB / 409.5 MB, free: 5.781 MB / 314.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) * 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.001025/0.44, allocations: 335.4 kB / 409.8 MB, free: 5.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4403, allocations: 115.9 kB / 409.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.193e-06/0.4403, allocations: 7.875 kB / 410 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.4403, allocations: 16.78 kB / 410 MB, free: 5.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.4406, allocations: 18.23 kB / 410 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.441, allocations: 167.1 kB / 410.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4412, allocations: 0.6961 MB / 410.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.4412, allocations: 18.84 kB / 410.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.461e-06/0.4412, allocations: 0 / 410.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003609/0.4448, allocations: 1.715 MB / 412.6 MB, free: 3.793 MB / 314.7 MB