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.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.545e-05, allocations: 8 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3901, allocations: 81.22 MB / 439.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.3904, allocations: 75.95 kB / 439.3 MB, free: 13.53 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01818/0.4086, allocations: 4.672 MB / 444 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.92e-06/0.4086, allocations: 0 / 444 MB, free: 8.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4086, allocations: 4 kB / 444 MB, free: 8.848 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000561/0.4092, allocations: 461.4 kB / 444.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4092, allocations: 12.03 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.4093, allocations: 15.75 kB / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4097, allocations: 218.8 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.4097, allocations: 4 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.4098, allocations: 4 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.943e-05/0.4099, allocations: 12 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.41, allocations: 53.61 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.41, allocations: 3.953 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.41, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-06/0.41, allocations: 0 / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.4103, allocations: 182.2 kB / 445 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.4104, allocations: 46.62 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.4105, allocations: 20.8 kB / 445 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.4105, allocations: 4 kB / 445 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4107, allocations: 67.39 kB / 445.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.366e-06/0.4107, allocations: 0 / 445.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002443/0.4109, allocations: 77.59 kB / 445.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.411, allocations: 55.39 kB / 445.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.4113, allocations: 226.9 kB / 445.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.4114, allocations: 29.7 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4115, allocations: 170.6 kB / 445.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4115, allocations: 11.84 kB / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-06/0.4115, allocations: 0 / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4117, allocations: 322.8 kB / 446 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.4118, allocations: 27.94 kB / 446 MB, free: 6.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.4119, allocations: 41.66 kB / 446 MB, free: 6.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.412, allocations: 31.97 kB / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-06/0.412, allocations: 4 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002656/0.4123, allocations: 109.5 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.4123, allocations: 34.78 kB / 446.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.553e-06/0.4124, allocations: 4.125 kB / 446.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4124, allocations: 4 kB / 446.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.4125, allocations: 11.94 kB / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4125, allocations: 3.984 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.4126, allocations: 11.91 kB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.4126, allocations: 7.953 kB / 446.3 MB, free: 6.375 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 (8): * Single equations (assignments): 7 * 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 9.396e-05/0.4127, allocations: 113 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.4128, allocations: 7.906 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.413, allocations: 99.22 kB / 446.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.4131, allocations: 3.938 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.66e-06/0.4131, allocations: 3.984 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-06/0.4131, allocations: 0 / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.4133, allocations: 190 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-06/0.4133, allocations: 0 / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.4134, allocations: 7.984 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-06/0.4134, allocations: 4 kB / 446.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4134, allocations: 4 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.115e-06/0.4134, allocations: 0 / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-06/0.4134, allocations: 0 / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.4137, allocations: 117.5 kB / 446.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.4138, allocations: 100.9 kB / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4138, allocations: 4 kB / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.4139, allocations: 0 / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.414, allocations: 8 kB / 446.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.414, allocations: 7.984 kB / 446.9 MB, free: 5.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.4142, allocations: 183 kB / 447.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4142, allocations: 0 / 447.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.4146, allocations: 36 kB / 447.1 MB, free: 5.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00107/0.4156, allocations: 330.2 kB / 447.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.4159, allocations: 139.3 kB / 447.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.6e-06/0.4159, allocations: 4 kB / 447.6 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/0.416, allocations: 24.05 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4163, allocations: 22.45 kB / 447.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.4168, allocations: 227.5 kB / 447.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.4172, allocations: 0.7196 MB / 448.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.4172, allocations: 19.42 kB / 448.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.516e-06/0.4173, allocations: 0 / 448.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Templates: time 0.004513/0.4218, allocations: 1.92 MB / 450.5 MB, free: 2 MB / 378.7 MB