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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006587, allocations: 12 kB / 314.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3953, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.5863, allocations: 82.89 MB / 452.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5867, allocations: 75.97 kB / 452.8 MB, free: 7.645 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. Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.6029, allocations: 3.622 MB / 456.4 MB, free: 4.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6029, allocations: 4 kB / 456.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.6029, allocations: 4 kB / 456.4 MB, free: 4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008061/0.6038, allocations: 0.5115 MB / 456.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6038, allocations: 8.031 kB / 456.9 MB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.6039, allocations: 19.77 kB / 456.9 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.6043, allocations: 219.5 kB / 457.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.6043, allocations: 8 kB / 457.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.6044, allocations: 8 kB / 457.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.6047, allocations: 85.64 kB / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6047, allocations: 0 / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6047, allocations: 0 / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6047, allocations: 7.953 kB / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.605, allocations: 55.89 kB / 457.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.6058, allocations: 372.6 kB / 457.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.6063, allocations: 98.55 kB / 457.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6063, allocations: 4 kB / 457.8 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.6066, allocations: 87.36 kB / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.6066, allocations: 0 / 457.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006783/0.6073, allocations: 157.4 kB / 458 MB, free: 2.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6074, allocations: 55.41 kB / 458.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.6076, allocations: 171.2 kB / 458.2 MB, free: 1.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.6077, allocations: 29.7 kB / 458.3 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.6078, allocations: 178.4 kB / 458.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.6078, allocations: 23.7 kB / 458.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.6079, allocations: 0 / 458.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.608, allocations: 318.8 kB / 458.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.6082, allocations: 47.97 kB / 458.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.6084, allocations: 70.48 kB / 458.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.6087, allocations: 81.81 kB / 459 MB, free: 1.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6087, allocations: 8 kB / 459 MB, free: 1.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000579/0.6093, allocations: 203.1 kB / 459.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.6094, allocations: 39.72 kB / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6094, allocations: 0 / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6094, allocations: 4 kB / 459.2 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.6096, allocations: 19.98 kB / 459.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.6096, allocations: 7.922 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.6098, allocations: 23.91 kB / 459.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.6098, allocations: 12 kB / 459.3 MB, free: 0.8477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001519/0.61, allocations: 125.8 kB / 459.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.61, allocations: 15.86 kB / 459.4 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.6105, allocations: 131 kB / 459.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6106, allocations: 4 kB / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6106, allocations: 0 / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6106, allocations: 0 / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.6108, allocations: 213.5 kB / 459.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6109, allocations: 4 kB / 459.8 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.611, allocations: 11.98 kB / 459.8 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.611, allocations: 4 kB / 459.8 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.6111, allocations: 8.516 kB / 459.8 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.6111, allocations: 0 / 459.8 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6111, allocations: 3.938 kB / 459.8 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.6118, allocations: 200.8 kB / 460 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6119, allocations: 100.9 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.612, allocations: 0 / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6121, allocations: 15.94 kB / 460.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.6121, allocations: 12.06 kB / 460.1 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.6122, allocations: 3.984 kB / 460.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.6123, allocations: 124.9 kB / 460.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6123, allocations: 0 / 460.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.6127, allocations: 40.06 kB / 460.3 MB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001158/0.6139, allocations: 420.2 kB / 460.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.6144, allocations: 179.3 kB / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6144, allocations: 4.125 kB / 460.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.6146, allocations: 47.91 kB / 460.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.615, allocations: 23.98 kB / 460.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.6158, allocations: 312 kB / 461.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.6161, allocations: 0.7121 MB / 462 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.6162, allocations: 23.36 kB / 462 MB, free: 14.05 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6162, allocations: 0 / 462 MB, free: 14.05 MB / 394.7 MB Notification: Performance of Templates: time 0.006228/0.6225, allocations: 2.08 MB / 464.1 MB, free: 11.98 MB / 394.7 MB