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.Test80.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.Test80,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.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 234.9 MB / 251.1 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007439/0.0007441, allocations: 12 kB / 315 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4262, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5736, allocations: 82.18 MB / 452 MB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.574, allocations: 75.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.0231/0.5971, allocations: 5.347 MB / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5971, allocations: 0 / 457.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.5972, 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.0008461/0.598, allocations: 0.5755 MB / 458 MB, free: 2.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5981, allocations: 12.03 kB / 458 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.5982, allocations: 15.81 kB / 458 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.5986, allocations: 230.8 kB / 458.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.5987, allocations: 8 kB / 458.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.5987, allocations: 8 kB / 458.3 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.599, allocations: 101.1 kB / 458.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5991, allocations: 0 / 458.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.5991, allocations: 3.953 kB / 458.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5991, allocations: 0 / 458.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.5993, allocations: 47.84 kB / 458.4 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.5997, allocations: 234.4 kB / 458.6 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.6001, allocations: 113.2 kB / 458.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.6002, allocations: 0 / 458.7 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.6005, allocations: 113.1 kB / 458.9 MB, free: 1.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 5.14e-06/0.6005, allocations: 3.938 kB / 458.9 MB, free: 1.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007481/0.6013, allocations: 177.3 kB / 459 MB, free: 1.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.6014, allocations: 140.4 kB / 459.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.6017, allocations: 206.5 kB / 459.4 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6018, allocations: 25.7 kB / 459.4 MB, free: 0.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.6019, allocations: 170.8 kB / 459.6 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.6019, allocations: 39.62 kB / 459.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.602, allocations: 4 kB / 459.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6021, allocations: 318.8 kB / 459.9 MB, free: 220 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.6023, allocations: 43.98 kB / 460 MB, free: 176 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.6026, allocations: 97.72 kB / 460.1 MB, free: 60 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.6029, allocations: 127.4 kB / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6029, allocations: 0 / 460.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006758/0.6036, allocations: 248.8 kB / 460.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.6037, allocations: 69.42 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6037, allocations: 0.625 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.6037, allocations: 4 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6039, allocations: 19.98 kB / 460.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.6039, allocations: 12.02 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.6041, allocations: 23.83 kB / 460.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.6042, allocations: 12 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.0001745/0.6044, allocations: 133.8 kB / 460.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6044, allocations: 19.8 kB / 460.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.605, allocations: 166.5 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.605, allocations: 4 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.605, allocations: 0 / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6051, allocations: 11.94 kB / 460.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.6053, allocations: 213.5 kB / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6053, allocations: 0 / 461.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.6054, allocations: 8 kB / 461.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.6054, allocations: 4 kB / 461.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.6055, allocations: 7.984 kB / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.6055, allocations: 4 kB / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6055, allocations: 0 / 461.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.606, allocations: 185.6 kB / 461.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6062, allocations: 108.9 kB / 461.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.6062, allocations: 4 kB / 461.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6064, allocations: 7.984 kB / 461.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.6064, allocations: 11.98 kB / 461.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6065, allocations: 4 kB / 461.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.6067, allocations: 152.2 kB / 461.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6067, allocations: 0 / 461.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.6072, allocations: 83.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.002119/0.6093, allocations: 0.7287 MB / 462.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.6101, allocations: 278.6 kB / 462.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6101, allocations: 0 / 462.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.6103, allocations: 43.98 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.0004254/0.6107, allocations: 47.27 kB / 462.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.6115, allocations: 320.8 kB / 463.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.6119, allocations: 0.7204 MB / 463.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.612, allocations: 27.42 kB / 463.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.612, allocations: 0 / 463.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of Templates: time 0.00808/0.6201, allocations: 3.068 MB / 466.9 MB, free: 9.078 MB / 394.7 MB