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.Test11.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.328e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3686, allocations: 54.85 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.498, allocations: 82.81 MB / 447.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4983, allocations: 71.97 kB / 447.4 MB, free: 13.6 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.01514/0.5134, allocations: 3.604 MB / 451 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.467e-06/0.5135, allocations: 0 / 451 MB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5135, allocations: 4 kB / 451 MB, free: 10.02 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007023/0.5142, allocations: 0.4953 MB / 451.5 MB, free: 9.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5143, allocations: 8.031 kB / 451.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.5144, allocations: 20.83 kB / 451.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.5148, allocations: 219.5 kB / 451.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.5148, allocations: 4 kB / 451.8 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.5148, allocations: 4 kB / 451.8 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.515, allocations: 73.67 kB / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5151, allocations: 0 / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.5151, allocations: 7.891 kB / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-06/0.5151, allocations: 4 kB / 451.9 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.5152, allocations: 39.97 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.5159, allocations: 364.7 kB / 452.3 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.5163, allocations: 90.56 kB / 452.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.5164, allocations: 37.88 kB / 452.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5164, allocations: 4 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.5166, allocations: 75.39 kB / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.701e-06/0.5166, allocations: 0 / 452.5 MB, free: 8.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003294/0.517, allocations: 110.8 kB / 452.6 MB, free: 8.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.517, allocations: 51.41 kB / 452.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.5173, allocations: 162.4 kB / 452.8 MB, free: 8.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.5173, allocations: 29.7 kB / 452.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5174, allocations: 174.5 kB / 453 MB, free: 7.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.5175, allocations: 23.66 kB / 453 MB, free: 7.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.5175, allocations: 7.938 kB / 453 MB, free: 7.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5177, allocations: 318.8 kB / 453.3 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.5178, allocations: 36 kB / 453.4 MB, free: 7.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5179, allocations: 64.44 kB / 453.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.5181, allocations: 81.8 kB / 453.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-06/0.5181, allocations: 96 / 453.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003876/0.5185, allocations: 184.2 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.5186, allocations: 33.69 kB / 453.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5186, allocations: 4 kB / 453.7 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5186, allocations: 3.938 kB / 453.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.5188, allocations: 23.92 kB / 453.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5188, allocations: 4 kB / 453.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.5189, allocations: 21.91 kB / 453.8 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.519, allocations: 4 kB / 453.8 MB, free: 7.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.000106/0.5191, allocations: 112.9 kB / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.5191, allocations: 23.75 kB / 453.9 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.5195, allocations: 119.1 kB / 454 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.5195, allocations: 0 / 454 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-06/0.5195, allocations: 0 / 454 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-06/0.5195, allocations: 0 / 454 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.5198, allocations: 209.8 kB / 454.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-06/0.5198, allocations: 4 kB / 454.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.5199, allocations: 12 kB / 454.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-06/0.5199, allocations: 11.89 kB / 454.3 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.52, allocations: 3.984 kB / 454.3 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.52, allocations: 3.984 kB / 454.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.04e-06/0.52, allocations: 0 / 454.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.5204, allocations: 172.9 kB / 454.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5205, allocations: 101.7 kB / 454.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.5206, allocations: 7.938 kB / 454.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.5207, allocations: 4 kB / 454.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.5208, allocations: 7.984 kB / 454.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.5208, allocations: 12 kB / 454.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.521, allocations: 121.2 kB / 454.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.521, allocations: 0 / 454.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003602/0.5213, allocations: 43.92 kB / 454.7 MB, free: 5.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001291/0.5226, allocations: 379.9 kB / 455.1 MB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.523, allocations: 175.3 kB / 455.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.39e-06/0.523, allocations: 0 / 455.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.5231, allocations: 32 kB / 455.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.5234, allocations: 27.97 kB / 455.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.524, allocations: 205.2 kB / 455.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.5244, allocations: 0.724 MB / 456.2 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.5245, allocations: 15.44 kB / 456.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.55e-06/0.5245, allocations: 0 / 456.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of Templates: time 0.005036/0.5295, allocations: 2.07 MB / 458.3 MB, free: 2.367 MB / 378.7 MB