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.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 224.9 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.000447, allocations: 12 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08936, allocations: 48.7 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.4153, allocations: 76.1 MB / 407.4 MB, free: 8.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4156, allocations: 71.97 kB / 407.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.4353, allocations: 4.93 MB / 412.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.001e-06/0.4353, allocations: 0 / 412.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4353, allocations: 7.938 kB / 412.4 MB, free: 3.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005912/0.4359, allocations: 420.8 kB / 412.8 MB, free: 3.484 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.436, allocations: 11.97 kB / 412.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.436, allocations: 4 kB / 412.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4364, allocations: 204.7 kB / 413 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4364, allocations: 12 kB / 413 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4364, allocations: 4 kB / 413 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4366, allocations: 63.39 kB / 413.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4366, allocations: 0 / 413.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4366, allocations: 4 kB / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-06/0.4367, allocations: 0 / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.4368, allocations: 27.97 kB / 413.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.4373, allocations: 304.7 kB / 413.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.4374, allocations: 50.56 kB / 413.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4374, allocations: 4 kB / 413.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.4376, allocations: 59.48 kB / 413.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.281e-06/0.4376, allocations: 0 / 413.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005624/0.4382, allocations: 149.3 kB / 413.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.4383, allocations: 85.11 kB / 413.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.4385, allocations: 144.3 kB / 413.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4385, allocations: 33.7 kB / 413.9 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.4386, allocations: 154.6 kB / 414.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.4387, allocations: 11.81 kB / 414.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-06/0.4387, allocations: 7.938 kB / 414.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4389, allocations: 314.8 kB / 414.4 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.439, allocations: 31.92 kB / 414.4 MB, free: 1.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.4391, allocations: 45.7 kB / 414.5 MB, free: 1.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4392, allocations: 53.7 kB / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-06/0.4392, allocations: 0 / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002848/0.4395, allocations: 135.3 kB / 414.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.4396, allocations: 33.7 kB / 414.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4396, allocations: 3.984 kB / 414.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4396, allocations: 0 / 414.7 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.4397, allocations: 8 kB / 414.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.049e-06/0.4397, allocations: 7.891 kB / 414.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.4398, allocations: 7.906 kB / 414.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4398, allocations: 8.031 kB / 414.7 MB, free: 1.34 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 (8): * Single equations (assignments): 7 * 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.0001645/0.44, allocations: 121.8 kB / 414.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4401, allocations: 0 / 414.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.4404, allocations: 118.2 kB / 415 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4404, allocations: 4 kB / 415 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4405, allocations: 0 / 415 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4405, allocations: 3.953 kB / 415 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.4411, allocations: 378.5 kB / 415.4 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.4411, allocations: 0 / 415.4 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.4412, allocations: 11.94 kB / 415.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.892e-06/0.4412, allocations: 0 / 415.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4412, allocations: 4.438 kB / 415.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.118e-06/0.4412, allocations: 3.953 kB / 415.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-06/0.4413, allocations: 96 / 415.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.4415, allocations: 195.7 kB / 415.6 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.4416, allocations: 97 kB / 415.7 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.4417, allocations: 4 kB / 415.7 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4418, allocations: 0 / 415.7 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.4419, allocations: 19.92 kB / 415.7 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4419, allocations: 4 kB / 415.7 MB, free: 300 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.442, allocations: 111.2 kB / 415.8 MB, free: 188 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4421, allocations: 0 / 415.8 MB, free: 188 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.4425, allocations: 51.94 kB / 415.9 MB, free: 136 kB / 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 (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.00146/0.444, allocations: 456.3 kB / 416.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4443, allocations: 123.4 kB / 416.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4443, allocations: 0 / 416.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.4444, allocations: 31.92 kB / 416.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.4447, allocations: 15.98 kB / 416.5 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.4452, allocations: 215.3 kB / 416.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4456, allocations: 0.6965 MB / 417.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.4457, allocations: 23.42 kB / 417.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.906e-06/0.4457, allocations: 0 / 417.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of Templates: time 0.004965/0.4507, allocations: 2.029 MB / 419.4 MB, free: 12.57 MB / 346.7 MB