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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.786e-05, allocations: 8 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4048, allocations: 81.39 MB / 439.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.405, allocations: 71.97 kB / 439.5 MB, free: 13.38 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.0212/0.4263, allocations: 5.02 MB / 444.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.4263, allocations: 0 / 444.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4263, allocations: 0 / 444.5 MB, free: 8.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006291/0.427, allocations: 477.4 kB / 445 MB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.427, allocations: 12.03 kB / 445 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.4271, allocations: 15.81 kB / 445 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.4275, allocations: 218.8 kB / 445.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4275, allocations: 4 kB / 445.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4276, allocations: 4 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/0.4277, allocations: 27.98 kB / 445.3 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4279, allocations: 69.56 kB / 445.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4279, allocations: 0 / 445.3 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4279, allocations: 3.984 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-06/0.4279, allocations: 4 kB / 445.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.4285, allocations: 321.2 kB / 445.7 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4287, allocations: 74.61 kB / 445.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.4288, allocations: 20.98 kB / 445.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.4288, allocations: 0 / 445.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.429, allocations: 83.33 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.603e-06/0.429, allocations: 0 / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006374/0.4296, allocations: 177.1 kB / 446 MB, free: 6.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4297, allocations: 59.39 kB / 446.1 MB, free: 6.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.43, allocations: 214.3 kB / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4301, allocations: 29.7 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.4302, allocations: 174.4 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.4302, allocations: 23.7 kB / 446.5 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.4303, allocations: 4 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4304, allocations: 318.8 kB / 446.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4306, allocations: 39.94 kB / 446.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.4307, allocations: 61.58 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.4308, allocations: 39.98 kB / 447 MB, free: 5.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.553e-06/0.4308, allocations: 3.984 kB / 447 MB, free: 5.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003573/0.4312, allocations: 141.6 kB / 447.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.4313, allocations: 45.67 kB / 447.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.53e-06/0.4313, allocations: 7.938 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4313, allocations: 0 / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4315, allocations: 16 kB / 447.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.033e-06/0.4315, allocations: 0 / 447.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.4316, allocations: 7.984 kB / 447.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.4316, allocations: 4 kB / 447.2 MB, free: 5.477 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 (12): * Single equations (assignments): 11 * 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.4317, allocations: 110.5 kB / 447.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.4318, allocations: 11.91 kB / 447.3 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.4322, allocations: 147.3 kB / 447.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-06/0.4322, allocations: 3.938 kB / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.413e-06/0.4322, allocations: 4 kB / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-06/0.4322, allocations: 0 / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.4329, allocations: 428 kB / 447.9 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-06/0.433, allocations: 0 / 447.9 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.433, allocations: 15.95 kB / 447.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-06/0.4331, allocations: 8.031 kB / 447.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4331, allocations: 3.984 kB / 447.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.067e-06/0.4331, allocations: 3.938 kB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.935e-06/0.4331, allocations: 4 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.4335, allocations: 229.9 kB / 448.1 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.4336, allocations: 108.9 kB / 448.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4337, allocations: 4 kB / 448.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4338, allocations: 4 kB / 448.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4339, allocations: 7.984 kB / 448.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.4339, allocations: 8 kB / 448.3 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.4341, allocations: 179.2 kB / 448.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.4341, allocations: 0 / 448.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004161/0.4346, allocations: 43.94 kB / 448.5 MB, free: 4.074 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 (11): * Single equations (assignments): 9 * 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.00127/0.4358, allocations: 382.6 kB / 448.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.4362, allocations: 171.3 kB / 449 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.144e-06/0.4362, allocations: 0 / 449 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.4364, allocations: 39.94 kB / 449.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4367, allocations: 20.73 kB / 449.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.4373, allocations: 248.6 kB / 449.3 MB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4377, allocations: 0.7197 MB / 450 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.4378, allocations: 19.44 kB / 450.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4378, allocations: 4 kB / 450.1 MB, free: 2.465 MB / 378.7 MB Notification: Performance of Templates: time 0.005502/0.4434, allocations: 2.221 MB / 452.3 MB, free: 252 kB / 378.7 MB