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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004232, allocations: 20 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3696, allocations: 54.85 MB / 369.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5177, allocations: 82.17 MB / 452 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.518, allocations: 83.94 kB / 452.1 MB, free: 10.45 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.02256/0.5406, allocations: 5.164 MB / 457.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5406, allocations: 0 / 457.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5407, allocations: 7.938 kB / 457.2 MB, free: 5.266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007033/0.5414, allocations: 0.4941 MB / 457.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5414, allocations: 8.031 kB / 457.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.688e-05/0.5415, allocations: 19.75 kB / 457.7 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.5419, allocations: 214.8 kB / 458 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.542, allocations: 4 kB / 458 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.542, allocations: 8 kB / 458 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.5422, allocations: 69.59 kB / 458 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5423, allocations: 11.94 kB / 458 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5423, allocations: 4 kB / 458.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5423, allocations: 4 kB / 458.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.5425, allocations: 35.97 kB / 458.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.5431, allocations: 349.5 kB / 458.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.5435, allocations: 86.7 kB / 458.5 MB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.5435, allocations: 12 kB / 458.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.5437, allocations: 71.38 kB / 458.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.5437, allocations: 3.938 kB / 458.6 MB, free: 3.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001025/0.5448, allocations: 249 kB / 458.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5448, allocations: 55.41 kB / 458.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.5453, allocations: 247.9 kB / 459.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.5453, allocations: 33.7 kB / 459.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.5454, allocations: 170.6 kB / 459.3 MB, free: 2.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.5455, allocations: 35.48 kB / 459.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.5455, allocations: 8 kB / 459.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5456, allocations: 318.8 kB / 459.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.5458, allocations: 47.98 kB / 459.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.546, allocations: 70.38 kB / 459.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.5463, allocations: 89.62 kB / 459.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5463, allocations: 7.953 kB / 459.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005518/0.5469, allocations: 203.3 kB / 460.1 MB, free: 2.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.547, allocations: 39.25 kB / 460.1 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.547, allocations: 4 kB / 460.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.547, allocations: 0 / 460.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.5472, allocations: 19.98 kB / 460.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5472, allocations: 4 kB / 460.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5474, allocations: 4 kB / 460.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.5474, allocations: 8 kB / 460.2 MB, free: 2.055 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 (14): * Single equations (assignments): 13 * 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.0001854/0.5476, allocations: 145.8 kB / 460.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.5476, allocations: 15.77 kB / 460.3 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.5482, allocations: 170.9 kB / 460.5 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5482, allocations: 0 / 460.5 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5482, allocations: 4 kB / 460.5 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.5482, allocations: 0 / 460.5 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.5492, allocations: 499.1 kB / 461 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5492, allocations: 0 / 461 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5493, allocations: 23.92 kB / 461 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5493, allocations: 3.984 kB / 461 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.5493, allocations: 8 kB / 461 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5494, allocations: 0 / 461 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5494, allocations: 0 / 461 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.5498, allocations: 264.4 kB / 461.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.55, allocations: 112.9 kB / 461.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.55, allocations: 0 / 461.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5502, allocations: 8 kB / 461.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.5502, allocations: 11.92 kB / 461.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.5503, allocations: 4 kB / 461.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002691/0.5505, allocations: 188.4 kB / 461.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5506, allocations: 4 kB / 461.6 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.551, allocations: 47.88 kB / 461.7 MB, free: 480 kB / 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001326/0.5523, allocations: 456.3 kB / 462.1 MB, free: 104 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.5529, allocations: 195.3 kB / 462.3 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5529, allocations: 0 / 462.3 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.5531, allocations: 60.14 kB / 462.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.5534, allocations: 28.28 kB / 462.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.5543, allocations: 372.8 kB / 462.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5547, allocations: 0.7238 MB / 463.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.5548, allocations: 19.44 kB / 463.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5548, allocations: 0 / 463.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of Templates: time 0.006574/0.5613, allocations: 2.341 MB / 465.8 MB, free: 12.29 MB / 394.7 MB