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.Test12.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.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.028/2.028, allocations: 209.4 MB / 217.3 MB, free: 4.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.105e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.444, allocations: 75.86 MB / 395.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4443, allocations: 67.95 kB / 395.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.4574, allocations: 3.202 MB / 399.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.4574, allocations: 0 / 399.2 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4574, allocations: 4 kB / 399.2 MB, free: 1.309 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006245/0.4581, allocations: 465 kB / 399.6 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4581, allocations: 12.03 kB / 399.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.4582, allocations: 11.91 kB / 399.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.4585, allocations: 200.3 kB / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4586, allocations: 0 / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.4586, allocations: 4 kB / 399.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/0.4587, allocations: 27.98 kB / 399.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4589, allocations: 65.56 kB / 399.9 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4589, allocations: 4 kB / 399.9 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4589, allocations: 3.984 kB / 399.9 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-06/0.459, allocations: 4 kB / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.4596, allocations: 333.2 kB / 400.3 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.4599, allocations: 66.7 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.46, allocations: 24.98 kB / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.46, allocations: 0 / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.4602, allocations: 67.39 kB / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.477e-06/0.4602, allocations: 0 / 400.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002685/0.4605, allocations: 81.48 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.4605, allocations: 51.41 kB / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4607, allocations: 145.3 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.4608, allocations: 29.69 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.4609, allocations: 170.4 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.4609, allocations: 19.75 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-06/0.4609, allocations: 0 / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4611, allocations: 322.8 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.4612, allocations: 24 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.4613, allocations: 37.7 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.4614, allocations: 36.03 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.741e-06/0.4614, allocations: 4 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002659/0.4617, allocations: 101.6 kB / 401.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.4617, allocations: 40.03 kB / 401.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4618, allocations: 0 / 401.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4618, allocations: 0 / 401.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4619, allocations: 20.17 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.771e-06/0.4619, allocations: 4 kB / 401.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.462, allocations: 19.81 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4621, allocations: 4 kB / 401.5 MB, free: 14.74 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 () * 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 9.994e-05/0.4622, allocations: 108.9 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4622, allocations: 7.906 kB / 401.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.4625, allocations: 98.12 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4625, allocations: 4 kB / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.31e-06/0.4625, allocations: 0 / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4625, allocations: 0 / 401.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.4627, allocations: 174.1 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-06/0.4628, allocations: 4 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4629, allocations: 11.98 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.007e-06/0.4629, allocations: 4 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4629, allocations: 0 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.21e-06/0.4629, allocations: 0 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.488e-06/0.4629, allocations: 0 / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.4633, allocations: 154.7 kB / 402.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.4634, allocations: 89.02 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.4634, allocations: 4.062 kB / 402.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.4635, allocations: 7.984 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.4636, allocations: 7.984 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.4636, allocations: 4 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.4637, allocations: 115.2 kB / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4637, allocations: 0 / 402.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000333/0.4641, allocations: 39.94 kB / 402.3 MB, free: 13.84 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) * 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.0008348/0.4649, allocations: 280 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.4652, allocations: 115.4 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4652, allocations: 0 / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.4653, allocations: 27.92 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4656, allocations: 24.83 kB / 402.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4661, allocations: 185.6 kB / 402.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4665, allocations: 0.7119 MB / 403.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.4666, allocations: 19.42 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.397e-06/0.4666, allocations: 0 / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.004595/0.4712, allocations: 1.859 MB / 405.5 MB, free: 10.61 MB / 346.7 MB