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.Test43.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.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006149/0.0006152, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3632, allocations: 54.87 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5162, allocations: 82.14 MB / 451.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5165, allocations: 71.97 kB / 452 MB, free: 8.398 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.02111/0.5376, allocations: 4.656 MB / 456.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5377, allocations: 0 / 456.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.5377, allocations: 4 kB / 456.7 MB, free: 3.734 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.0006806/0.5384, allocations: 486 kB / 457.2 MB, free: 3.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5384, allocations: 8.031 kB / 457.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.5385, allocations: 11.91 kB / 457.2 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5389, allocations: 206.9 kB / 457.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5389, allocations: 4 kB / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.539, allocations: 8 kB / 457.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.5392, allocations: 57.66 kB / 457.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5392, allocations: 4 kB / 457.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.5393, allocations: 11.95 kB / 457.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5393, allocations: 0 / 457.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.5394, allocations: 19.98 kB / 457.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.54, allocations: 312.8 kB / 457.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5403, allocations: 66.61 kB / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5403, allocations: 0 / 457.8 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.5405, allocations: 79.98 kB / 457.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.5406, allocations: 0 / 457.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008543/0.5414, allocations: 193.1 kB / 458.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5415, allocations: 51.41 kB / 458.2 MB, free: 2.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.5418, allocations: 195.3 kB / 458.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.5418, allocations: 33.7 kB / 458.4 MB, free: 1.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.5419, allocations: 162.6 kB / 458.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.542, allocations: 23.7 kB / 458.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.542, allocations: 4 kB / 458.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5421, allocations: 318.8 kB / 458.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.5423, allocations: 39.97 kB / 458.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.5425, allocations: 53.64 kB / 459 MB, free: 1.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.5427, allocations: 77.69 kB / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5427, allocations: 0 / 459.1 MB, free: 1.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000485/0.5432, allocations: 183.2 kB / 459.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.5433, allocations: 29.7 kB / 459.3 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5433, allocations: 4 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5433, allocations: 0 / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5435, allocations: 19.98 kB / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5435, allocations: 0 / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.5436, allocations: 8 kB / 459.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.5436, allocations: 8.031 kB / 459.3 MB, free: 0.8477 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.0001618/0.5438, allocations: 133.8 kB / 459.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.5439, allocations: 11.86 kB / 459.4 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.5443, allocations: 119 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5443, allocations: 4 kB / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5443, allocations: 0 / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5443, allocations: 3.984 kB / 459.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.545, allocations: 423.2 kB / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.545, allocations: 384 / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.5451, allocations: 8 kB / 460 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.5452, allocations: 4 kB / 460 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5452, allocations: 4 kB / 460 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5452, allocations: 3.938 kB / 460 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5452, allocations: 0 / 460 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.5456, allocations: 224.4 kB / 460.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5457, allocations: 104.9 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5458, allocations: 0 / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5459, allocations: 4 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.546, allocations: 11.98 kB / 460.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.546, allocations: 4 kB / 460.3 MB, free: 15.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.5462, allocations: 143.9 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5462, allocations: 4 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.5466, allocations: 43.92 kB / 460.5 MB, free: 15.5 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.001374/0.548, allocations: 462.8 kB / 461 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.5485, allocations: 159.4 kB / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5485, allocations: 0 / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5487, allocations: 40.05 kB / 461.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.549, allocations: 15.98 kB / 461.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.5497, allocations: 292.3 kB / 461.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.5501, allocations: 0.716 MB / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.5502, allocations: 15.44 kB / 462.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5502, allocations: 0 / 462.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Templates: time 0.005758/0.556, allocations: 1.978 MB / 464.2 MB, free: 11.85 MB / 394.7 MB