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.Test43.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.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004471, allocations: 12 kB / 314.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4115, allocations: 82.15 MB / 451.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4118, allocations: 79.91 kB / 451.5 MB, free: 8.355 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.01938/0.4312, allocations: 4.649 MB / 456.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.4312, allocations: 0 / 456.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4313, allocations: 8 kB / 456.2 MB, free: 3.691 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.0006585/0.432, allocations: 490 kB / 456.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.432, allocations: 8.031 kB / 456.7 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.4321, allocations: 11.91 kB / 456.7 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.4324, allocations: 198.9 kB / 456.9 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4325, allocations: 4 kB / 456.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4325, allocations: 4 kB / 456.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4327, allocations: 57.67 kB / 456.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4327, allocations: 0 / 456.9 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4328, allocations: 3.953 kB / 456.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-06/0.4328, allocations: 4 kB / 456.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.4329, allocations: 31.91 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.4334, allocations: 312.8 kB / 457.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4336, allocations: 62.67 kB / 457.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4337, allocations: 0 / 457.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.4339, allocations: 80.06 kB / 457.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.596e-06/0.4339, allocations: 0 / 457.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007216/0.4346, allocations: 189.2 kB / 457.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.4347, allocations: 51.41 kB / 457.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.435, allocations: 186.4 kB / 457.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.435, allocations: 29.7 kB / 457.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4351, allocations: 162.6 kB / 458 MB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.4352, allocations: 23.7 kB / 458 MB, free: 1.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.4352, allocations: 0 / 458 MB, free: 1.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4354, allocations: 322.8 kB / 458.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4355, allocations: 31.98 kB / 458.4 MB, free: 1.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4357, allocations: 57.64 kB / 458.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4359, allocations: 77.69 kB / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-06/0.4359, allocations: 0 / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004189/0.4363, allocations: 175.2 kB / 458.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.4364, allocations: 37.75 kB / 458.7 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-06/0.4364, allocations: 3.938 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4364, allocations: 0 / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4365, allocations: 19.98 kB / 458.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.145e-06/0.4366, allocations: 3.938 kB / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.4367, allocations: 12.03 kB / 458.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4367, allocations: 4 kB / 458.8 MB, free: 0.832 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 () * Number of clocked 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.0001488/0.4369, allocations: 129.8 kB / 458.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.4369, allocations: 11.91 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.4373, allocations: 123 kB / 459 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.4373, allocations: 0 / 459 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.341e-06/0.4374, allocations: 0 / 459 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.882e-06/0.4374, allocations: 3.984 kB / 459 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.4381, allocations: 423.2 kB / 459.4 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.009e-06/0.4381, allocations: 4 kB / 459.4 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.4382, allocations: 8 kB / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-06/0.4382, allocations: 0 / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4382, allocations: 4 kB / 459.5 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.804e-06/0.4382, allocations: 3.938 kB / 459.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-06/0.4382, allocations: 0 / 459.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4386, allocations: 229.9 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4387, allocations: 100.9 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.4388, allocations: 7.984 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.4389, allocations: 4 kB / 459.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.439, allocations: 7.984 kB / 459.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.439, allocations: 4 kB / 459.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.4392, allocations: 151.9 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4393, allocations: 0 / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000422/0.4397, allocations: 43.94 kB / 460 MB, free: 15.47 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 (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.001599/0.4413, allocations: 464 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.4417, allocations: 163.3 kB / 460.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-06/0.4418, allocations: 4.062 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4419, allocations: 31.98 kB / 460.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4422, allocations: 23.94 kB / 460.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.4429, allocations: 288.3 kB / 460.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4433, allocations: 0.7082 MB / 461.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.4434, allocations: 15.44 kB / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.578e-06/0.4434, allocations: 0 / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of Templates: time 0.004904/0.4483, allocations: 1.97 MB / 463.6 MB, free: 11.84 MB / 394.7 MB