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.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.402e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.3897, allocations: 81.49 MB / 439.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3899, allocations: 71.95 kB / 439.6 MB, free: 13.18 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02664/0.4166, allocations: 6.693 MB / 446.3 MB, free: 6.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.4166, allocations: 7.938 kB / 446.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.4167, allocations: 4 kB / 446.3 MB, free: 6.453 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000804/0.4175, allocations: 0.5981 MB / 446.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4175, allocations: 8.031 kB / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.4176, allocations: 27.72 kB / 447 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.4181, allocations: 266.5 kB / 447.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.4182, allocations: 4 kB / 447.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.4182, allocations: 12 kB / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/0.4184, allocations: 35.98 kB / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.4186, allocations: 103.2 kB / 447.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4186, allocations: 0 / 447.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4186, allocations: 0 / 447.4 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-06/0.4187, allocations: 4 kB / 447.4 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.4194, allocations: 469.5 kB / 447.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.4196, allocations: 101.4 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.4197, allocations: 41.84 kB / 448 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4198, allocations: 7.953 kB / 448 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.42, allocations: 109 kB / 448.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.459e-06/0.42, allocations: 0 / 448.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009185/0.421, allocations: 300.3 kB / 448.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.421, allocations: 85.09 kB / 448.5 MB, free: 4.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.4215, allocations: 302.2 kB / 448.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4215, allocations: 37.64 kB / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4217, allocations: 190.9 kB / 449 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.4218, allocations: 47.42 kB / 449 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.4218, allocations: 0 / 449 MB, free: 3.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.422, allocations: 322.8 kB / 449.3 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4221, allocations: 60.17 kB / 449.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4223, allocations: 103.5 kB / 449.5 MB, free: 3.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.4226, allocations: 79.97 kB / 449.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.262e-06/0.4226, allocations: 0 / 449.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005736/0.4232, allocations: 233.3 kB / 449.8 MB, free: 2.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.4233, allocations: 68.48 kB / 449.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4233, allocations: 4 kB / 449.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4233, allocations: 0 / 449.9 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.4235, allocations: 39.91 kB / 449.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.634e-06/0.4235, allocations: 64 / 449.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4237, allocations: 15.94 kB / 449.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.4237, allocations: 16 kB / 449.9 MB, free: 2.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001183/0.4239, allocations: 112.9 kB / 450.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.4239, allocations: 31.84 kB / 450.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.4244, allocations: 199.5 kB / 450.3 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.484e-06/0.4245, allocations: 3.984 kB / 450.3 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-06/0.4245, allocations: 4 kB / 450.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.826e-06/0.4245, allocations: 4.375 kB / 450.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.4255, allocations: 0.6091 MB / 450.9 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.053e-06/0.4255, allocations: 4 kB / 450.9 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4256, allocations: 27.94 kB / 450.9 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.375e-06/0.4257, allocations: 0 / 450.9 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4257, allocations: 7.984 kB / 450.9 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-06/0.4257, allocations: 8.062 kB / 450.9 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-06/0.4257, allocations: 0 / 450.9 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.4263, allocations: 401.2 kB / 451.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.4264, allocations: 120.8 kB / 451.5 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.4265, allocations: 4 kB / 451.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4267, allocations: 7.984 kB / 451.5 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.4268, allocations: 23.88 kB / 451.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.4268, allocations: 8 kB / 451.5 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.4272, allocations: 241.9 kB / 451.7 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.4272, allocations: 0 / 451.7 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005472/0.4277, allocations: 87.86 kB / 451.8 MB, free: 0.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001905/0.4297, allocations: 0.553 MB / 452.4 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005489/0.4302, allocations: 310.7 kB / 452.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.849e-06/0.4303, allocations: 4 kB / 452.7 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.4304, allocations: 59.92 kB / 452.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4309, allocations: 33.47 kB / 452.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.4317, allocations: 378 kB / 453.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4322, allocations: 0.7514 MB / 453.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.342e-05/0.4323, allocations: 35.36 kB / 453.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.671e-06/0.4323, allocations: 4 kB / 453.9 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.007432/0.4398, allocations: 3.597 MB / 457.5 MB, free: 10.82 MB / 394.7 MB