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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.118/2.118, allocations: 209.4 MB / 217.3 MB, free: 4.141 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.524e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2637, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3785, allocations: 75.11 MB / 395.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.3788, allocations: 67.97 kB / 395.2 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.3954, allocations: 4.047 MB / 399.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3955, allocations: 0 / 399.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3955, allocations: 4 kB / 399.2 MB, free: 1.234 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.0005245/0.396, allocations: 415.2 kB / 399.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3961, allocations: 8.031 kB / 399.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3961, allocations: 11.91 kB / 399.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3965, allocations: 211.3 kB / 399.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3965, allocations: 0 / 399.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3965, allocations: 4 kB / 399.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.863e-05/0.3966, allocations: 11.98 kB / 399.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3967, allocations: 41.69 kB / 399.9 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3967, allocations: 3.938 kB / 399.9 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3968, allocations: 3.984 kB / 399.9 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-06/0.3968, allocations: 0 / 399.9 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.3972, allocations: 277.4 kB / 400.2 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3974, allocations: 42.52 kB / 400.2 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.3975, allocations: 12.94 kB / 400.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3975, allocations: 0 / 400.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.3977, allocations: 55.41 kB / 400.3 MB, free: 0 / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.382e-06/0.3977, allocations: 4.047 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004284/0.3981, allocations: 109.2 kB / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3982, allocations: 55.41 kB / 400.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3984, allocations: 166.8 kB / 400.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3985, allocations: 29.7 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.3986, allocations: 158.6 kB / 400.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3986, allocations: 15.8 kB / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-06/0.3986, allocations: 0 / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3988, allocations: 318.8 kB / 401.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.3989, allocations: 24 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.3989, allocations: 16 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.399, allocations: 23.98 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-06/0.399, allocations: 0 / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002359/0.3993, allocations: 93.61 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.3994, allocations: 34.48 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.152e-06/0.3994, allocations: 4.094 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3994, allocations: 3.938 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.3995, allocations: 12.06 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.764e-06/0.3995, allocations: 3.984 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.123e-05/0.3996, allocations: 7.938 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3996, allocations: 4 kB / 401.4 MB, free: 14.88 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 0.0001006/0.3997, allocations: 108.9 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3997, allocations: 11.84 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4, allocations: 82.08 kB / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-06/0.4, allocations: 0 / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4, allocations: 0 / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-06/0.4, allocations: 0 / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.4005, allocations: 343.1 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-06/0.4005, allocations: 7.875 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.4006, allocations: 4 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4006, allocations: 4 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.465e-06/0.4006, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.43e-06/0.4006, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4006, allocations: 0 / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4009, allocations: 183.3 kB / 402.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.401, allocations: 85.02 kB / 402.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.401, allocations: 4 kB / 402.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.4011, allocations: 0 / 402.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4012, allocations: 7.984 kB / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4012, allocations: 192 / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4014, allocations: 135.2 kB / 402.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4014, allocations: 0 / 402.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.4017, allocations: 35.94 kB / 402.4 MB, free: 13.8 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.0009281/0.4027, allocations: 313.2 kB / 402.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.4029, allocations: 107.4 kB / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.042e-06/0.403, allocations: 0 / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.193e-05/0.403, allocations: 19.94 kB / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.4033, allocations: 27.69 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.4037, allocations: 166.3 kB / 403 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4042, allocations: 0.708 MB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.4042, allocations: 11.44 kB / 403.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.446e-06/0.4042, allocations: 3.938 kB / 403.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of Templates: time 0.004262/0.4085, allocations: 1.737 MB / 405.4 MB, free: 10.71 MB / 346.7 MB