Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 234.9 MB / 250.5 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 16 kB / 314.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4135, allocations: 81.97 MB / 451.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4138, allocations: 67.97 kB / 451.3 MB, free: 10.61 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.432, allocations: 4.424 MB / 455.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.4321, allocations: 4 kB / 455.7 MB, free: 6.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4321, allocations: 8 kB / 455.8 MB, free: 6.164 MB / 378.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.0005956/0.4327, allocations: 462.2 kB / 456.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4328, allocations: 12.03 kB / 456.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.4328, allocations: 11.81 kB / 456.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4332, allocations: 199 kB / 456.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4332, allocations: 4 kB / 456.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4332, allocations: 4 kB / 456.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4334, allocations: 53.67 kB / 456.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4334, allocations: 4 kB / 456.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4334, allocations: 3.953 kB / 456.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/0.4335, allocations: 4 kB / 456.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.4336, allocations: 19.92 kB / 456.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.4338, allocations: 201.6 kB / 456.7 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.4341, allocations: 50.62 kB / 456.8 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4341, allocations: 4 kB / 456.8 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.4343, allocations: 71.41 kB / 456.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.541e-06/0.4343, allocations: 0 / 456.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003643/0.4347, allocations: 97.58 kB / 456.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4347, allocations: 55.36 kB / 457 MB, free: 4.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.435, allocations: 170 kB / 457.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.435, allocations: 33.7 kB / 457.2 MB, free: 4.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.4351, allocations: 162.5 kB / 457.3 MB, free: 4.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.4352, allocations: 11.84 kB / 457.4 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.4352, allocations: 4 kB / 457.4 MB, free: 4.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4353, allocations: 318.8 kB / 457.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4355, allocations: 35.92 kB / 457.7 MB, free: 3.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4356, allocations: 45.64 kB / 457.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4358, allocations: 73.62 kB / 457.8 MB, free: 3.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-06/0.4358, allocations: 0 / 457.8 MB, free: 3.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00037/0.4362, allocations: 151.2 kB / 458 MB, free: 3.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.4362, allocations: 37.69 kB / 458 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4362, allocations: 4 kB / 458 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4363, allocations: 0 / 458 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.4364, allocations: 8 kB / 458 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.552e-06/0.4364, allocations: 0 / 458 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.4365, allocations: 15.94 kB / 458 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4365, allocations: 8.031 kB / 458 MB, free: 3.629 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001321/0.4367, allocations: 123.4 kB / 458.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.4367, allocations: 11.81 kB / 458.2 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.437, allocations: 97.91 kB / 458.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-06/0.437, allocations: 0 / 458.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-06/0.437, allocations: 4 kB / 458.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-06/0.4371, allocations: 0 / 458.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.4373, allocations: 197.5 kB / 458.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-06/0.4373, allocations: 0 / 458.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.4373, allocations: 8 kB / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-06/0.4374, allocations: 0 / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4374, allocations: 384 / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4374, allocations: 4 kB / 458.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4374, allocations: 0 / 458.5 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.4377, allocations: 128.9 kB / 458.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.4378, allocations: 89 kB / 458.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4378, allocations: 8 kB / 458.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.4379, allocations: 7.984 kB / 458.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.438, allocations: 4 kB / 458.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.438, allocations: 0 / 458.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.4381, allocations: 139.2 kB / 458.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4382, allocations: 0 / 458.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.4385, allocations: 35.94 kB / 458.9 MB, free: 2.68 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001357/0.4399, allocations: 397.8 kB / 459.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.4402, allocations: 155.3 kB / 459.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.077e-06/0.4403, allocations: 0 / 459.4 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.4404, allocations: 24.06 kB / 459.4 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.4406, allocations: 31.09 kB / 459.5 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.4412, allocations: 246.7 kB / 459.7 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4416, allocations: 0.7083 MB / 460.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.4416, allocations: 15.42 kB / 460.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4416, allocations: 0 / 460.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of Templates: time 0.004319/0.446, allocations: 1.697 MB / 462.1 MB, free: 15.43 MB / 394.7 MB