Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3439, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.4981, allocations: 82.11 MB / 451.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4984, allocations: 75.97 kB / 452 MB, free: 8.434 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.01984/0.5182, allocations: 4.477 MB / 456.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5183, allocations: 0 / 456.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5183, allocations: 4 kB / 456.5 MB, free: 3.945 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.0006107/0.5189, allocations: 477.1 kB / 456.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.519, allocations: 8.031 kB / 456.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.519, allocations: 11.81 kB / 457 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5194, allocations: 215.4 kB / 457.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.5194, allocations: 0 / 457.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.5195, allocations: 8 kB / 457.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.5197, allocations: 53.67 kB / 457.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5197, allocations: 0 / 457.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.5197, allocations: 3.953 kB / 457.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5198, allocations: 0 / 457.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.5199, allocations: 23.98 kB / 457.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.5204, allocations: 308.9 kB / 457.6 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.5206, allocations: 58.62 kB / 457.6 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5207, allocations: 4 kB / 457.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.5209, allocations: 72.05 kB / 457.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.5209, allocations: 7.938 kB / 457.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007959/0.5217, allocations: 197.1 kB / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.5218, allocations: 51.41 kB / 457.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.522, allocations: 178.2 kB / 458.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5221, allocations: 33.7 kB / 458.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.5222, allocations: 158.5 kB / 458.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.5222, allocations: 27.64 kB / 458.3 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.5222, allocations: 8 kB / 458.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5224, allocations: 318.8 kB / 458.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5225, allocations: 43.97 kB / 458.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.5227, allocations: 57.64 kB / 458.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.5229, allocations: 73.69 kB / 458.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5229, allocations: 0 / 458.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004452/0.5233, allocations: 183.2 kB / 459 MB, free: 1.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.5234, allocations: 33.7 kB / 459 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5234, allocations: 4.031 kB / 459 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5235, allocations: 0 / 459 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5236, allocations: 15.98 kB / 459 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5236, allocations: 4 kB / 459 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.5237, allocations: 4.375 kB / 459.1 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.5238, allocations: 8 kB / 459.1 MB, free: 1.102 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 () * Number of clocked 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.0001338/0.5239, allocations: 129.8 kB / 459.2 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.524, allocations: 15.77 kB / 459.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.5244, allocations: 122.3 kB / 459.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5244, allocations: 4 kB / 459.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5244, allocations: 4 kB / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5244, allocations: 0 / 459.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.5251, allocations: 411.3 kB / 459.7 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5251, allocations: 0 / 459.7 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-05/0.5252, allocations: 15.94 kB / 459.7 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5252, allocations: 4.031 kB / 459.8 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.5253, allocations: 7.984 kB / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.5253, allocations: 0 / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5253, allocations: 7.938 kB / 459.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.5257, allocations: 204.2 kB / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5258, allocations: 104.9 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.5258, allocations: 0 / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.526, allocations: 16.27 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.526, allocations: 4 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.5261, allocations: 7.984 kB / 460.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.5262, allocations: 135.1 kB / 460.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5262, allocations: 0 / 460.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003847/0.5266, allocations: 43.92 kB / 460.3 MB, free: 15.77 MB / 394.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) * Number of clocked states: 0 () * 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.001304/0.528, allocations: 459.5 kB / 460.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.5284, allocations: 167.3 kB / 460.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5285, allocations: 0 / 460.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.5286, allocations: 31.94 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.5289, allocations: 19.98 kB / 460.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.5296, allocations: 283.7 kB / 461.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5299, allocations: 0.7082 MB / 461.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.53, allocations: 11.44 kB / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.53, allocations: 4 kB / 461.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.005501/0.5355, allocations: 1.94 MB / 463.9 MB, free: 12.17 MB / 394.7 MB