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.Test60.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.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.183e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08735, allocations: 48.69 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4242, allocations: 75.99 MB / 402.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4245, allocations: 77.45 kB / 402.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01655/0.4411, allocations: 4.463 MB / 407.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4411, allocations: 3.812 kB / 407.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.4411, allocations: 4 kB / 407.1 MB, free: 8.445 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.0003746/0.4415, allocations: 405.4 kB / 407.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4416, allocations: 11.66 kB / 407.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.4416, allocations: 7.781 kB / 407.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4418, allocations: 194.1 kB / 407.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4419, allocations: 0 / 407.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4419, allocations: 11.61 kB / 407.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.442, allocations: 54.98 kB / 407.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.442, allocations: 3.844 kB / 407.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4421, allocations: 0 / 407.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-06/0.4421, allocations: 4 kB / 407.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.676e-05/0.4421, allocations: 19.48 kB / 407.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.4425, allocations: 277.9 kB / 408 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.4427, allocations: 45.03 kB / 408.1 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.4428, allocations: 12.55 kB / 408.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4428, allocations: 3.75 kB / 408.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.4429, allocations: 66.5 kB / 408.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.496e-06/0.4429, allocations: 0 / 408.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003951/0.4433, allocations: 102.5 kB / 408.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.4434, allocations: 84.48 kB / 408.4 MB, free: 7.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.4436, allocations: 130.3 kB / 408.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4436, allocations: 28.95 kB / 408.5 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4436, allocations: 158.3 kB / 408.7 MB, free: 6.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4437, allocations: 19.73 kB / 408.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-06/0.4437, allocations: 6.875 kB / 408.7 MB, free: 6.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.4437, allocations: 310.8 kB / 409 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.4438, allocations: 18.53 kB / 409 MB, free: 6.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.4439, allocations: 40.77 kB / 409.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.028e-05/0.444, allocations: 49.16 kB / 409.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.444, allocations: 3.938 kB / 409.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002045/0.4442, allocations: 114.6 kB / 409.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4442, allocations: 37.36 kB / 409.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.488e-06/0.4443, allocations: 224 / 409.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4443, allocations: 4 kB / 409.3 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.4444, allocations: 11.58 kB / 409.3 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.739e-06/0.4444, allocations: 7.641 kB / 409.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.4444, allocations: 3 kB / 409.3 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4445, allocations: 7.828 kB / 409.3 MB, free: 6.41 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 6.008e-05/0.4445, allocations: 104.8 kB / 409.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4446, allocations: 15.09 kB / 409.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.4448, allocations: 89.97 kB / 409.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-06/0.4448, allocations: 0 / 409.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4448, allocations: 3.969 kB / 409.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-06/0.4448, allocations: 0 / 409.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.4452, allocations: 342.6 kB / 409.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-06/0.4452, allocations: 0 / 409.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.4453, allocations: 7.656 kB / 409.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-06/0.4453, allocations: 0 / 409.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4453, allocations: 7.844 kB / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.779e-06/0.4453, allocations: 0 / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-06/0.4453, allocations: 0 / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.4455, allocations: 172.6 kB / 410 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4456, allocations: 92.69 kB / 410.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4456, allocations: 96 / 410.1 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4457, allocations: 11.8 kB / 410.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.4458, allocations: 7.75 kB / 410.1 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.4458, allocations: 7.5 kB / 410.1 MB, free: 5.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.4459, allocations: 110.9 kB / 410.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4459, allocations: 0 / 410.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.4463, allocations: 54.5 kB / 410.3 MB, free: 5.555 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.001271/0.4476, allocations: 413.1 kB / 410.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4478, allocations: 110 kB / 410.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4479, allocations: 0 / 410.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.4479, allocations: 22.25 kB / 410.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4482, allocations: 17.84 kB / 410.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.4485, allocations: 134.8 kB / 411 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.4487, allocations: 0.692 MB / 411.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.4488, allocations: 18.38 kB / 411.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of SimCode: time 1.658e-06/0.4488, allocations: 0 / 411.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of Templates: time 0.004021/0.4528, allocations: 1.887 MB / 413.6 MB, free: 3.43 MB / 314.7 MB