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.Test49.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.184/2.184, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.262e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4051, allocations: 81.4 MB / 439.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4054, allocations: 67.97 kB / 439.5 MB, free: 13.35 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.0198/0.4252, allocations: 4.834 MB / 444.4 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.128e-06/0.4252, allocations: 4 kB / 444.4 MB, free: 8.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.4253, allocations: 4 kB / 444.4 MB, free: 8.496 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.0006431/0.4259, allocations: 469.5 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.426, allocations: 12.03 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.426, allocations: 11.81 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.4265, allocations: 226.7 kB / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4265, allocations: 0 / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.4265, allocations: 4 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.838e-05/0.4266, allocations: 20 kB / 445.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.4268, allocations: 53.67 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4268, allocations: 3.953 kB / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4268, allocations: 3.984 kB / 445.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-06/0.4268, allocations: 0 / 445.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.4273, allocations: 309.3 kB / 445.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.4275, allocations: 54.69 kB / 445.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.4275, allocations: 16.98 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4276, allocations: 4 kB / 445.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.4277, allocations: 71.34 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.64e-06/0.4278, allocations: 0 / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.4283, allocations: 161.1 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4284, allocations: 51.41 kB / 445.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.4287, allocations: 227 kB / 446 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4288, allocations: 25.7 kB / 446 MB, free: 6.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4289, allocations: 174.5 kB / 446.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.429, allocations: 23.66 kB / 446.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.429, allocations: 4 kB / 446.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4291, allocations: 319.5 kB / 446.6 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.4292, allocations: 28 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4294, allocations: 49.7 kB / 446.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4295, allocations: 43.92 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-06/0.4295, allocations: 0 / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003271/0.4298, allocations: 125.7 kB / 446.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.4299, allocations: 38.78 kB / 446.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-06/0.4299, allocations: 3.953 kB / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4299, allocations: 0 / 446.8 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4301, allocations: 19.94 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-06/0.4301, allocations: 0 / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.4302, allocations: 8.031 kB / 446.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.4303, allocations: 11.98 kB / 446.9 MB, free: 5.75 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.000101/0.4304, allocations: 108.9 kB / 447 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.4304, allocations: 15.91 kB / 447 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.4307, allocations: 119.4 kB / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-06/0.4308, allocations: 3.953 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-06/0.4308, allocations: 0 / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-06/0.4308, allocations: 0 / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/0.4314, allocations: 407.8 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-06/0.4314, allocations: 0 / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.4315, allocations: 8 kB / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.111e-06/0.4315, allocations: 3.953 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4316, allocations: 8 kB / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4316, allocations: 160 / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4316, allocations: 0 / 447.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.4319, allocations: 218 kB / 447.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.432, allocations: 112.8 kB / 447.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.4321, allocations: 0 / 447.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4322, allocations: 8 kB / 447.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4323, allocations: 7.984 kB / 447.9 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4323, allocations: 4 kB / 447.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.4325, allocations: 183 kB / 448.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4326, allocations: 11.94 kB / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.433, allocations: 35.94 kB / 448.1 MB, free: 4.418 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.00126/0.4343, allocations: 381.1 kB / 448.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.4346, allocations: 151.3 kB / 448.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.216e-06/0.4346, allocations: 4.062 kB / 448.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.4347, allocations: 35.97 kB / 448.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4351, allocations: 19.7 kB / 448.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.4357, allocations: 244.3 kB / 448.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.4361, allocations: 0.7274 MB / 449.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.4362, allocations: 27.42 kB / 449.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.668e-06/0.4362, allocations: 0 / 449.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of Templates: time 0.005117/0.4413, allocations: 2.129 MB / 451.8 MB, free: 0.6953 MB / 378.7 MB