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.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.912e-05/4.937e-05, allocations: 8 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4003, allocations: 54.85 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.5261, allocations: 82.07 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5264, allocations: 69.97 kB / 446.7 MB, free: 14.34 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.02004/0.5464, allocations: 4.506 MB / 451.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.5465, allocations: 0 / 451.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5465, allocations: 0 / 451.2 MB, free: 9.863 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005959/0.5471, allocations: 461.5 kB / 451.6 MB, free: 9.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5472, allocations: 15.97 kB / 451.7 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.5472, allocations: 7.906 kB / 451.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.5476, allocations: 199.4 kB / 451.9 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.5476, allocations: 8 kB / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.5477, allocations: 11.92 kB / 451.9 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5478, allocations: 53.67 kB / 451.9 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5479, allocations: 4.562 kB / 451.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5479, allocations: 3.953 kB / 451.9 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-06/0.5479, allocations: 4 kB / 451.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.548, allocations: 19.98 kB / 452 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.5485, allocations: 300.9 kB / 452.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.5487, allocations: 58.62 kB / 452.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.5488, allocations: 22.02 kB / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.5488, allocations: 7.953 kB / 452.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.549, allocations: 67.42 kB / 452.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.63e-06/0.549, allocations: 0 / 452.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.5496, allocations: 166.1 kB / 452.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.5496, allocations: 55.41 kB / 452.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.5499, allocations: 152.9 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5499, allocations: 33.64 kB / 452.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.55, allocations: 166.5 kB / 453 MB, free: 7.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.5501, allocations: 27.72 kB / 453 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-06/0.5501, allocations: 0 / 453 MB, free: 7.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5503, allocations: 320.2 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5504, allocations: 32 kB / 453.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.5505, allocations: 59.47 kB / 453.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.5507, allocations: 73.69 kB / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-06/0.5507, allocations: 0 / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003731/0.5511, allocations: 175.2 kB / 453.6 MB, free: 7.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.5511, allocations: 35.58 kB / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.019e-06/0.5512, allocations: 0 / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5512, allocations: 0 / 453.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.5513, allocations: 15.98 kB / 453.7 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.851e-06/0.5513, allocations: 4 kB / 453.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.5514, allocations: 4 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.5515, allocations: 12.22 kB / 453.7 MB, free: 7.094 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 (11): * Single equations (assignments): 10 * 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.0001041/0.5516, allocations: 109 kB / 453.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.5516, allocations: 11.95 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.552, allocations: 122.1 kB / 453.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.647e-06/0.552, allocations: 11.98 kB / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-06/0.552, allocations: 0 / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-06/0.552, allocations: 0 / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.5527, allocations: 407.3 kB / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-06/0.5527, allocations: 0 / 454.4 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.5528, allocations: 11.94 kB / 454.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.481e-06/0.5528, allocations: 0 / 454.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.5528, allocations: 7.984 kB / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-06/0.5528, allocations: 0 / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-06/0.5528, allocations: 0 / 454.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.5532, allocations: 221.9 kB / 454.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5533, allocations: 97 kB / 454.7 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5533, allocations: 4 kB / 454.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5535, allocations: 7.938 kB / 454.7 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.5535, allocations: 7.984 kB / 454.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.5535, allocations: 4 kB / 454.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.5537, allocations: 126.5 kB / 454.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5537, allocations: 0 / 454.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.5541, allocations: 51.92 kB / 454.9 MB, free: 5.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001441/0.5556, allocations: 415.3 kB / 455.3 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.556, allocations: 163.3 kB / 455.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.556, allocations: 0 / 455.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.5561, allocations: 31.94 kB / 455.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.5564, allocations: 28.06 kB / 455.5 MB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.5569, allocations: 191.8 kB / 455.7 MB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.5573, allocations: 0.7004 MB / 456.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.5574, allocations: 19.38 kB / 456.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 1.634e-06/0.5574, allocations: 0 / 456.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of Templates: time 0.004692/0.5621, allocations: 1.892 MB / 458.3 MB, free: 2.391 MB / 378.7 MB