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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.633/2.633, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006329, allocations: 12 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4363, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5973, allocations: 82 MB / 451.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.5976, allocations: 79.95 kB / 451.9 MB, free: 8.52 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02627/0.6239, allocations: 5.948 MB / 457.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.624, allocations: 3.938 kB / 457.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.624, allocations: 12 kB / 457.9 MB, free: 2.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00135/0.6254, allocations: 0.8196 MB / 458.7 MB, free: 1.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6254, allocations: 11.97 kB / 458.7 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.6256, allocations: 51.34 kB / 458.7 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.6268, allocations: 459.2 kB / 459.2 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.6268, allocations: 8 kB / 459.2 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.6269, allocations: 8 kB / 459.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.6272, allocations: 92.08 kB / 459.3 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6272, allocations: 3.953 kB / 459.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.6272, allocations: 7.969 kB / 459.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6273, allocations: 4 kB / 459.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.6275, allocations: 35.92 kB / 459.3 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.6281, allocations: 410.2 kB / 459.7 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.6285, allocations: 117.1 kB / 459.9 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.6286, allocations: 0 / 459.9 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.6289, allocations: 121 kB / 460 MB, free: 208 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.6289, allocations: 0 / 460 MB, free: 208 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008543/0.6298, allocations: 213 kB / 460.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6299, allocations: 81.05 kB / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.632, allocations: 0.9714 MB / 461.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.6321, allocations: 37.64 kB / 461.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6323, allocations: 250.8 kB / 461.5 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.6324, allocations: 31.7 kB / 461.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.6324, allocations: 4 kB / 461.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6326, allocations: 318.8 kB / 461.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.6329, allocations: 63.97 kB / 461.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.6331, allocations: 94.84 kB / 462 MB, free: 14.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.6335, allocations: 131.4 kB / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6335, allocations: 0 / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007939/0.6343, allocations: 284.8 kB / 462.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.6344, allocations: 63.39 kB / 462.5 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.6344, allocations: 4 kB / 462.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.6345, allocations: 3.938 kB / 462.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.6347, allocations: 31.94 kB / 462.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6347, allocations: 0 / 462.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.635, allocations: 27.84 kB / 462.6 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.6351, allocations: 11.98 kB / 462.6 MB, free: 13.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004477/0.6356, allocations: 221.7 kB / 462.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6357, allocations: 51.34 kB / 462.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.6364, allocations: 201.3 kB / 463 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6364, allocations: 4 kB / 463 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.6364, allocations: 3.953 kB / 463 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6364, allocations: 7.984 kB / 463 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.637, allocations: 370 kB / 463.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.637, allocations: 0 / 463.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.6371, allocations: 15.98 kB / 463.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6371, allocations: 0 / 463.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6372, allocations: 8 kB / 463.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.6372, allocations: 4 kB / 463.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6372, allocations: 0 / 463.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.6378, allocations: 229.1 kB / 463.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.6383, allocations: 200.4 kB / 463.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.6384, allocations: 4 kB / 463.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6385, allocations: 12 kB / 463.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.6386, allocations: 7.984 kB / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.6387, allocations: 4 kB / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001429/0.6401, allocations: 0.7252 MB / 464.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6401, allocations: 4 kB / 464.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005461/0.6407, allocations: 99.94 kB / 464.7 MB, free: 11.25 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001815/0.6425, allocations: 0.5901 MB / 465.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007841/0.6433, allocations: 306.6 kB / 465.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.6433, allocations: 0 / 465.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.6435, allocations: 47.92 kB / 465.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.6441, allocations: 54.27 kB / 465.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.6465, allocations: 1.02 MB / 466.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.6471, allocations: 0.8507 MB / 467.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.6473, allocations: 35.44 kB / 467.6 MB, free: 8.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6473, allocations: 3.938 kB / 467.6 MB, free: 8.344 MB / 394.7 MB Notification: Performance of Templates: time 0.015/0.6623, allocations: 5.775 MB / 473.4 MB, free: 2.562 MB / 394.7 MB