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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.156e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3698, allocations: 75.08 MB / 395.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.3701, allocations: 71.95 kB / 395.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.3859, allocations: 3.843 MB / 399 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.386, allocations: 0 / 399 MB, free: 1.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.386, allocations: 0 / 399 MB, free: 1.43 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.0005172/0.3865, allocations: 408 kB / 399.4 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3866, allocations: 8.031 kB / 399.4 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3866, allocations: 7.906 kB / 399.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.3869, allocations: 199.7 kB / 399.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.387, allocations: 7.938 kB / 399.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.387, allocations: 0 / 399.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.028e-05/0.3871, allocations: 11.98 kB / 399.6 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.3872, allocations: 45.69 kB / 399.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3872, allocations: 3.938 kB / 399.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-06/0.3873, allocations: 0 / 399.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-06/0.3873, allocations: 0 / 399.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.3877, allocations: 281.3 kB / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3879, allocations: 34.58 kB / 400 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.388, allocations: 16.94 kB / 400 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.388, allocations: 0 / 400 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3882, allocations: 63.34 kB / 400.1 MB, free: 212 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.273e-06/0.3882, allocations: 0 / 400.1 MB, free: 212 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004441/0.3886, allocations: 105.4 kB / 400.2 MB, free: 100 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3887, allocations: 51.41 kB / 400.2 MB, free: 36 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3889, allocations: 148.1 kB / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3889, allocations: 25.7 kB / 400.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.3891, allocations: 162.5 kB / 400.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.3891, allocations: 11.81 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-06/0.3891, allocations: 4 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3893, allocations: 310.8 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.3894, allocations: 31.92 kB / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.3894, allocations: 23.94 kB / 400.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.453e-05/0.3895, allocations: 19.98 kB / 400.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-06/0.3895, allocations: 4 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002283/0.3898, allocations: 81.69 kB / 401 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.3898, allocations: 36.05 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-06/0.3898, allocations: 0 / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3899, allocations: 0 / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.3899, allocations: 15.92 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.083e-06/0.39, allocations: 0 / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.39, allocations: 8 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3901, allocations: 7.953 kB / 401.1 MB, free: 15.13 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.442e-05/0.3902, allocations: 105.1 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3902, allocations: 11.89 kB / 401.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3905, allocations: 86.06 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-06/0.3905, allocations: 3.938 kB / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.611e-06/0.3905, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3905, allocations: 0 / 401.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.391, allocations: 331 kB / 401.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-06/0.391, allocations: 0 / 401.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.3911, allocations: 7.984 kB / 401.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.561e-06/0.3911, allocations: 4 kB / 401.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3911, allocations: 0 / 401.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3911, allocations: 0 / 401.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.543e-06/0.3911, allocations: 0 / 401.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3914, allocations: 183.2 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.3915, allocations: 89.25 kB / 401.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.3915, allocations: 96 / 401.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.3916, allocations: 7.938 kB / 401.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3917, allocations: 7.984 kB / 401.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3917, allocations: 0 / 401.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3918, allocations: 125.1 kB / 402 MB, free: 14.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.3918, allocations: 0 / 402 MB, free: 14.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.3922, allocations: 32 kB / 402.1 MB, free: 14.07 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.0009516/0.3932, allocations: 303.1 kB / 402.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.3934, allocations: 119.2 kB / 402.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-06/0.3935, allocations: 0 / 402.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.3935, allocations: 20 kB / 402.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3938, allocations: 13.53 kB / 402.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.3942, allocations: 147.8 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3946, allocations: 0.7002 MB / 403.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.3947, allocations: 19.42 kB / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.455e-06/0.3947, allocations: 0 / 403.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of Templates: time 0.004183/0.3989, allocations: 1.658 MB / 405 MB, free: 11.09 MB / 346.7 MB