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.Test20.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.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.156/2.156, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.428e-05, allocations: 8 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2735, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.3964, allocations: 81.36 MB / 439.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.3967, allocations: 71.95 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.01844/0.4152, allocations: 4.423 MB / 443.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.928e-06/0.4152, allocations: 0 / 443.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.4152, allocations: 7.938 kB / 443.9 MB, free: 8.949 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.0005671/0.4158, allocations: 445.6 kB / 444.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4159, allocations: 8.031 kB / 444.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.4159, allocations: 11.91 kB / 444.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.4163, allocations: 215.3 kB / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4163, allocations: 4 kB / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.4164, allocations: 8 kB / 444.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.428e-05/0.4165, allocations: 15.98 kB / 444.6 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4166, allocations: 49.69 kB / 444.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4166, allocations: 3.953 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4167, allocations: 4 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4167, allocations: 0 / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4171, allocations: 289.3 kB / 444.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4173, allocations: 58.64 kB / 445 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.4174, allocations: 20.97 kB / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4174, allocations: 0 / 445 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.4176, allocations: 67.36 kB / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.52e-06/0.4176, allocations: 0 / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005542/0.4181, allocations: 153.3 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4182, allocations: 55.41 kB / 445.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.4184, allocations: 162 kB / 445.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.4185, allocations: 25.7 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4186, allocations: 166.5 kB / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.4186, allocations: 23.7 kB / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-06/0.4187, allocations: 0 / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4188, allocations: 319.5 kB / 446 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.4189, allocations: 32 kB / 446 MB, free: 6.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.419, allocations: 49.72 kB / 446 MB, free: 6.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.4192, allocations: 35.98 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-06/0.4192, allocations: 7.922 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003172/0.4195, allocations: 125.7 kB / 446.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.4196, allocations: 33.7 kB / 446.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.361e-06/0.4196, allocations: 3.953 kB / 446.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4196, allocations: 0 / 446.2 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4197, allocations: 19.92 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.838e-06/0.4198, allocations: 8.031 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.4199, allocations: 4 kB / 446.3 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.4199, allocations: 4 kB / 446.3 MB, free: 6.344 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.0001027/0.42, allocations: 114.6 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.4201, allocations: 15.8 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4204, allocations: 114.3 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-06/0.4204, allocations: 3.953 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.28e-06/0.4204, allocations: 0 / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.831e-06/0.4204, allocations: 4 kB / 446.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.421, allocations: 379.8 kB / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-06/0.421, allocations: 0 / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.4211, allocations: 8 kB / 446.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.752e-06/0.4211, allocations: 7.953 kB / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4212, allocations: 0 / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-06/0.4212, allocations: 0 / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.218e-06/0.4212, allocations: 4 kB / 446.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.4215, allocations: 217.9 kB / 447.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4216, allocations: 101 kB / 447.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.4216, allocations: 3.984 kB / 447.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4218, allocations: 4 kB / 447.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4218, allocations: 7.984 kB / 447.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4218, allocations: 7.984 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.422, allocations: 135.4 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.422, allocations: 0 / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.4224, allocations: 39.98 kB / 447.4 MB, free: 5.094 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.001242/0.4237, allocations: 382.5 kB / 447.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.424, allocations: 159.3 kB / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.007e-06/0.4241, allocations: 0 / 448 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.4241, allocations: 27.98 kB / 448 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.4245, allocations: 20.59 kB / 448 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.425, allocations: 184 kB / 448.2 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4254, allocations: 0.712 MB / 448.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.4255, allocations: 23.42 kB / 448.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.491e-06/0.4255, allocations: 0 / 448.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of Templates: time 0.004853/0.4303, allocations: 1.911 MB / 450.8 MB, free: 1.672 MB / 378.7 MB