Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.104/2.104, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004439, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3616, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.5077, allocations: 75.72 MB / 407.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/0.5081, allocations: 67.97 kB / 407.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02177/0.5299, allocations: 3.838 MB / 411.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.53, allocations: 0 / 411.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.53, allocations: 8 kB / 411.4 MB, free: 14.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006987/0.5307, allocations: 419.8 kB / 411.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5308, allocations: 11.97 kB / 411.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.5309, allocations: 7.906 kB / 411.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.5313, allocations: 190.9 kB / 412.1 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.5313, allocations: 8 kB / 412.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.5313, allocations: 3.938 kB / 412.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.5315, allocations: 49.67 kB / 412.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5315, allocations: 0 / 412.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5316, allocations: 0 / 412.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5316, allocations: 0 / 412.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.5317, allocations: 12 kB / 412.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.532, allocations: 181.6 kB / 412.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5321, allocations: 30.56 kB / 412.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5322, allocations: 7.922 kB / 412.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.5324, allocations: 63.45 kB / 412.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/0.5324, allocations: 0 / 412.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003515/0.5328, allocations: 61.59 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.5328, allocations: 59.39 kB / 412.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.5332, allocations: 165.4 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.5332, allocations: 29.7 kB / 412.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5334, allocations: 162.5 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.5334, allocations: 19.78 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.5334, allocations: 0 / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5336, allocations: 322.8 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.5337, allocations: 16 kB / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.5338, allocations: 19.98 kB / 413.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.534, allocations: 45.7 kB / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.534, allocations: 0 / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003795/0.5344, allocations: 115.3 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.5345, allocations: 33.7 kB / 413.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5345, allocations: 0 / 413.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5345, allocations: 4 kB / 413.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5347, allocations: 7.984 kB / 413.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5347, allocations: 0 / 413.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.8e-05/0.5348, allocations: 11.88 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.5348, allocations: 8 kB / 413.5 MB, free: 12.54 MB / 346.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 (5): * Single equations (assignments): 4 * 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.0001891/0.5351, allocations: 125.8 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.5351, allocations: 7.906 kB / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.5354, allocations: 65.92 kB / 413.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.5354, allocations: 8 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5355, allocations: 0 / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5355, allocations: 0 / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.5358, allocations: 181.6 kB / 413.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5358, allocations: 0 / 413.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.5359, allocations: 4.234 kB / 413.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5359, allocations: 0 / 413.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5359, allocations: 0 / 413.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5359, allocations: 7.938 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.536, allocations: 0 / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.5362, allocations: 96.95 kB / 413.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5364, allocations: 93.02 kB / 414 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.5364, allocations: 0 / 414 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.5365, allocations: 3.984 kB / 414 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.5366, allocations: 4.125 kB / 414 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.5366, allocations: 4 kB / 414 MB, free: 11.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002245/0.5368, allocations: 127.8 kB / 414.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5368, allocations: 0 / 414.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005302/0.5374, allocations: 35.92 kB / 414.2 MB, free: 11.69 MB / 346.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 (4): * Single equations (assignments): 3 * 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.001297/0.5387, allocations: 321.6 kB / 414.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.539, allocations: 99.33 kB / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.539, allocations: 0 / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.5391, allocations: 19.92 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.5395, allocations: 15.98 kB / 414.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.5402, allocations: 223.8 kB / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.5406, allocations: 0.6965 MB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.5406, allocations: 11.44 kB / 415.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5407, allocations: 3.938 kB / 415.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.005976/0.5466, allocations: 1.51 MB / 417.1 MB, free: 8.797 MB / 346.7 MB