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.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006683, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4743, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.6551, allocations: 82.17 MB / 452 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/0.6556, allocations: 79.97 kB / 452.1 MB, free: 8.375 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$t_new.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$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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03478/0.6904, allocations: 5.347 MB / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.6904, allocations: 0 / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.6905, allocations: 4 kB / 457.4 MB, free: 3.012 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.001707/0.6922, allocations: 0.5793 MB / 458 MB, free: 2.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.6923, allocations: 8.031 kB / 458 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.6924, allocations: 15.81 kB / 458 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.6931, allocations: 238.8 kB / 458.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.6931, allocations: 0 / 458.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.6932, allocations: 8 kB / 458.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.6936, allocations: 105 kB / 458.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6936, allocations: 0 / 458.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.6937, allocations: 3.953 kB / 458.4 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.6937, allocations: 4 kB / 458.4 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.694, allocations: 39.91 kB / 458.4 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.6947, allocations: 230.4 kB / 458.6 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.6954, allocations: 113.2 kB / 458.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.6954, allocations: 8 kB / 458.7 MB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.6959, allocations: 105 kB / 458.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 5.731e-06/0.6959, allocations: 4 kB / 458.8 MB, free: 1.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008715/0.6968, allocations: 185.3 kB / 459 MB, free: 1.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.6969, allocations: 132.5 kB / 459.2 MB, free: 1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.6973, allocations: 214.5 kB / 459.4 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.6974, allocations: 29.7 kB / 459.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.6975, allocations: 166.8 kB / 459.6 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.6975, allocations: 35.62 kB / 459.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.6976, allocations: 4 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6977, allocations: 314.8 kB / 459.9 MB, free: 224 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.6979, allocations: 47.97 kB / 460 MB, free: 176 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.6982, allocations: 104.6 kB / 460.1 MB, free: 56 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.6985, allocations: 123.3 kB / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6986, allocations: 0 / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006806/0.6992, allocations: 248.8 kB / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.356e-05/0.6994, allocations: 69.52 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6994, allocations: 4 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6994, allocations: 0 / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6996, allocations: 28.61 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6996, allocations: 3.953 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.6998, allocations: 23.78 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.6999, allocations: 11.98 kB / 460.6 MB, free: 15.51 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0002102/0.7001, allocations: 129.8 kB / 460.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.7002, allocations: 23.8 kB / 460.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.7008, allocations: 170.5 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7008, allocations: 4 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7008, allocations: 0 / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7008, allocations: 3.953 kB / 460.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.7011, allocations: 217.5 kB / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.7011, allocations: 4 kB / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.7012, allocations: 8 kB / 461.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.7012, allocations: 0 / 461.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.7013, allocations: 8 kB / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7013, allocations: 0 / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7013, allocations: 3.938 kB / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.7018, allocations: 185.6 kB / 461.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.702, allocations: 108.9 kB / 461.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.7021, allocations: 4 kB / 461.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.7022, allocations: 11.98 kB / 461.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.7023, allocations: 8 kB / 461.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.7023, allocations: 11.98 kB / 461.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.7026, allocations: 148.2 kB / 461.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7026, allocations: 0 / 461.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000521/0.7031, allocations: 79.86 kB / 461.7 MB, free: 14.3 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.00228/0.7054, allocations: 0.7282 MB / 462.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007622/0.7062, allocations: 274.8 kB / 462.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.7062, allocations: 0 / 462.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.7064, allocations: 47.91 kB / 462.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.7069, allocations: 47.62 kB / 462.8 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.7078, allocations: 317 kB / 463.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.7082, allocations: 0.7243 MB / 463.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.7083, allocations: 19.44 kB / 463.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7083, allocations: 0 / 463.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of Templates: time 0.01018/0.7185, allocations: 3.068 MB / 466.9 MB, free: 9.082 MB / 394.7 MB