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.Test10.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.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 1.903/1.903, allocations: 209.2 MB / 225.4 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 12 kB / 283.1 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3544, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4897, allocations: 76.62 MB / 408.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.49, allocations: 71.97 kB / 408.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.5046, allocations: 3.224 MB / 411.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.621e-06/0.5047, allocations: 0 / 411.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5047, allocations: 7.938 kB / 411.7 MB, free: 14.52 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.0007081/0.5054, allocations: 482.3 kB / 412.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5055, allocations: 8.031 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.5056, allocations: 11.89 kB / 412.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5059, allocations: 210.7 kB / 412.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.506, allocations: 8 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.506, allocations: 4 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5063, allocations: 77.66 kB / 412.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5063, allocations: 0 / 412.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5063, allocations: 0 / 412.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5063, allocations: 0 / 412.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.5066, allocations: 51.91 kB / 412.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.5073, allocations: 348.6 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5077, allocations: 70.67 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5077, allocations: 4 kB / 413 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.508, allocations: 83.31 kB / 413.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.508, allocations: 0 / 413.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.5085, allocations: 121.5 kB / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.5086, allocations: 55.36 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.5088, allocations: 173.3 kB / 413.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5088, allocations: 33.7 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.5089, allocations: 162.6 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.509, allocations: 27.64 kB / 413.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.509, allocations: 4.047 kB / 413.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5091, allocations: 318.8 kB / 413.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.5093, allocations: 31.98 kB / 414 MB, free: 12.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.5095, allocations: 53.69 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.5097, allocations: 67.38 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5097, allocations: 96 / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004418/0.5101, allocations: 159.1 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.5102, allocations: 30.33 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5102, allocations: 4.031 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5102, allocations: 4 kB / 414.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.5104, allocations: 19.98 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5104, allocations: 0 / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.5106, allocations: 11.95 kB / 414.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.5106, allocations: 4 kB / 414.3 MB, free: 11.69 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.0001415/0.5108, allocations: 125.8 kB / 414.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.5108, allocations: 11.81 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.5112, allocations: 118.7 kB / 414.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5112, allocations: 3.938 kB / 414.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5112, allocations: 0 / 414.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5113, allocations: 4 kB / 414.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.5115, allocations: 209.5 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5115, allocations: 0 / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5117, allocations: 12 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5117, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.5117, allocations: 4 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5117, allocations: 3.938 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.5117, allocations: 7.969 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.5123, allocations: 164.9 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.5123, allocations: 92.94 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.5124, allocations: 4.062 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.5125, allocations: 8 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.5126, allocations: 7.984 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5126, allocations: 4 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.5127, allocations: 119.2 kB / 415.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5128, allocations: 0 / 415.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.5131, allocations: 39.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.0009528/0.5141, allocations: 333.8 kB / 415.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.5146, allocations: 135.4 kB / 415.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5146, allocations: 0 / 415.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.5147, allocations: 31.92 kB / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.5151, allocations: 27.88 kB / 415.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.5158, allocations: 287.4 kB / 416 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5161, allocations: 0.716 MB / 416.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.5162, allocations: 15.44 kB / 416.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of SimCode: time 9.21e-07/0.5162, allocations: 0 / 416.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of Templates: time 0.00563/0.5219, allocations: 1.872 MB / 418.6 MB, free: 7.262 MB / 346.7 MB