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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.057/2.057, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.334e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08588, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.489, allocations: 75.63 MB / 402.2 MB, free: 9.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.4894, allocations: 79.14 kB / 402.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.5219, allocations: 5.41 MB / 407.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.5219, allocations: 0 / 407.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.522, allocations: 15.56 kB / 407.7 MB, free: 7.855 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.001056/0.5231, allocations: 0.6336 MB / 408.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5232, allocations: 7.719 kB / 408.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.5234, allocations: 50.47 kB / 408.4 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.5247, allocations: 449.8 kB / 408.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.5248, allocations: 0 / 408.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.5248, allocations: 7.75 kB / 408.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.5251, allocations: 61.8 kB / 408.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5251, allocations: 0 / 408.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.5251, allocations: 3.984 kB / 408.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-06/0.5252, allocations: 3.938 kB / 408.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.5253, allocations: 29.45 kB / 408.9 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.526, allocations: 376.5 kB / 409.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.5263, allocations: 61.67 kB / 409.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.5264, allocations: 20.41 kB / 409.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5264, allocations: 3.938 kB / 409.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.5267, allocations: 93.59 kB / 409.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 4.009e-06/0.5267, allocations: 3.875 kB / 409.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005872/0.5273, allocations: 124.8 kB / 409.6 MB, free: 6.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.5274, allocations: 79.86 kB / 409.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.5303, allocations: 0.8863 MB / 410.5 MB, free: 6.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.5304, allocations: 29.7 kB / 410.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.5306, allocations: 257.9 kB / 410.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.5307, allocations: 11.12 kB / 410.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.5308, allocations: 7.625 kB / 410.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.5308, allocations: 318.8 kB / 411.2 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.5311, allocations: 33.97 kB / 411.2 MB, free: 5.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.5313, allocations: 55.52 kB / 411.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.5315, allocations: 100.6 kB / 411.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5316, allocations: 4 kB / 411.3 MB, free: 5.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006654/0.5322, allocations: 200.8 kB / 411.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.5323, allocations: 59.16 kB / 411.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.418e-06/0.5324, allocations: 0 / 411.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.5324, allocations: 3.812 kB / 411.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5326, allocations: 15.7 kB / 411.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5326, allocations: 0 / 411.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.533, allocations: 15.53 kB / 411.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.533, allocations: 11.84 kB / 411.6 MB, free: 5.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001144/0.5332, allocations: 116.3 kB / 411.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.5334, allocations: 50.61 kB / 411.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.534, allocations: 149.2 kB / 412 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-06/0.534, allocations: 3.781 kB / 412 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.23e-06/0.5341, allocations: 0 / 412 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-06/0.5341, allocations: 0 / 412 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.5347, allocations: 359.7 kB / 412.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.639e-06/0.5348, allocations: 3.938 kB / 412.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.5349, allocations: 15.23 kB / 412.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.4e-06/0.5349, allocations: 7.906 kB / 412.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.535, allocations: 0 / 412.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.235e-06/0.535, allocations: 0 / 412.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.144e-06/0.535, allocations: 7.75 kB / 412.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.5356, allocations: 181.6 kB / 412.5 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.536, allocations: 191.2 kB / 412.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5362, allocations: 7.562 kB / 412.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.5365, allocations: 7.812 kB / 412.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.5366, allocations: 7.828 kB / 412.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5366, allocations: 3.844 kB / 412.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001887/0.5385, allocations: 0.6985 MB / 413.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.409e-06/0.5386, allocations: 96 / 413.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009495/0.5395, allocations: 100.5 kB / 413.5 MB, free: 4.371 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002409/0.542, allocations: 449.9 kB / 414 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005652/0.5426, allocations: 201.2 kB / 414.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.696e-06/0.5426, allocations: 0 / 414.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.5428, allocations: 26.38 kB / 414.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.5435, allocations: 50.31 kB / 414.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.5461, allocations: 0.7622 MB / 415 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.5467, allocations: 0.8383 MB / 415.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.547, allocations: 38.8 kB / 415.9 MB, free: 2.355 MB / 314.7 MB Notification: Performance of SimCode: time 2.661e-06/0.5471, allocations: 0 / 415.9 MB, free: 2.355 MB / 314.7 MB Notification: Performance of Templates: time 0.02054/0.5676, allocations: 5.379 MB / 421.3 MB, free: 12.99 MB / 330.7 MB