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.Test30.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.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.248e-05, allocations: 8 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 54.86 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4662, allocations: 82.07 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.4666, allocations: 71.97 kB / 446.7 MB, free: 14.34 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.02768/0.4944, allocations: 4.561 MB / 451.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4944, allocations: 0 / 451.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.4944, allocations: 4 kB / 451.2 MB, free: 9.801 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.0005888/0.495, allocations: 445.6 kB / 451.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4951, allocations: 15.95 kB / 451.7 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.4951, allocations: 15.91 kB / 451.7 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.4955, allocations: 202.8 kB / 451.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.4955, allocations: 5.5 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.4956, allocations: 4 kB / 451.9 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.4957, allocations: 53.67 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4958, allocations: 0 / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.4958, allocations: 3.953 kB / 452 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.933e-06/0.4958, allocations: 7.984 kB / 452 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.4959, allocations: 23.98 kB / 452 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.4964, allocations: 316.7 kB / 452.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.4966, allocations: 54.69 kB / 452.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.4966, allocations: 16.98 kB / 452.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4967, allocations: 7.938 kB / 452.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.4969, allocations: 72.34 kB / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.661e-06/0.4969, allocations: 0 / 452.5 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005698/0.4975, allocations: 161.3 kB / 452.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4975, allocations: 51.41 kB / 452.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.4978, allocations: 173.2 kB / 452.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.4978, allocations: 30.45 kB / 452.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4979, allocations: 166.5 kB / 453 MB, free: 7.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.498, allocations: 23.66 kB / 453.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.498, allocations: 12 kB / 453.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4982, allocations: 314.8 kB / 453.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4983, allocations: 36 kB / 453.4 MB, free: 7.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4984, allocations: 45.72 kB / 453.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4986, allocations: 73.67 kB / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-06/0.4986, allocations: 0.8438 kB / 453.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003686/0.499, allocations: 175.4 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.499, allocations: 41.72 kB / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.214e-06/0.4991, allocations: 0 / 453.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4991, allocations: 4 kB / 453.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4992, allocations: 16 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.348e-06/0.4992, allocations: 0 / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.4993, allocations: 11.98 kB / 453.8 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4994, allocations: 5.406 kB / 453.8 MB, free: 7.023 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.0001098/0.4995, allocations: 118.8 kB / 453.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4995, allocations: 11.86 kB / 453.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.4999, allocations: 118.2 kB / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-06/0.4999, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4999, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4999, allocations: 0 / 454 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006261/0.5005, allocations: 419.2 kB / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5006, allocations: 0 / 454.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.5006, allocations: 9.875 kB / 454.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.337e-06/0.5006, allocations: 0 / 454.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5007, allocations: 8.031 kB / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.718e-06/0.5007, allocations: 0 / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5007, allocations: 0 / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.501, allocations: 221.8 kB / 454.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5012, allocations: 101 kB / 454.8 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.5012, allocations: 4 kB / 454.8 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5013, allocations: 8 kB / 454.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.5014, allocations: 7.984 kB / 454.8 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5014, allocations: 7.938 kB / 454.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.5016, allocations: 135.2 kB / 454.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5016, allocations: 0 / 454.9 MB, free: 5.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.502, allocations: 35.98 kB / 455 MB, free: 5.73 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.001434/0.5034, allocations: 438 kB / 455.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.5038, allocations: 163.3 kB / 455.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.978e-06/0.5038, allocations: 0 / 455.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.5039, allocations: 28 kB / 455.6 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.5042, allocations: 19.94 kB / 455.6 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.5047, allocations: 192.5 kB / 455.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.5052, allocations: 0.7121 MB / 456.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.5052, allocations: 11.44 kB / 456.5 MB, free: 4.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.595e-06/0.5052, allocations: 4 kB / 456.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of Templates: time 0.004715/0.51, allocations: 1.923 MB / 458.4 MB, free: 2.273 MB / 378.7 MB