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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.26e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2599, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.3734, allocations: 75.86 MB / 395.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3736, allocations: 71.95 kB / 395.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.3865, allocations: 3.206 MB / 399.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3865, allocations: 0 / 399.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.3865, allocations: 4 kB / 399.2 MB, free: 1.289 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006082/0.3871, allocations: 461.6 kB / 399.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3872, allocations: 8.031 kB / 399.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.3873, allocations: 7.906 kB / 399.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3876, allocations: 208.2 kB / 399.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3876, allocations: 4 kB / 399.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3876, allocations: 4 kB / 399.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/0.3878, allocations: 27.94 kB / 399.9 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3879, allocations: 69.55 kB / 399.9 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.446e-06/0.388, allocations: 0 / 399.9 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.388, allocations: 4 kB / 399.9 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-06/0.388, allocations: 0 / 399.9 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3886, allocations: 333.1 kB / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3889, allocations: 62.67 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.389, allocations: 28.97 kB / 400.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.389, allocations: 4 kB / 400.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.3891, allocations: 67.33 kB / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.72e-06/0.3892, allocations: 0 / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002516/0.3894, allocations: 81.5 kB / 400.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3895, allocations: 55.41 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3897, allocations: 145.3 kB / 400.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3897, allocations: 25.7 kB / 400.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.3898, allocations: 166.5 kB / 400.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.3899, allocations: 23.73 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-06/0.3899, allocations: 0 / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3901, allocations: 318.8 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.3901, allocations: 31.98 kB / 401.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.3902, allocations: 29.72 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.3903, allocations: 35.92 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-06/0.3904, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002653/0.3906, allocations: 105.6 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.3907, allocations: 36.05 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-06/0.3907, allocations: 0 / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3907, allocations: 4 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3909, allocations: 23.95 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.878e-06/0.3909, allocations: 0 / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.395e-05/0.391, allocations: 15.84 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.391, allocations: 11.98 kB / 401.5 MB, free: 14.72 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.666e-05/0.3911, allocations: 107.7 kB / 401.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3912, allocations: 11.91 kB / 401.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3914, allocations: 90.28 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3914, allocations: 3.938 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.367e-06/0.3914, allocations: 4 kB / 401.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3915, allocations: 7.984 kB / 401.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3917, allocations: 166.2 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-06/0.3917, allocations: 3.984 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3918, allocations: 12.19 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-06/0.3918, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3919, allocations: 7.938 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3919, allocations: 4 kB / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.707e-06/0.3919, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.3922, allocations: 142.5 kB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.3923, allocations: 93.03 kB / 402.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3923, allocations: 0 / 402.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3924, allocations: 8 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3925, allocations: 7.922 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3925, allocations: 4 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3926, allocations: 115.3 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.3927, allocations: 8 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.393, allocations: 39.92 kB / 402.3 MB, free: 13.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.0008413/0.3939, allocations: 267.7 kB / 402.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3941, allocations: 119.3 kB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3942, allocations: 0 / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.3942, allocations: 23.98 kB / 402.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3945, allocations: 28.67 kB / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.395, allocations: 185.9 kB / 402.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3954, allocations: 0.708 MB / 403.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.3955, allocations: 15.38 kB / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3955, allocations: 0 / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.004489/0.4, allocations: 1.871 MB / 405.5 MB, free: 10.59 MB / 346.7 MB