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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.816e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08756, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4266, allocations: 75.77 MB / 402.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4269, allocations: 66.22 kB / 402.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.4426, allocations: 4.056 MB / 406.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.018e-06/0.4426, allocations: 0 / 406.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4427, allocations: 0 / 406.4 MB, free: 8.527 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.0003674/0.443, allocations: 418.4 kB / 406.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4431, allocations: 7.781 kB / 406.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.4432, allocations: 10.81 kB / 406.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.4434, allocations: 201.1 kB / 407.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4434, allocations: 11.86 kB / 407.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4434, allocations: 2.875 kB / 407.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.4436, allocations: 44.34 kB / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4436, allocations: 0 / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4436, allocations: 0 / 407.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-06/0.4436, allocations: 4 kB / 407.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.4437, allocations: 15.05 kB / 407.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.444, allocations: 288.2 kB / 407.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4442, allocations: 48.38 kB / 407.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.4443, allocations: 11.95 kB / 407.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.4443, allocations: 3.938 kB / 407.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.4444, allocations: 58.52 kB / 407.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.588e-06/0.4445, allocations: 0 / 407.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003776/0.4448, allocations: 120.7 kB / 407.7 MB, free: 7.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4449, allocations: 51.41 kB / 407.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.4451, allocations: 172.4 kB / 407.9 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4451, allocations: 25.7 kB / 407.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4452, allocations: 161.8 kB / 408.1 MB, free: 7.031 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4452, allocations: 26.58 kB / 408.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-06/0.4452, allocations: 3.844 kB / 408.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.4453, allocations: 310.8 kB / 408.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.4453, allocations: 21.91 kB / 408.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.4454, allocations: 21.59 kB / 408.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.4455, allocations: 56.16 kB / 408.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-06/0.4455, allocations: 0 / 408.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002105/0.4457, allocations: 119.8 kB / 408.6 MB, free: 6.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4458, allocations: 37.36 kB / 408.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-06/0.4458, allocations: 4 kB / 408.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4458, allocations: 0 / 408.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.4459, allocations: 18.48 kB / 408.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.568e-06/0.4459, allocations: 0 / 408.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.446, allocations: 7.75 kB / 408.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.446, allocations: 11.86 kB / 408.7 MB, free: 6.531 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.627e-05/0.4461, allocations: 107.7 kB / 408.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.4461, allocations: 7.922 kB / 408.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.4463, allocations: 99.11 kB / 408.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.4463, allocations: 0 / 408.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.953e-06/0.4464, allocations: 0 / 408.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.936e-06/0.4464, allocations: 0 / 408.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.4467, allocations: 356.2 kB / 409.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-06/0.4467, allocations: 0 / 409.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.4468, allocations: 7.719 kB / 409.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.654e-06/0.4468, allocations: 3.984 kB / 409.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4468, allocations: 3.656 kB / 409.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-06/0.4468, allocations: 7.938 kB / 409.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.976e-06/0.4468, allocations: 0 / 409.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.447, allocations: 179.7 kB / 409.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.4471, allocations: 91.53 kB / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.4471, allocations: 3.906 kB / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.4472, allocations: 2.75 kB / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4473, allocations: 3.938 kB / 409.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4473, allocations: 3.984 kB / 409.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4474, allocations: 146.4 kB / 409.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4474, allocations: 0 / 409.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000372/0.4478, allocations: 42.92 kB / 409.7 MB, free: 5.68 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.001059/0.4489, allocations: 340.8 kB / 410.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4491, allocations: 118.2 kB / 410.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.874e-06/0.4491, allocations: 3.938 kB / 410.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.4492, allocations: 17.94 kB / 410.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.4495, allocations: 18.55 kB / 410.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.4499, allocations: 175.1 kB / 410.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.4501, allocations: 0.704 MB / 411.1 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4501, allocations: 15.28 kB / 411.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of SimCode: time 1.571e-06/0.4501, allocations: 0 / 411.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of Templates: time 0.003622/0.4538, allocations: 1.729 MB / 412.8 MB, free: 3.672 MB / 314.7 MB