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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 234.9 MB / 251.1 MB, free: 10.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 19.98 kB / 314.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3951, allocations: 54.86 MB / 369.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5432, allocations: 82.1 MB / 451.9 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5436, allocations: 79.95 kB / 452 MB, free: 8.602 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.02085/0.5644, allocations: 4.496 MB / 456.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5645, allocations: 0 / 456.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5645, allocations: 0 / 456.5 MB, free: 4.098 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.0006575/0.5652, allocations: 475.9 kB / 456.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5652, allocations: 8.031 kB / 457 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.5653, allocations: 15.81 kB / 457 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.5656, allocations: 206.9 kB / 457.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.5657, allocations: 4 kB / 457.2 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.5657, allocations: 4 kB / 457.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.5659, allocations: 53.67 kB / 457.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.566, allocations: 0 / 457.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.566, allocations: 11.95 kB / 457.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.566, allocations: 11.98 kB / 457.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.5661, allocations: 23.92 kB / 457.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.5666, allocations: 304.9 kB / 457.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5669, allocations: 58.67 kB / 457.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.567, allocations: 4 kB / 457.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.5672, allocations: 76 kB / 457.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5672, allocations: 3.938 kB / 457.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008432/0.5681, allocations: 181.1 kB / 457.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.5681, allocations: 55.41 kB / 457.9 MB, free: 2.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.5684, allocations: 174.2 kB / 458.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.5684, allocations: 33.7 kB / 458.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.5685, allocations: 174.5 kB / 458.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.5686, allocations: 27.64 kB / 458.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.5686, allocations: 0 / 458.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5687, allocations: 318.8 kB / 458.7 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5689, allocations: 35.98 kB / 458.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.569, allocations: 57.69 kB / 458.7 MB, free: 1.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.5692, allocations: 73.64 kB / 458.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5693, allocations: 4 kB / 458.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004482/0.5697, allocations: 183.2 kB / 459 MB, free: 1.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.5698, allocations: 37.69 kB / 459 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5698, allocations: 0 / 459 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5698, allocations: 0 / 459 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.57, allocations: 19.94 kB / 459.1 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.57, allocations: 0 / 459.1 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.5701, allocations: 11.98 kB / 459.1 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.5702, allocations: 4 kB / 459.1 MB, free: 1.246 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.0001334/0.5703, allocations: 125.9 kB / 459.2 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.5703, allocations: 15.77 kB / 459.2 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.5708, allocations: 130.4 kB / 459.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.5708, allocations: 3.984 kB / 459.3 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5708, allocations: 0 / 459.3 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5708, allocations: 0 / 459.3 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.5715, allocations: 411.3 kB / 459.7 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5715, allocations: 4 kB / 459.8 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.5716, allocations: 11.98 kB / 459.8 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5716, allocations: 0 / 459.8 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.5717, allocations: 8 kB / 459.8 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5717, allocations: 384 / 459.8 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5717, allocations: 3.938 kB / 459.8 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.5721, allocations: 212.2 kB / 460 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.5722, allocations: 104.9 kB / 460.1 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5723, allocations: 8 kB / 460.1 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5724, allocations: 4 kB / 460.1 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.5724, allocations: 11.92 kB / 460.1 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5725, allocations: 4 kB / 460.1 MB, free: 92 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.5727, allocations: 139.5 kB / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5727, allocations: 0 / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.5731, allocations: 39.94 kB / 460.3 MB, free: 15.91 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.001299/0.5744, allocations: 452.5 kB / 460.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.5749, allocations: 171.3 kB / 460.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5749, allocations: 0 / 460.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.5751, allocations: 35.92 kB / 460.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.5754, allocations: 20.11 kB / 461 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.5761, allocations: 275.9 kB / 461.2 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5765, allocations: 0.7121 MB / 461.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.5766, allocations: 15.44 kB / 461.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5766, allocations: 0 / 461.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of Templates: time 0.005666/0.5822, allocations: 1.935 MB / 463.9 MB, free: 12.32 MB / 394.7 MB