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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 20 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.396, allocations: 82.15 MB / 451.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3963, allocations: 71.95 kB / 451.5 MB, free: 8.379 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.01958/0.4159, allocations: 4.715 MB / 456.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.483e-06/0.4159, allocations: 0 / 456.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.416, allocations: 0 / 456.2 MB, free: 3.656 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.000628/0.4166, allocations: 486 kB / 456.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4167, allocations: 8.031 kB / 456.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.4167, allocations: 7.906 kB / 456.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.4171, allocations: 219.5 kB / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.4171, allocations: 4 kB / 456.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4171, allocations: 4 kB / 456.9 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.4173, allocations: 57.61 kB / 457 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4173, allocations: 0 / 457 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4174, allocations: 7.953 kB / 457 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-06/0.4174, allocations: 0 / 457 MB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4175, allocations: 23.98 kB / 457 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.418, allocations: 320.8 kB / 457.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4182, allocations: 70.55 kB / 457.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4183, allocations: 3.984 kB / 457.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.4185, allocations: 68.19 kB / 457.5 MB, free: 2.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.428e-06/0.4185, allocations: 4 kB / 457.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00074/0.4192, allocations: 185.2 kB / 457.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4193, allocations: 59.39 kB / 457.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.4196, allocations: 185.5 kB / 457.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4196, allocations: 25.7 kB / 457.9 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4197, allocations: 170.5 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4198, allocations: 27.64 kB / 458.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-06/0.4198, allocations: 3.938 kB / 458.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.42, allocations: 322.8 kB / 458.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4201, allocations: 35.98 kB / 458.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4202, allocations: 57.62 kB / 458.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4204, allocations: 73.69 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-06/0.4204, allocations: 0 / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000401/0.4208, allocations: 171.3 kB / 458.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.4209, allocations: 41.64 kB / 458.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.576e-06/0.4209, allocations: 4.031 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.421, allocations: 4 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4211, allocations: 12 kB / 458.8 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4211, allocations: 3.984 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.4212, allocations: 8 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4212, allocations: 4 kB / 458.8 MB, free: 0.7773 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.0001419/0.4214, allocations: 133.8 kB / 459 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4214, allocations: 11.81 kB / 459 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.4218, allocations: 131 kB / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-06/0.4218, allocations: 0 / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.139e-06/0.4218, allocations: 384 / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4218, allocations: 0 / 459.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.4225, allocations: 423.2 kB / 459.5 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-06/0.4225, allocations: 4 kB / 459.5 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4227, allocations: 15.97 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.104e-06/0.4227, allocations: 7.969 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4227, allocations: 8 kB / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.476e-06/0.4227, allocations: 0 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-06/0.4227, allocations: 0 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.4231, allocations: 229.8 kB / 459.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4232, allocations: 97 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.4233, allocations: 8.281 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4234, allocations: 4 kB / 459.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.4234, allocations: 7.984 kB / 459.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.4235, allocations: 7.938 kB / 459.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4237, allocations: 151.2 kB / 460 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4237, allocations: 0 / 460 MB, free: 15.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.4241, allocations: 43.92 kB / 460.1 MB, free: 15.39 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.00152/0.4256, allocations: 456.6 kB / 460.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.426, allocations: 171.3 kB / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.426, allocations: 0 / 460.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4262, allocations: 35.92 kB / 460.7 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4265, allocations: 35.78 kB / 460.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4272, allocations: 292.4 kB / 461 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4276, allocations: 0.7121 MB / 461.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.4276, allocations: 19.42 kB / 461.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.309e-06/0.4276, allocations: 0 / 461.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Templates: time 0.004758/0.4324, allocations: 2.013 MB / 463.8 MB, free: 11.69 MB / 394.7 MB