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.Test36.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.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.138/2.138, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.453e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2711, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.3947, allocations: 81.38 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.395, allocations: 75.95 kB / 439.5 MB, free: 13.36 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.0194/0.4144, allocations: 4.724 MB / 444.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.4144, allocations: 0 / 444.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4145, allocations: 4 kB / 444.2 MB, free: 8.625 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.0005974/0.4151, allocations: 470.2 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4151, allocations: 11.97 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.4152, allocations: 11.91 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.4156, allocations: 218.7 kB / 444.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4156, allocations: 4 kB / 444.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4156, allocations: 7.984 kB / 444.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.133e-05/0.4157, allocations: 12 kB / 445 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.4159, allocations: 53.67 kB / 445 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4159, allocations: 7.953 kB / 445 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4159, allocations: 4 kB / 445 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-06/0.4159, allocations: 0 / 445 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4164, allocations: 289.4 kB / 445.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4165, allocations: 54.69 kB / 445.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.4166, allocations: 20.97 kB / 445.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.4166, allocations: 4 kB / 445.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.4168, allocations: 67.36 kB / 445.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.572e-06/0.4168, allocations: 0 / 445.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.4174, allocations: 165 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.4175, allocations: 51.41 kB / 445.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.4177, allocations: 190.6 kB / 445.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4178, allocations: 29.7 kB / 445.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.4179, allocations: 166.6 kB / 446 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.4179, allocations: 27.64 kB / 446.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.418, allocations: 4 kB / 446.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4181, allocations: 315.5 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.4182, allocations: 35.98 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.4183, allocations: 48.11 kB / 446.5 MB, free: 6.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4185, allocations: 35.92 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-06/0.4185, allocations: 4 kB / 446.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003201/0.4188, allocations: 125.6 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4189, allocations: 37.69 kB / 446.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4189, allocations: 3.953 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.419, allocations: 3.938 kB / 446.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4191, allocations: 23.92 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4191, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.4192, allocations: 4.094 kB / 446.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.4192, allocations: 11.94 kB / 446.7 MB, free: 5.934 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.000103/0.4193, allocations: 109 kB / 446.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.4194, allocations: 11.91 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4197, allocations: 115.3 kB / 446.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4197, allocations: 7.953 kB / 446.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-06/0.4197, allocations: 0 / 446.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-06/0.4197, allocations: 0 / 446.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.4203, allocations: 387.9 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-06/0.4204, allocations: 4.031 kB / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4204, allocations: 11.98 kB / 447.3 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.4205, allocations: 3.953 kB / 447.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4205, allocations: 4 kB / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-06/0.4205, allocations: 0 / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-06/0.4205, allocations: 0 / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.4208, allocations: 218 kB / 447.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.421, allocations: 104.9 kB / 447.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.421, allocations: 4 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4211, allocations: 3.984 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4212, allocations: 4 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4212, allocations: 4.188 kB / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4214, allocations: 160.3 kB / 447.8 MB, free: 4.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4214, allocations: 3.938 kB / 447.8 MB, free: 4.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.4218, allocations: 39.94 kB / 447.9 MB, free: 4.656 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.001244/0.4231, allocations: 390.9 kB / 448.2 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4234, allocations: 155.3 kB / 448.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.4234, allocations: 0 / 448.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.4235, allocations: 36.09 kB / 448.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.4238, allocations: 24.53 kB / 448.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.4244, allocations: 215.2 kB / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.4248, allocations: 0.7167 MB / 449.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.4249, allocations: 15.44 kB / 449.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of SimCode: time 1.527e-06/0.4249, allocations: 7.938 kB / 449.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of Templates: time 0.004896/0.4298, allocations: 2.019 MB / 451.4 MB, free: 1.074 MB / 378.7 MB