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.Test38.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.Test38,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.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.118/2.118, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004459, allocations: 19.98 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3677, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5107, allocations: 75.69 MB / 407.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.511, allocations: 75.91 kB / 407.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.5282, allocations: 3.837 MB / 411.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5283, allocations: 0 / 411.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5283, allocations: 4 kB / 411.4 MB, free: 14.83 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.0006482/0.529, allocations: 416.7 kB / 411.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.529, allocations: 8.031 kB / 411.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.5291, allocations: 11.84 kB / 411.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.5294, allocations: 194.9 kB / 412 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.5294, allocations: 0 / 412 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.5295, allocations: 4 kB / 412 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5296, allocations: 41.62 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5296, allocations: 4 kB / 412.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.5297, allocations: 7.984 kB / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5297, allocations: 0 / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.5297, allocations: 7.984 kB / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.53, allocations: 189.6 kB / 412.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.5301, allocations: 30.56 kB / 412.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.5301, allocations: 0 / 412.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.5303, allocations: 63.41 kB / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.5303, allocations: 0 / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002858/0.5306, allocations: 69.58 kB / 412.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5307, allocations: 51.41 kB / 412.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.531, allocations: 173.4 kB / 412.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.531, allocations: 25.7 kB / 412.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.5311, allocations: 162.6 kB / 412.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.5312, allocations: 7.844 kB / 412.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.5312, allocations: 12 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5314, allocations: 314.8 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.5315, allocations: 19.92 kB / 413.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.5315, allocations: 23.98 kB / 413.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5316, allocations: 45.7 kB / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5317, allocations: 0 / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000254/0.5319, allocations: 115.2 kB / 413.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.532, allocations: 37.7 kB / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.532, allocations: 0 / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.532, allocations: 0 / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.5321, allocations: 8 kB / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5322, allocations: 0 / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.5322, allocations: 7.984 kB / 413.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.5323, allocations: 7.938 kB / 413.4 MB, free: 12.57 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.0001347/0.5324, allocations: 125.7 kB / 413.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5325, allocations: 7.906 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5327, allocations: 69.92 kB / 413.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5327, allocations: 0 / 413.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5327, allocations: 4 kB / 413.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5328, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.533, allocations: 177.6 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.533, allocations: 3.984 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.533, allocations: 4 kB / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5331, allocations: 0 / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.5331, allocations: 0 / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5331, allocations: 0 / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5331, allocations: 0 / 413.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.5333, allocations: 104.9 kB / 413.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.5334, allocations: 85.02 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.5334, allocations: 4 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.5335, allocations: 0 / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.5335, allocations: 8.266 kB / 414 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5336, allocations: 0 / 414 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5338, allocations: 127.8 kB / 414.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5338, allocations: 0 / 414.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00032/0.5341, allocations: 31.94 kB / 414.2 MB, free: 11.72 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.000987/0.5351, allocations: 345 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.5354, allocations: 103.3 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5354, allocations: 0 / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.5354, allocations: 11.98 kB / 414.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.5357, allocations: 15.94 kB / 414.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.5363, allocations: 227.7 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.5367, allocations: 0.6926 MB / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.5367, allocations: 15.42 kB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5367, allocations: 0 / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.004693/0.5414, allocations: 1.506 MB / 417.1 MB, free: 8.816 MB / 346.7 MB