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.Test48.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.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.808e-05, allocations: 8 kB / 309.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 54.85 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4414, allocations: 82.07 MB / 446.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4417, allocations: 67.97 kB / 446.7 MB, free: 14.39 MB / 378.7 MB [/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.02013/0.4618, allocations: 4.877 MB / 451.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.907e-06/0.4618, allocations: 0 / 451.6 MB, free: 9.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.4619, allocations: 8 kB / 451.6 MB, free: 9.527 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.0005963/0.4625, allocations: 469.4 kB / 452 MB, free: 9.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4625, allocations: 15.97 kB / 452 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.4626, allocations: 15.81 kB / 452.1 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.463, allocations: 222.8 kB / 452.3 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.463, allocations: 4 kB / 452.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.4631, allocations: 8 kB / 452.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4632, allocations: 49.67 kB / 452.3 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4633, allocations: 4 kB / 452.3 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4633, allocations: 5.172 kB / 452.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-06/0.4633, allocations: 3.984 kB / 452.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.4634, allocations: 19.94 kB / 452.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.4639, allocations: 336.8 kB / 452.7 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.4641, allocations: 46.69 kB / 452.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.4642, allocations: 24.98 kB / 452.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4642, allocations: 0 / 452.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4644, allocations: 75.41 kB / 452.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.653e-06/0.4644, allocations: 4 kB / 452.8 MB, free: 8.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.465, allocations: 169.1 kB / 453 MB, free: 7.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4651, allocations: 55.41 kB / 453.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.4654, allocations: 229.8 kB / 453.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.4655, allocations: 25.7 kB / 453.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4656, allocations: 179.3 kB / 453.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.4656, allocations: 27.64 kB / 453.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.4657, allocations: 3.938 kB / 453.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4658, allocations: 322.8 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.4659, allocations: 36 kB / 453.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4661, allocations: 55.53 kB / 453.9 MB, free: 6.945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.4662, allocations: 65.69 kB / 454 MB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-06/0.4662, allocations: 0 / 454 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000358/0.4666, allocations: 172.3 kB / 454.2 MB, free: 6.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.4667, allocations: 43.56 kB / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-06/0.4667, allocations: 0 / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4667, allocations: 4.031 kB / 454.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4669, allocations: 19.98 kB / 454.2 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4669, allocations: 4.125 kB / 454.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.467, allocations: 8 kB / 454.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.467, allocations: 4 kB / 454.2 MB, free: 6.609 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 () * 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.0001009/0.4671, allocations: 109 kB / 454.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.4672, allocations: 19.77 kB / 454.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.4675, allocations: 127.2 kB / 454.5 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-06/0.4676, allocations: 4 kB / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.4676, allocations: 0 / 454.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.611e-06/0.4676, allocations: 4 kB / 454.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.4683, allocations: 431.2 kB / 454.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-06/0.4683, allocations: 0 / 454.9 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.654e-05/0.4684, allocations: 15.98 kB / 454.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.461e-06/0.4684, allocations: 0 / 454.9 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4684, allocations: 4 kB / 454.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.675e-06/0.4684, allocations: 4.031 kB / 454.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.406e-06/0.4684, allocations: 4.156 kB / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.4688, allocations: 225.8 kB / 455.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4689, allocations: 105 kB / 455.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.469, allocations: 4 kB / 455.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4691, allocations: 4 kB / 455.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.4691, allocations: 11.98 kB / 455.3 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4692, allocations: 4 kB / 455.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.4694, allocations: 199.9 kB / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.4694, allocations: 0 / 455.5 MB, free: 5.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.4699, allocations: 43.94 kB / 455.5 MB, free: 5.195 MB / 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) * 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.00143/0.4713, allocations: 419.6 kB / 455.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.4717, allocations: 167.3 kB / 456.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4717, allocations: 0 / 456.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.4718, allocations: 35.92 kB / 456.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4721, allocations: 20.12 kB / 456.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.4727, allocations: 244.2 kB / 456.4 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4732, allocations: 0.7356 MB / 457.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.4732, allocations: 19.42 kB / 457.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of SimCode: time 1.901e-06/0.4733, allocations: 0 / 457.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of Templates: time 0.004969/0.4782, allocations: 2.142 MB / 459.3 MB, free: 1.438 MB / 378.7 MB