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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 12 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2951, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4201, allocations: 82.11 MB / 451.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4204, allocations: 75.95 kB / 451.5 MB, free: 8.402 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.01902/0.4394, allocations: 4.489 MB / 456 MB, free: 3.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.477e-06/0.4394, allocations: 4 kB / 456 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.4395, allocations: 4 kB / 456 MB, free: 3.898 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.0006321/0.4401, allocations: 470.2 kB / 456.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4402, allocations: 8.031 kB / 456.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.4402, allocations: 15.75 kB / 456.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.4406, allocations: 210.9 kB / 456.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4406, allocations: 0 / 456.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.4407, allocations: 8 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4408, allocations: 57.67 kB / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4409, allocations: 0 / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4409, allocations: 3.953 kB / 456.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-06/0.4409, allocations: 0 / 456.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.441, allocations: 23.98 kB / 456.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.4415, allocations: 308.8 kB / 457 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.4418, allocations: 62.67 kB / 457.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4418, allocations: 0 / 457.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.442, allocations: 76.12 kB / 457.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.498e-06/0.442, allocations: 3.938 kB / 457.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007259/0.4428, allocations: 189.1 kB / 457.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.4428, allocations: 55.41 kB / 457.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4431, allocations: 169.3 kB / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.4431, allocations: 29.7 kB / 457.6 MB, free: 2.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4432, allocations: 162.5 kB / 457.8 MB, free: 1.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.4433, allocations: 23.66 kB / 457.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.4433, allocations: 8 kB / 457.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4435, allocations: 314.8 kB / 458.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4436, allocations: 43.92 kB / 458.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4438, allocations: 57.62 kB / 458.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.4439, allocations: 73.69 kB / 458.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-06/0.444, allocations: 0 / 458.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004104/0.4444, allocations: 175.3 kB / 458.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.4444, allocations: 41.64 kB / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.365e-06/0.4445, allocations: 0 / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4445, allocations: 4 kB / 458.5 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4446, allocations: 12 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.636e-06/0.4446, allocations: 4.031 kB / 458.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.4447, allocations: 7.984 kB / 458.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4448, allocations: 12.38 kB / 458.5 MB, free: 1.074 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.0001384/0.4449, allocations: 121.8 kB / 458.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.445, allocations: 15.8 kB / 458.7 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.4453, allocations: 126.3 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.4453, allocations: 3.984 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-06/0.4454, allocations: 4 kB / 458.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.641e-06/0.4454, allocations: 4 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.4461, allocations: 415.3 kB / 459.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-06/0.4461, allocations: 0 / 459.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.766e-05/0.4462, allocations: 8 kB / 459.2 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.179e-06/0.4462, allocations: 0 / 459.2 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.4462, allocations: 8 kB / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.046e-06/0.4462, allocations: 0 / 459.2 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4462, allocations: 3.938 kB / 459.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.4466, allocations: 225.9 kB / 459.4 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4468, allocations: 100.9 kB / 459.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.4468, allocations: 4 kB / 459.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.447, allocations: 4 kB / 459.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.447, allocations: 12.27 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.447, allocations: 4 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4472, allocations: 139.2 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4472, allocations: 3.938 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.4476, allocations: 39.94 kB / 459.7 MB, free: 15.73 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.001519/0.4492, allocations: 456.5 kB / 460.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.4496, allocations: 175.3 kB / 460.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.754e-06/0.4496, allocations: 4 kB / 460.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4497, allocations: 31.98 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.45, allocations: 19.94 kB / 460.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.4507, allocations: 283.7 kB / 460.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4511, allocations: 0.7082 MB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.4511, allocations: 15.44 kB / 461.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.755e-06/0.4511, allocations: 0 / 461.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of Templates: time 0.004724/0.4559, allocations: 1.935 MB / 463.4 MB, free: 12.13 MB / 394.7 MB