Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007221/0.0007226, allocations: 16 kB / 315 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3439, allocations: 54.85 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.4948, allocations: 82.36 MB / 452.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4951, allocations: 75.97 kB / 452.2 MB, free: 8.207 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02465/0.5198, allocations: 5.421 MB / 457.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5199, allocations: 0 / 457.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.5199, allocations: 7.938 kB / 457.7 MB, free: 2.766 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000733/0.5206, allocations: 475.1 kB / 458.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5207, allocations: 8.031 kB / 458.1 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.5208, allocations: 11.91 kB / 458.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5212, allocations: 198.9 kB / 458.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.5212, allocations: 8 kB / 458.4 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.5213, allocations: 4 kB / 458.4 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.5215, allocations: 91.31 kB / 458.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5216, allocations: 0 / 458.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.5216, allocations: 0 / 458.4 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.5216, allocations: 3.984 kB / 458.4 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.5218, allocations: 35.92 kB / 458.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.5224, allocations: 316.8 kB / 458.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.5227, allocations: 74.67 kB / 458.9 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.5228, allocations: 4 kB / 458.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.523, allocations: 79.22 kB / 458.9 MB, free: 1.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.026e-06/0.523, allocations: 0 / 458.9 MB, free: 1.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009521/0.524, allocations: 209.2 kB / 459.2 MB, free: 1.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.5241, allocations: 85.11 kB / 459.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.5243, allocations: 156.8 kB / 459.4 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.5244, allocations: 29.8 kB / 459.4 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.5245, allocations: 162.5 kB / 459.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.5245, allocations: 35.61 kB / 459.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.5246, allocations: 0 / 459.6 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5247, allocations: 322.8 kB / 459.9 MB, free: 276 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5249, allocations: 35.98 kB / 460 MB, free: 240 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5251, allocations: 64.38 kB / 460 MB, free: 168 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.5253, allocations: 77.59 kB / 460.1 MB, free: 84 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5253, allocations: 7.938 kB / 460.1 MB, free: 76 kB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005113/0.5258, allocations: 171.4 kB / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/0.5259, allocations: 39.72 kB / 460.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5259, allocations: 0 / 460.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5259, allocations: 0 / 460.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.5261, allocations: 16 kB / 460.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5261, allocations: 8.047 kB / 460.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5263, allocations: 4 kB / 460.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.5263, allocations: 12 kB / 460.4 MB, free: 15.81 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001613/0.5265, allocations: 121.8 kB / 460.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.5265, allocations: 15.8 kB / 460.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.527, allocations: 142.3 kB / 460.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.527, allocations: 0 / 460.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5271, allocations: 8 kB / 460.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5271, allocations: 3.984 kB / 460.6 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.5279, allocations: 431.3 kB / 461.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5279, allocations: 3.938 kB / 461.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.528, allocations: 15.94 kB / 461.1 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5281, allocations: 3.984 kB / 461.1 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.5281, allocations: 7.984 kB / 461.1 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.5281, allocations: 0 / 461.1 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5281, allocations: 4.031 kB / 461.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.5286, allocations: 232.1 kB / 461.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5287, allocations: 97 kB / 461.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.5288, allocations: 4 kB / 461.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.5289, allocations: 4 kB / 461.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.529, allocations: 12.11 kB / 461.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.529, allocations: 8 kB / 461.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.5292, allocations: 126.4 kB / 461.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5292, allocations: 4 kB / 461.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.5297, allocations: 55.86 kB / 461.6 MB, free: 14.43 MB / 394.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001665/0.5314, allocations: 0.543 MB / 462.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.532, allocations: 167.3 kB / 462.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.532, allocations: 0 / 462.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.5322, allocations: 47.98 kB / 462.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.5325, allocations: 23.94 kB / 462.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.5332, allocations: 259.7 kB / 462.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5336, allocations: 0.7043 MB / 463.4 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.5337, allocations: 15.44 kB / 463.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of SimCode: time 3.897e-06/0.5338, allocations: 0 / 463.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of Templates: time 0.006747/0.5405, allocations: 2.246 MB / 465.6 MB, free: 10.43 MB / 394.7 MB