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.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 251.1 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.000439, allocations: 16 kB / 314.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3447, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4973, allocations: 81.92 MB / 451.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4977, allocations: 83.95 kB / 451.8 MB, free: 8.742 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0206/0.5183, allocations: 4.46 MB / 456.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5183, allocations: 0 / 456.3 MB, free: 4.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.5183, allocations: 4 kB / 456.3 MB, free: 4.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006779/0.519, allocations: 473 kB / 456.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5191, allocations: 8.031 kB / 456.7 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.5191, allocations: 11.89 kB / 456.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.5195, allocations: 215.5 kB / 457 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.5196, allocations: 8 kB / 457 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.5196, allocations: 7.984 kB / 457 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.5198, allocations: 49.67 kB / 457 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5198, allocations: 3.938 kB / 457 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.5199, allocations: 7.953 kB / 457 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5199, allocations: 0 / 457 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.52, allocations: 15.98 kB / 457.1 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.5203, allocations: 201.6 kB / 457.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.5205, allocations: 62.55 kB / 457.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5206, allocations: 4 kB / 457.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.5208, allocations: 63.38 kB / 457.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.853e-06/0.5208, allocations: 0 / 457.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004138/0.5212, allocations: 105.6 kB / 457.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.5213, allocations: 67.23 kB / 457.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.5216, allocations: 207 kB / 457.8 MB, free: 2.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.5216, allocations: 29.7 kB / 457.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5218, allocations: 166.5 kB / 457.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.5218, allocations: 11.89 kB / 458 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.5218, allocations: 4 kB / 458 MB, free: 2.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.522, allocations: 314.8 kB / 458.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.5221, allocations: 31.98 kB / 458.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.5223, allocations: 53.67 kB / 458.4 MB, free: 1.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.5225, allocations: 61.7 kB / 458.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5225, allocations: 0 / 458.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004036/0.5229, allocations: 155.2 kB / 458.6 MB, free: 1.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.523, allocations: 37.7 kB / 458.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.523, allocations: 0 / 458.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.523, allocations: 0 / 458.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5231, allocations: 19.92 kB / 458.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5232, allocations: 7.984 kB / 458.6 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.896e-05/0.5233, allocations: 7.938 kB / 458.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.5233, allocations: 4 kB / 458.6 MB, free: 1.648 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 (8): * Single equations (assignments): 7 * 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.0001417/0.5234, allocations: 129.8 kB / 458.8 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.5235, allocations: 15.81 kB / 458.8 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.5238, allocations: 94.66 kB / 458.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5238, allocations: 0 / 458.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5238, allocations: 3.938 kB / 458.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5239, allocations: 7.953 kB / 458.9 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.5241, allocations: 193.6 kB / 459.1 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5241, allocations: 3.938 kB / 459.1 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.5242, allocations: 7.938 kB / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5242, allocations: 0 / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5242, allocations: 0 / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5242, allocations: 0 / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5242, allocations: 0 / 459.1 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.5245, allocations: 125 kB / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.5247, allocations: 96.92 kB / 459.3 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.5247, allocations: 4.422 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.5248, allocations: 4 kB / 459.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5248, allocations: 0 / 459.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5249, allocations: 8 kB / 459.3 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.5251, allocations: 155.2 kB / 459.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5251, allocations: 0 / 459.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000321/0.5254, allocations: 31.94 kB / 459.5 MB, free: 0.6875 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001162/0.5266, allocations: 405.8 kB / 459.9 MB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.527, allocations: 155.4 kB / 460.1 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.527, allocations: 0 / 460.1 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.5272, allocations: 19.94 kB / 460.1 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.5274, allocations: 31.84 kB / 460.1 MB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.5281, allocations: 268.6 kB / 460.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5285, allocations: 0.7043 MB / 461.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.5285, allocations: 15.42 kB / 461.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5285, allocations: 0 / 461.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Templates: time 0.005069/0.5336, allocations: 1.78 MB / 462.9 MB, free: 13.31 MB / 394.7 MB