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.Test19.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.922/1.922, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.744e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3705, allocations: 75.08 MB / 395.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.3708, allocations: 71.95 kB / 395.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.3865, allocations: 3.874 MB / 399 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.3866, allocations: 0 / 399 MB, free: 1.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3866, allocations: 0 / 399 MB, free: 1.402 MB / 330.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.0005197/0.3871, allocations: 419.9 kB / 399.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3872, allocations: 8.031 kB / 399.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3872, allocations: 7.906 kB / 399.5 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3875, allocations: 198 kB / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3876, allocations: 0 / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.3876, allocations: 11.84 kB / 399.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.145e-05/0.3877, allocations: 15.94 kB / 399.7 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3878, allocations: 45.67 kB / 399.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3878, allocations: 7.938 kB / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3878, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3879, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3883, allocations: 265.5 kB / 400 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3885, allocations: 42.56 kB / 400 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.3886, allocations: 8.859 kB / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3886, allocations: 0 / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.3887, allocations: 71.41 kB / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.794e-06/0.3888, allocations: 0 / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004134/0.3892, allocations: 97.39 kB / 400.2 MB, free: 68 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3893, allocations: 55.41 kB / 400.3 MB, free: 0 / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.3895, allocations: 158.2 kB / 400.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3895, allocations: 33.69 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.3896, allocations: 162.5 kB / 400.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3897, allocations: 19.81 kB / 400.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-06/0.3897, allocations: 0 / 400.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3898, allocations: 310.8 kB / 400.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.3899, allocations: 23.98 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.39, allocations: 20 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.3901, allocations: 23.98 kB / 401 MB, free: 15.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3901, allocations: 0 / 401 MB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002326/0.3903, allocations: 93.53 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.3904, allocations: 30.48 kB / 401.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.214e-06/0.3904, allocations: 4.141 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3904, allocations: 7.984 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.3905, allocations: 16.14 kB / 401.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.096e-06/0.3905, allocations: 3.938 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.3906, allocations: 0 / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3906, allocations: 7.953 kB / 401.2 MB, free: 15.07 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.431e-05/0.3907, allocations: 105 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3908, allocations: 7.906 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.391, allocations: 98.14 kB / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.391, allocations: 0 / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-06/0.3911, allocations: 0 / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-06/0.3911, allocations: 0 / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.3915, allocations: 327.1 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-06/0.3915, allocations: 3.828 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.3916, allocations: 8 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-06/0.3916, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-06/0.3916, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.988e-06/0.3916, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-06/0.3917, allocations: 7.938 kB / 401.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3919, allocations: 175.4 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.392, allocations: 85.02 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.392, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3921, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3922, allocations: 3.984 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3922, allocations: 4.188 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3924, allocations: 131.8 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.3924, allocations: 0 / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.3928, allocations: 31.94 kB / 402.1 MB, free: 14.01 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0009427/0.3937, allocations: 309.3 kB / 402.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.394, allocations: 107.4 kB / 402.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.723e-06/0.394, allocations: 0 / 402.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.394, allocations: 16 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3943, allocations: 17.41 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3947, allocations: 166.5 kB / 402.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3951, allocations: 0.7002 MB / 403.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.3952, allocations: 23.36 kB / 403.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.555e-06/0.3952, allocations: 4 kB / 403.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Templates: time 0.004193/0.3994, allocations: 1.698 MB / 405.2 MB, free: 10.96 MB / 346.7 MB