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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.405e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.3982, allocations: 81.35 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3985, allocations: 75.95 kB / 439.5 MB, free: 13.39 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.01883/0.4173, allocations: 4.375 MB / 443.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4174, allocations: 0 / 443.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4174, allocations: 0 / 443.9 MB, free: 9.004 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.000596/0.418, allocations: 466.1 kB / 444.3 MB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.418, allocations: 12.03 kB / 444.3 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.4181, allocations: 11.91 kB / 444.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.4185, allocations: 206.5 kB / 444.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4185, allocations: 3.984 kB / 444.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4185, allocations: 4 kB / 444.5 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.4187, allocations: 23.98 kB / 444.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.4188, allocations: 53.67 kB / 444.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4188, allocations: 7.953 kB / 444.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4188, allocations: 3.938 kB / 444.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-06/0.4189, allocations: 4 kB / 444.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.4193, allocations: 281.5 kB / 444.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4195, allocations: 50.69 kB / 445 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.4195, allocations: 16.98 kB / 445 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4196, allocations: 4 kB / 445 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.4197, allocations: 75.28 kB / 445 MB, free: 7.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.83e-06/0.4198, allocations: 0 / 445 MB, free: 7.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.4203, allocations: 145.2 kB / 445.2 MB, free: 7.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4204, allocations: 55.41 kB / 445.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4206, allocations: 158.7 kB / 445.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4206, allocations: 25.7 kB / 445.4 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.4207, allocations: 162.6 kB / 445.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.4208, allocations: 23.66 kB / 445.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.4208, allocations: 0 / 445.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.421, allocations: 327.4 kB / 445.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.4211, allocations: 28 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.4212, allocations: 49.7 kB / 446 MB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.4213, allocations: 31.98 kB / 446 MB, free: 6.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-06/0.4213, allocations: 8 kB / 446 MB, free: 6.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003166/0.4217, allocations: 125.5 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.4217, allocations: 33.7 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-06/0.4217, allocations: 3.953 kB / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4218, allocations: 7.984 kB / 446.2 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.4219, allocations: 16 kB / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.169e-06/0.4219, allocations: 0 / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.422, allocations: 7.938 kB / 446.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4221, allocations: 11.98 kB / 446.2 MB, free: 6.379 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.0001049/0.4222, allocations: 109 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4222, allocations: 7.906 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.4225, allocations: 114.2 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-06/0.4225, allocations: 3.953 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-06/0.4226, allocations: 4 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-06/0.4226, allocations: 0 / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.4232, allocations: 371.8 kB / 446.8 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4232, allocations: 4.031 kB / 446.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.4232, allocations: 8 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.098e-06/0.4233, allocations: 7.953 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4233, allocations: 0 / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.058e-06/0.4233, allocations: 4.125 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.899e-06/0.4233, allocations: 8 kB / 446.9 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.4236, allocations: 210.2 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4238, allocations: 96.95 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.4238, allocations: 11.92 kB / 447.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4239, allocations: 0 / 447.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.424, allocations: 4 kB / 447.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.424, allocations: 7.984 kB / 447.2 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.4241, allocations: 123.3 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4242, allocations: 0 / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.4246, allocations: 39.92 kB / 447.4 MB, free: 5.164 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.001252/0.4258, allocations: 383.1 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.4262, allocations: 159.3 kB / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.188e-06/0.4262, allocations: 0 / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.4263, allocations: 32.05 kB / 447.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4266, allocations: 19.98 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.4271, allocations: 172 kB / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.4275, allocations: 0.7196 MB / 448.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.4276, allocations: 19.44 kB / 448.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.518e-06/0.4276, allocations: 0 / 448.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of Templates: time 0.004714/0.4323, allocations: 1.888 MB / 450.7 MB, free: 1.773 MB / 378.7 MB