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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.527e-05, allocations: 11.94 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3473, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4751, allocations: 81.35 MB / 439.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4754, allocations: 67.97 kB / 439.5 MB, free: 13.42 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.0192/0.4946, allocations: 4.325 MB / 443.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.4947, allocations: 0 / 443.8 MB, free: 9.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4947, allocations: 0 / 443.8 MB, free: 9.086 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.4953, allocations: 449.6 kB / 444.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4954, allocations: 8.031 kB / 444.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.4954, allocations: 15.81 kB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.4958, allocations: 200.6 kB / 444.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4958, allocations: 4 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4959, allocations: 4 kB / 444.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.496, allocations: 27.92 kB / 444.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4961, allocations: 57.58 kB / 444.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4961, allocations: 0 / 444.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4962, allocations: 3.984 kB / 444.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.4962, allocations: 0 / 444.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.4967, allocations: 293.3 kB / 444.8 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.4968, allocations: 50.64 kB / 444.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.4969, allocations: 24.95 kB / 444.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.4969, allocations: 7.953 kB / 444.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.4971, allocations: 63.41 kB / 445 MB, free: 7.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.711e-06/0.4971, allocations: 0 / 445 MB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.4977, allocations: 145.3 kB / 445.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4978, allocations: 55.41 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.498, allocations: 144.7 kB / 445.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.498, allocations: 29.7 kB / 445.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.4981, allocations: 158.5 kB / 445.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.4982, allocations: 23.66 kB / 445.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.4982, allocations: 4 kB / 445.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4984, allocations: 323.5 kB / 445.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.4985, allocations: 28 kB / 445.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4986, allocations: 53.64 kB / 445.9 MB, free: 6.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.4987, allocations: 35.98 kB / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-06/0.4987, allocations: 0 / 446 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003316/0.4991, allocations: 133.6 kB / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4991, allocations: 41.69 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4992, allocations: 32 / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4992, allocations: 4 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4993, allocations: 12 kB / 446.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4993, allocations: 4 kB / 446.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.4994, allocations: 7.984 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4995, allocations: 7.938 kB / 446.2 MB, free: 6.492 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.0001091/0.4996, allocations: 108.9 kB / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.4996, allocations: 15.77 kB / 446.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.5, allocations: 114.2 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.734e-06/0.5, allocations: 4 kB / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-06/0.5, allocations: 0 / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5, allocations: 192 / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.5006, allocations: 368 kB / 446.8 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-06/0.5006, allocations: 7.891 kB / 446.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.5007, allocations: 11.98 kB / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-06/0.5007, allocations: 0 / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5007, allocations: 4 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.172e-06/0.5008, allocations: 4.219 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.22e-06/0.5008, allocations: 0 / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.5011, allocations: 217.9 kB / 447 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5012, allocations: 93 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.5012, allocations: 4 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5014, allocations: 11.98 kB / 447.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.5014, allocations: 4 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.5015, allocations: 4 kB / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.5016, allocations: 117.9 kB / 447.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.34e-07/0.5016, allocations: 0 / 447.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.502, allocations: 35.84 kB / 447.3 MB, free: 5.285 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.001322/0.5034, allocations: 385.9 kB / 447.6 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000333/0.5037, allocations: 151.4 kB / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.5038, allocations: 0 / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.5038, allocations: 31.94 kB / 447.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.5042, allocations: 20.55 kB / 447.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.5046, allocations: 164.3 kB / 448 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.5051, allocations: 0.7118 MB / 448.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.5051, allocations: 15.44 kB / 448.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.675e-06/0.5052, allocations: 0 / 448.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of Templates: time 0.004723/0.5099, allocations: 1.862 MB / 450.6 MB, free: 1.938 MB / 378.7 MB