Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.487e-05, allocations: 8 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 54.86 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4677, allocations: 81.89 MB / 446.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/0.4681, allocations: 71.97 kB / 446.5 MB, free: 14.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03008/0.4983, allocations: 4.407 MB / 450.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.73e-06/0.4983, allocations: 0 / 450.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.4983, allocations: 0 / 450.9 MB, free: 10.16 MB / 378.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.0007623/0.4991, allocations: 441.6 kB / 451.3 MB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4992, allocations: 8.031 kB / 451.4 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.4993, allocations: 11.91 kB / 451.4 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.4998, allocations: 210.9 kB / 451.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.4999, allocations: 0 / 451.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.4999, allocations: 4 kB / 451.6 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.5001, allocations: 46.53 kB / 451.6 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5002, allocations: 0 / 451.6 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5002, allocations: 3.953 kB / 451.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-06/0.5002, allocations: 0 / 451.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.5004, allocations: 20.73 kB / 451.6 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5008, allocations: 201.6 kB / 451.8 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.501, allocations: 54.56 kB / 451.9 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.5012, allocations: 16.86 kB / 451.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.5012, allocations: 4 kB / 451.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.5015, allocations: 68.05 kB / 452 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.671e-06/0.5015, allocations: 4 kB / 452 MB, free: 8.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004064/0.5019, allocations: 89.39 kB / 452.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.502, allocations: 51.41 kB / 452.1 MB, free: 8.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.5024, allocations: 169.3 kB / 452.3 MB, free: 8.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.5025, allocations: 25.7 kB / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.5026, allocations: 163.6 kB / 452.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.5027, allocations: 11.81 kB / 452.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.5027, allocations: 4 kB / 452.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.503, allocations: 318.8 kB / 452.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5032, allocations: 32.09 kB / 452.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.5034, allocations: 45.64 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.5036, allocations: 63.09 kB / 452.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/0.5036, allocations: 0 / 452.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005474/0.5042, allocations: 143.3 kB / 453.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.5043, allocations: 43.56 kB / 453.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5043, allocations: 0 / 453.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5044, allocations: 4.031 kB / 453.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.5045, allocations: 11.94 kB / 453.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.5046, allocations: 11.89 kB / 453.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.5048, allocations: 15.84 kB / 453.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.5048, allocations: 4 kB / 453.2 MB, free: 7.66 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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.000148/0.505, allocations: 114.8 kB / 453.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.5051, allocations: 7.906 kB / 453.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.5055, allocations: 93.7 kB / 453.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-06/0.5055, allocations: 4 kB / 453.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-06/0.5055, allocations: 0 / 453.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5056, allocations: 3.953 kB / 453.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.5059, allocations: 189.6 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-06/0.5059, allocations: 0 / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.506, allocations: 8 kB / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5061, allocations: 0 / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5061, allocations: 0 / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.16e-06/0.5061, allocations: 0 / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5061, allocations: 0 / 453.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.5065, allocations: 124.9 kB / 453.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.5067, allocations: 97 kB / 453.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.5068, allocations: 256 / 453.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5069, allocations: 8 kB / 453.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.507, allocations: 7.922 kB / 453.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.507, allocations: 4 kB / 453.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.5073, allocations: 139.2 kB / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.305e-06/0.5073, allocations: 4 kB / 454 MB, free: 6.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000601/0.508, allocations: 31.94 kB / 454 MB, free: 6.734 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001998/0.51, allocations: 367.4 kB / 454.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.5105, allocations: 147.3 kB / 454.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5105, allocations: 0 / 454.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.5106, allocations: 20 kB / 454.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.511, allocations: 15.98 kB / 454.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.5117, allocations: 171.4 kB / 454.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.5122, allocations: 0.702 MB / 455.4 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.5123, allocations: 19.38 kB / 455.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.5124, allocations: 0 / 455.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of Templates: time 0.006527/0.5189, allocations: 1.707 MB / 457.1 MB, free: 3.617 MB / 378.7 MB