Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006582, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3926, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5349, allocations: 76.62 MB / 408.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5353, allocations: 71.97 kB / 408.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.5496, allocations: 3.236 MB / 411.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5496, allocations: 0 / 411.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.5497, allocations: 0 / 411.7 MB, free: 14.5 MB / 346.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.0007165/0.5504, allocations: 490.2 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5505, allocations: 8.031 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.5505, allocations: 11.91 kB / 412.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.5509, allocations: 206.8 kB / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5509, allocations: 3.984 kB / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.5509, allocations: 8 kB / 412.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.5512, allocations: 65.67 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5512, allocations: 0 / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.5513, allocations: 8 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.5513, allocations: 7.984 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.5515, allocations: 43.91 kB / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.5522, allocations: 352.7 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.5526, allocations: 74.61 kB / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.5526, allocations: 0 / 413 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.5529, allocations: 75.38 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.5529, allocations: 4 kB / 413.1 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005261/0.5534, allocations: 121.5 kB / 413.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5535, allocations: 59.36 kB / 413.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.5537, allocations: 166.1 kB / 413.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5538, allocations: 25.81 kB / 413.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5539, allocations: 166.5 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.5539, allocations: 31.64 kB / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.554, allocations: 0 / 413.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5541, allocations: 322.8 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5543, allocations: 31.97 kB / 414 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.5544, allocations: 49.7 kB / 414 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5546, allocations: 67.38 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5546, allocations: 0 / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004339/0.5551, allocations: 159.2 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.5552, allocations: 33.7 kB / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5552, allocations: 0 / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5552, allocations: 0 / 414.3 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.5554, allocations: 19.98 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5554, allocations: 7.969 kB / 414.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.5555, allocations: 7.953 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.5555, allocations: 7.984 kB / 414.3 MB, free: 11.67 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 () * Number of clocked 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 0.0001467/0.5557, allocations: 125.8 kB / 414.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.5557, allocations: 11.81 kB / 414.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.5561, allocations: 114.4 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.5561, allocations: 7.984 kB / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.5562, allocations: 0 / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5562, allocations: 0 / 414.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.5565, allocations: 201.5 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5565, allocations: 3.938 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.5567, allocations: 19.98 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5567, allocations: 0 / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.5567, allocations: 4 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5567, allocations: 0 / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5567, allocations: 0 / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.5573, allocations: 168.9 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.5574, allocations: 88.95 kB / 415 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.5574, allocations: 8 kB / 415 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.5575, allocations: 4 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.5576, allocations: 15.98 kB / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.5576, allocations: 0 / 415.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.5578, allocations: 125.9 kB / 415.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5578, allocations: 0 / 415.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.5582, allocations: 35.92 kB / 415.2 MB, free: 10.66 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) * 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.001023/0.5592, allocations: 346 kB / 415.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004745/0.5597, allocations: 139.3 kB / 415.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5597, allocations: 4 kB / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5599, allocations: 39.91 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.5603, allocations: 23.94 kB / 415.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.5611, allocations: 287.5 kB / 416 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.5615, allocations: 0.7043 MB / 416.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.5616, allocations: 15.42 kB / 416.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of SimCode: time 3.477e-06/0.5616, allocations: 0 / 416.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of Templates: time 0.005991/0.5676, allocations: 1.877 MB / 418.6 MB, free: 7.234 MB / 346.7 MB