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.Test9.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 12 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08682, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4082, allocations: 75.82 MB / 407.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4085, allocations: 67.97 kB / 407.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.4253, allocations: 4.06 MB / 411.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.482e-06/0.4253, allocations: 0 / 411.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4254, allocations: 3.938 kB / 411.2 MB, free: 5.246 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.0005946/0.426, allocations: 440.5 kB / 411.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.426, allocations: 8.031 kB / 411.7 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.4261, allocations: 11.91 kB / 411.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.4264, allocations: 194.9 kB / 411.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4264, allocations: 4 kB / 411.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.4264, allocations: 8 kB / 411.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4266, allocations: 45.67 kB / 411.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4266, allocations: 0 / 411.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4266, allocations: 4 kB / 411.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-06/0.4266, allocations: 0 / 411.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.4267, allocations: 15.92 kB / 412 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.4272, allocations: 300.8 kB / 412.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.4274, allocations: 46.56 kB / 412.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4275, allocations: 0 / 412.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.4276, allocations: 67.42 kB / 412.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.321e-06/0.4276, allocations: 0 / 412.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004625/0.4281, allocations: 117.2 kB / 412.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.4282, allocations: 55.36 kB / 412.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.4284, allocations: 177.4 kB / 412.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4285, allocations: 33.7 kB / 412.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4286, allocations: 162.6 kB / 412.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.4286, allocations: 23.72 kB / 412.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-06/0.4287, allocations: 0 / 412.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4288, allocations: 314.8 kB / 413.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.4289, allocations: 27.92 kB / 413.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.429, allocations: 23.98 kB / 413.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.494e-05/0.4291, allocations: 49.7 kB / 413.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-06/0.4291, allocations: 0 / 413.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002664/0.4294, allocations: 139.3 kB / 413.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.4294, allocations: 29.7 kB / 413.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-06/0.4295, allocations: 0 / 413.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4295, allocations: 4 kB / 413.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.4296, allocations: 8 kB / 413.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.127e-06/0.4296, allocations: 3.984 kB / 413.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.4297, allocations: 3.953 kB / 413.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.4297, allocations: 4 kB / 413.5 MB, free: 2.734 MB / 330.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 () * Number of clocked 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 0.0001442/0.4298, allocations: 133.8 kB / 413.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.4299, allocations: 11.91 kB / 413.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.4301, allocations: 89.89 kB / 413.7 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.4302, allocations: 4 kB / 413.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4302, allocations: 0 / 413.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.4302, allocations: 288 / 413.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.4307, allocations: 362.5 kB / 414.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-06/0.4307, allocations: 0 / 414.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.4308, allocations: 4 kB / 414.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.349e-06/0.4308, allocations: 7.984 kB / 414.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4308, allocations: 8 kB / 414.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.585e-06/0.4308, allocations: 192 / 414.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.815e-06/0.4309, allocations: 7.953 kB / 414.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.4311, allocations: 171.4 kB / 414.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.4312, allocations: 93.02 kB / 414.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.4312, allocations: 0 / 414.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4314, allocations: 3.984 kB / 414.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.4314, allocations: 11.94 kB / 414.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4314, allocations: 7.953 kB / 414.4 MB, free: 1.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4316, allocations: 145 kB / 414.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4316, allocations: 0 / 414.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.4321, allocations: 39.92 kB / 414.6 MB, free: 1.555 MB / 330.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) * Number of clocked states: 0 () * 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.001178/0.4332, allocations: 370.5 kB / 414.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.4335, allocations: 111.4 kB / 415.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.127e-06/0.4335, allocations: 0 / 415.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.4336, allocations: 23.94 kB / 415.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.4339, allocations: 15.98 kB / 415.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.4345, allocations: 259.3 kB / 415.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.4349, allocations: 0.7082 MB / 416.1 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.435, allocations: 15.44 kB / 416.1 MB, free: 72 kB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.435, allocations: 0 / 416.1 MB, free: 72 kB / 330.7 MB Notification: Performance of Templates: time 0.004454/0.4395, allocations: 1.784 MB / 417.9 MB, free: 14.3 MB / 346.7 MB