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.Test68.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.Test68,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.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.668/2.668, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000607/0.0006072, allocations: 12 kB / 314.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3988, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.557, allocations: 81.99 MB / 451.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5574, allocations: 83.89 kB / 451.9 MB, free: 8.527 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.02648/0.5839, allocations: 5.96 MB / 457.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.584, allocations: 0 / 457.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.584, allocations: 4 kB / 457.8 MB, free: 2.551 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.001397/0.5854, allocations: 0.8235 MB / 458.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5855, allocations: 12.03 kB / 458.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.5856, allocations: 59.34 kB / 458.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.5868, allocations: 467.1 kB / 459.2 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.5868, allocations: 7.938 kB / 459.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.5869, allocations: 8 kB / 459.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.5872, allocations: 84.08 kB / 459.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5872, allocations: 3.953 kB / 459.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.5872, allocations: 8 kB / 459.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5873, allocations: 4 kB / 459.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.5875, allocations: 39.91 kB / 459.3 MB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.5881, allocations: 398.3 kB / 459.7 MB, free: 488 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.5886, allocations: 117.2 kB / 459.9 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5886, allocations: 0 / 459.9 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.5889, allocations: 113 kB / 460 MB, free: 220 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.589, allocations: 0 / 460 MB, free: 220 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008442/0.5898, allocations: 216.9 kB / 460.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5899, allocations: 81.11 kB / 460.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.5921, allocations: 0.9753 MB / 461.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.5922, allocations: 29.7 kB / 461.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5924, allocations: 258.7 kB / 461.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.5925, allocations: 23.72 kB / 461.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.5925, allocations: 4 kB / 461.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5927, allocations: 322.8 kB / 461.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.5929, allocations: 55.97 kB / 461.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.5932, allocations: 99.94 kB / 462 MB, free: 14.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.5936, allocations: 131.4 kB / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5936, allocations: 3.984 kB / 462.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007717/0.5944, allocations: 276.8 kB / 462.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.5945, allocations: 73.17 kB / 462.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5945, allocations: 0 / 462.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.5945, allocations: 11.97 kB / 462.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.5947, allocations: 23.89 kB / 462.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.5947, allocations: 7.938 kB / 462.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.5951, allocations: 31.77 kB / 462.6 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.5951, allocations: 8 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.0004053/0.5955, allocations: 217.8 kB / 462.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5957, allocations: 55.34 kB / 462.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.5964, allocations: 202 kB / 463 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5964, allocations: 0 / 463 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5964, allocations: 11.89 kB / 463 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5964, allocations: 0 / 463 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.597, allocations: 381.4 kB / 463.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.597, allocations: 0 / 463.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.5971, allocations: 11.94 kB / 463.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.5971, allocations: 4 kB / 463.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.5971, allocations: 7.984 kB / 463.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5972, allocations: 0 / 463.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5972, allocations: 4 kB / 463.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.5978, allocations: 217.2 kB / 463.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.5982, allocations: 196.4 kB / 463.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5983, allocations: 8 kB / 463.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5985, allocations: 11.98 kB / 463.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.5986, allocations: 12 kB / 463.9 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.5986, allocations: 7.984 kB / 463.9 MB, free: 12.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001478/0.6001, allocations: 0.7173 MB / 464.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.675e-06/0.6001, allocations: 4 kB / 464.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000578/0.6007, allocations: 111.9 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.001901/0.6026, allocations: 0.5814 MB / 465.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.6034, allocations: 298.7 kB / 465.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6034, allocations: 0 / 465.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.6036, allocations: 47.92 kB / 465.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.6042, allocations: 57.8 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.002254/0.6065, allocations: 1.016 MB / 466.7 MB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.6071, allocations: 0.8468 MB / 467.5 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.6073, allocations: 43.44 kB / 467.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6073, allocations: 0 / 467.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of Templates: time 0.01568/0.623, allocations: 5.779 MB / 473.4 MB, free: 2.566 MB / 394.7 MB