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.Test42.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.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.146e-05, allocations: 8 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4228, allocations: 81.38 MB / 439.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4231, allocations: 79.88 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.01988/0.443, allocations: 4.583 MB / 444.1 MB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.4431, allocations: 4 kB / 444.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4431, allocations: 0 / 444.1 MB, free: 8.773 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.0006114/0.4437, allocations: 458.2 kB / 444.5 MB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4438, allocations: 12.03 kB / 444.6 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4438, allocations: 7.906 kB / 444.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.4442, allocations: 214.8 kB / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4442, allocations: 0 / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4443, allocations: 8 kB / 444.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.369e-05/0.4444, allocations: 27.92 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4445, allocations: 45.69 kB / 444.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4445, allocations: 7.938 kB / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4445, allocations: 0 / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-06/0.4446, allocations: 0 / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.4451, allocations: 289.4 kB / 445.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.4452, allocations: 58.62 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.4453, allocations: 16.98 kB / 445.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4453, allocations: 0 / 445.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.4455, allocations: 75.33 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.612e-06/0.4455, allocations: 0 / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005986/0.4461, allocations: 157.2 kB / 445.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4462, allocations: 59.41 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.4464, allocations: 170.5 kB / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4465, allocations: 25.7 kB / 445.7 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4466, allocations: 166.6 kB / 445.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.4467, allocations: 23.64 kB / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-06/0.4467, allocations: 0 / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4469, allocations: 319.5 kB / 446.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.6e-05/0.447, allocations: 28 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.4471, allocations: 53.7 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4472, allocations: 39.92 kB / 446.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-06/0.4472, allocations: 4 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003215/0.4476, allocations: 117.6 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.4476, allocations: 41.69 kB / 446.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.4477, allocations: 3.953 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4477, allocations: 4 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4478, allocations: 19.92 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.455e-06/0.4478, allocations: 32 / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.4479, allocations: 8 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.448, allocations: 8 kB / 446.5 MB, free: 6.121 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.0001074/0.4481, allocations: 108.9 kB / 446.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.4481, allocations: 7.906 kB / 446.6 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.4485, allocations: 115.4 kB / 446.7 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-06/0.4485, allocations: 3.953 kB / 446.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-06/0.4485, allocations: 192 / 446.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.066e-06/0.4485, allocations: 0 / 446.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/0.4491, allocations: 395.7 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-06/0.4491, allocations: 0 / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.4492, allocations: 11.98 kB / 447.1 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-06/0.4492, allocations: 3.953 kB / 447.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4492, allocations: 4 kB / 447.1 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-06/0.4493, allocations: 0 / 447.1 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.8e-06/0.4493, allocations: 0 / 447.1 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4496, allocations: 218 kB / 447.4 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4497, allocations: 100.9 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.4497, allocations: 7.984 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4499, allocations: 4 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4499, allocations: 3.984 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.45, allocations: 4 kB / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.4501, allocations: 144 kB / 447.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4502, allocations: 0 / 447.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.4506, allocations: 39.94 kB / 447.7 MB, free: 4.863 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.00187/0.4525, allocations: 379.4 kB / 448 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.4531, allocations: 163.3 kB / 448.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.798e-06/0.4531, allocations: 0 / 448.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4533, allocations: 24 kB / 448.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.4539, allocations: 16.59 kB / 448.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.4547, allocations: 200.3 kB / 448.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.4553, allocations: 0.7198 MB / 449.1 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.4554, allocations: 19.42 kB / 449.2 MB, free: 3.348 MB / 378.7 MB Notification: Performance of SimCode: time 2.146e-06/0.4554, allocations: 0 / 449.2 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Templates: time 0.007225/0.4627, allocations: 1.958 MB / 451.1 MB, free: 1.387 MB / 378.7 MB