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.Test16.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.265e-05, allocations: 8 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.3949, allocations: 81.36 MB / 439.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.3952, allocations: 71.97 kB / 439.5 MB, free: 13.41 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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.01886/0.4141, allocations: 4.372 MB / 443.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.552e-06/0.4141, allocations: 0 / 443.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4141, allocations: 0 / 443.8 MB, free: 9.031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005875/0.4147, allocations: 461.4 kB / 444.3 MB, free: 8.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4148, allocations: 8.031 kB / 444.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.4148, allocations: 15.84 kB / 444.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.4152, allocations: 204.1 kB / 444.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4152, allocations: 0 / 444.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.4153, allocations: 8 kB / 444.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.451e-05/0.4154, allocations: 23.98 kB / 444.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.4155, allocations: 49.62 kB / 444.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4155, allocations: 3.953 kB / 444.6 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4155, allocations: 7.984 kB / 444.6 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-06/0.4156, allocations: 0 / 444.6 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.416, allocations: 277.5 kB / 444.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.4162, allocations: 58.69 kB / 444.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4162, allocations: 16.98 kB / 445 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4163, allocations: 3.938 kB / 445 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.4164, allocations: 67.34 kB / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.69e-06/0.4165, allocations: 0 / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005656/0.417, allocations: 157.1 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.4171, allocations: 59.41 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.4173, allocations: 150.7 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4173, allocations: 29.7 kB / 445.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.4175, allocations: 158.6 kB / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.4175, allocations: 23.64 kB / 445.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-06/0.4175, allocations: 4 kB / 445.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4177, allocations: 315.5 kB / 445.9 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-05/0.4178, allocations: 35.98 kB / 445.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4179, allocations: 49.72 kB / 446 MB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.418, allocations: 35.98 kB / 446 MB, free: 6.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-06/0.418, allocations: 0 / 446 MB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003188/0.4184, allocations: 125.5 kB / 446.1 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.4184, allocations: 41.69 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4185, allocations: 3.953 kB / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4185, allocations: 0 / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4186, allocations: 19.98 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.946e-06/0.4186, allocations: 3.938 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.861e-05/0.4187, allocations: 8.031 kB / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4188, allocations: 4 kB / 446.2 MB, free: 6.418 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001104/0.4189, allocations: 113.1 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.4189, allocations: 7.906 kB / 446.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4192, allocations: 118.2 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.863e-06/0.4193, allocations: 7.938 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4193, allocations: 0 / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-06/0.4193, allocations: 0 / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.4199, allocations: 375.9 kB / 446.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-06/0.4199, allocations: 0 / 446.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.42, allocations: 11.94 kB / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.093e-06/0.42, allocations: 7.938 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.42, allocations: 4 kB / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-06/0.4201, allocations: 0 / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-06/0.4201, allocations: 0 / 446.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.4204, allocations: 214 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.4205, allocations: 101.1 kB / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.4205, allocations: 4 kB / 447.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4207, allocations: 4 kB / 447.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.4207, allocations: 7.984 kB / 447.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4208, allocations: 4 kB / 447.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.4209, allocations: 127.2 kB / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.4209, allocations: 0 / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.4213, allocations: 39.94 kB / 447.3 MB, free: 5.195 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001279/0.4226, allocations: 376 kB / 447.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.423, allocations: 159.4 kB / 447.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.553e-06/0.423, allocations: 0 / 447.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.4231, allocations: 27.94 kB / 447.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4235, allocations: 15.98 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.424, allocations: 176 kB / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.4244, allocations: 0.7197 MB / 448.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.4245, allocations: 15.44 kB / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.837e-06/0.4245, allocations: 0 / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of Templates: time 0.004834/0.4293, allocations: 1.885 MB / 450.7 MB, free: 1.82 MB / 378.7 MB