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.Test34.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.Test34,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.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 234.9 MB / 251.1 MB, free: 10.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 12 kB / 314.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 54.87 MB / 369.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4913, allocations: 82.14 MB / 451.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.4917, allocations: 79.97 kB / 452 MB, free: 8.551 MB / 378.7 MB [/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.02077/0.5125, allocations: 4.583 MB / 456.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5125, allocations: 0 / 456.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.5125, allocations: 0 / 456.6 MB, free: 3.961 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.0006581/0.5132, allocations: 482.6 kB / 457.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5133, allocations: 12.03 kB / 457.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.5133, allocations: 11.81 kB / 457.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.5137, allocations: 198.9 kB / 457.3 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.5137, allocations: 8 kB / 457.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.5138, allocations: 8 kB / 457.3 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.514, allocations: 53.67 kB / 457.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.514, allocations: 3.938 kB / 457.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.514, allocations: 7.953 kB / 457.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.514, allocations: 0 / 457.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5142, allocations: 19.98 kB / 457.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.5147, allocations: 312.9 kB / 457.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.515, allocations: 62.69 kB / 457.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.515, allocations: 7.922 kB / 457.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.5153, allocations: 72.06 kB / 457.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.5153, allocations: 3.938 kB / 457.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000809/0.5161, allocations: 181.1 kB / 458 MB, free: 2.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5162, allocations: 59.41 kB / 458.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.5164, allocations: 182.2 kB / 458.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.5165, allocations: 25.7 kB / 458.3 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.5166, allocations: 166.5 kB / 458.4 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.5166, allocations: 27.64 kB / 458.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.5166, allocations: 0 / 458.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5168, allocations: 318.8 kB / 458.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5169, allocations: 39.97 kB / 458.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5171, allocations: 55.53 kB / 458.9 MB, free: 1.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.5173, allocations: 77.62 kB / 458.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5173, allocations: 0 / 458.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004632/0.5178, allocations: 179.2 kB / 459.1 MB, free: 1.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.5178, allocations: 35.27 kB / 459.2 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5179, allocations: 0 / 459.2 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5179, allocations: 4 kB / 459.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.518, allocations: 23.95 kB / 459.2 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5181, allocations: 4.062 kB / 459.2 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5182, allocations: 8 kB / 459.2 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5182, allocations: 8 kB / 459.2 MB, free: 1.105 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 () * Number of clocked 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.0001468/0.5184, allocations: 125.8 kB / 459.3 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5184, allocations: 15.77 kB / 459.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.5188, allocations: 122.3 kB / 459.5 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5189, allocations: 7.984 kB / 459.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5189, allocations: 0 / 459.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5189, allocations: 0 / 459.5 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.5196, allocations: 415.3 kB / 459.9 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5197, allocations: 0 / 459.9 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.5197, allocations: 8 kB / 459.9 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.5198, allocations: 3.984 kB / 459.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5198, allocations: 4 kB / 459.9 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.5198, allocations: 0 / 459.9 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5198, allocations: 11.91 kB / 459.9 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.5202, allocations: 200.3 kB / 460.1 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.5203, allocations: 105 kB / 460.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.5204, allocations: 8.375 kB / 460.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5205, allocations: 7.922 kB / 460.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.5206, allocations: 8 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.5206, allocations: 11.98 kB / 460.2 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.5208, allocations: 135.5 kB / 460.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5208, allocations: 0 / 460.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.5212, allocations: 43.92 kB / 460.4 MB, free: 15.77 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: 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 (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.001324/0.5225, allocations: 454.8 kB / 460.9 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006226/0.5232, allocations: 175.3 kB / 461 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5232, allocations: 0 / 461 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5234, allocations: 31.94 kB / 461.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.5239, allocations: 19.97 kB / 461.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.5247, allocations: 276 kB / 461.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.5251, allocations: 0.7082 MB / 462.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.5252, allocations: 15.44 kB / 462.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5253, allocations: 0 / 462.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of Templates: time 0.007278/0.5325, allocations: 1.943 MB / 464 MB, free: 12.18 MB / 394.7 MB