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.Test29.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.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.886e-05, allocations: 11.98 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2769, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4019, allocations: 81.4 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4022, allocations: 67.91 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.01915/0.4213, allocations: 4.524 MB / 444 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.4214, allocations: 4 kB / 444 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.4214, allocations: 4 kB / 444 MB, free: 8.828 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.0006043/0.422, allocations: 454.2 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4221, allocations: 8.031 kB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.4221, allocations: 11.91 kB / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.4225, allocations: 207.4 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4225, allocations: 0 / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.4226, allocations: 11.98 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.36e-05/0.4227, allocations: 16 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4228, allocations: 53.67 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4228, allocations: 3.953 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4229, allocations: 0 / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-06/0.4229, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4234, allocations: 289.3 kB / 445.1 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4235, allocations: 58.62 kB / 445.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.4236, allocations: 20.98 kB / 445.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4236, allocations: 0 / 445.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.4238, allocations: 71.33 kB / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.403e-06/0.4238, allocations: 0 / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.4244, allocations: 145.3 kB / 445.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4244, allocations: 55.39 kB / 445.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.4247, allocations: 166 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4247, allocations: 25.7 kB / 445.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4248, allocations: 166.5 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4249, allocations: 23.7 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.4249, allocations: 0 / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4251, allocations: 315.5 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.4252, allocations: 32 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4253, allocations: 45.7 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4254, allocations: 47.92 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-06/0.4254, allocations: 0 / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003202/0.4258, allocations: 125.7 kB / 446.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.4258, allocations: 33.69 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4258, allocations: 7.953 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4259, allocations: 0 / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.426, allocations: 16.03 kB / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.426, allocations: 11.92 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.4261, allocations: 8.031 kB / 446.4 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.4262, allocations: 4 kB / 446.4 MB, free: 6.215 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.0001162/0.4263, allocations: 112.9 kB / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.4263, allocations: 15.8 kB / 446.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.4266, allocations: 106.2 kB / 446.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4267, allocations: 7.953 kB / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-06/0.4267, allocations: 0 / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4267, allocations: 0 / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.4273, allocations: 383.8 kB / 447 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-06/0.4273, allocations: 0 / 447 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.4274, allocations: 11.98 kB / 447.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.364e-06/0.4274, allocations: 7.953 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4274, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.687e-06/0.4274, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.082e-06/0.4275, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.4278, allocations: 217.9 kB / 447.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4279, allocations: 101 kB / 447.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.4279, allocations: 4.188 kB / 447.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4281, allocations: 11.98 kB / 447.4 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4281, allocations: 4 kB / 447.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4281, allocations: 0 / 447.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.4283, allocations: 139.3 kB / 447.5 MB, free: 5.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.4283, allocations: 4 kB / 447.5 MB, free: 5.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004486/0.4288, allocations: 32 kB / 447.6 MB, free: 4.973 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.00123/0.43, allocations: 383.3 kB / 447.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.4303, allocations: 151.3 kB / 448.1 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.082e-06/0.4304, allocations: 8.062 kB / 448.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.4305, allocations: 27.98 kB / 448.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4308, allocations: 24.73 kB / 448.1 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.4312, allocations: 180.2 kB / 448.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.4316, allocations: 0.7157 MB / 449 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.4317, allocations: 19.5 kB / 449.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of SimCode: time 1.464e-06/0.4317, allocations: 0 / 449.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of Templates: time 0.004703/0.4364, allocations: 1.918 MB / 451 MB, free: 1.543 MB / 378.7 MB