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.Test45.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.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006094/0.0006092, allocations: 16 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3421, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4892, allocations: 82.14 MB / 451.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4895, allocations: 79.89 kB / 452 MB, free: 8.391 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.02123/0.5107, allocations: 4.649 MB / 456.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5108, allocations: 4 kB / 456.7 MB, free: 3.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.5108, allocations: 4 kB / 456.7 MB, free: 3.727 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.0006369/0.5114, allocations: 486 kB / 457.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5115, allocations: 8.031 kB / 457.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.5116, allocations: 15.89 kB / 457.2 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.5119, allocations: 198.9 kB / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.512, allocations: 4 kB / 457.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.512, allocations: 8 kB / 457.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.5122, allocations: 57.61 kB / 457.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5122, allocations: 0 / 457.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5123, allocations: 3.953 kB / 457.4 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5123, allocations: 4 kB / 457.4 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.5124, allocations: 23.98 kB / 457.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.5129, allocations: 320.7 kB / 457.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5132, allocations: 66.61 kB / 457.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.5132, allocations: 0 / 457.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.5134, allocations: 76 kB / 457.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.5134, allocations: 0 / 457.9 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007928/0.5142, allocations: 189.1 kB / 458.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.5143, allocations: 55.41 kB / 458.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.5146, allocations: 199.2 kB / 458.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5147, allocations: 29.7 kB / 458.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.5148, allocations: 162.6 kB / 458.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.5148, allocations: 19.72 kB / 458.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.5148, allocations: 0 / 458.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.515, allocations: 322.8 kB / 458.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5151, allocations: 35.98 kB / 458.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.5153, allocations: 65.56 kB / 459 MB, free: 1.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.5155, allocations: 69.7 kB / 459 MB, free: 1.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5155, allocations: 0 / 459 MB, free: 1.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004552/0.516, allocations: 179.2 kB / 459.2 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.516, allocations: 37.69 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5161, allocations: 0 / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5161, allocations: 4.375 kB / 459.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5162, allocations: 12 kB / 459.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5163, allocations: 8.016 kB / 459.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5164, allocations: 12 kB / 459.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.5164, allocations: 8 kB / 459.3 MB, free: 0.8398 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.0001426/0.5166, allocations: 129.8 kB / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.5166, allocations: 11.86 kB / 459.4 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.517, allocations: 119 kB / 459.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.517, allocations: 4 kB / 459.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5171, allocations: 0 / 459.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5171, allocations: 4 kB / 459.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.5178, allocations: 419.2 kB / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5178, allocations: 0 / 460 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.5179, allocations: 11.94 kB / 460 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5179, allocations: 0 / 460 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.5179, allocations: 7.984 kB / 460 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5179, allocations: 3.938 kB / 460 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5179, allocations: 0 / 460 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.5183, allocations: 220.4 kB / 460.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5185, allocations: 104.9 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.5185, allocations: 0 / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5187, allocations: 7.984 kB / 460.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.5187, allocations: 8 kB / 460.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.5188, allocations: 3.984 kB / 460.3 MB, free: 15.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.519, allocations: 144 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.519, allocations: 0 / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.5194, allocations: 43.92 kB / 460.5 MB, free: 15.51 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.001313/0.5207, allocations: 458.7 kB / 461 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.5212, allocations: 171.3 kB / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5213, allocations: 4.062 kB / 461.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.5214, allocations: 39.91 kB / 461.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.5218, allocations: 15.98 kB / 461.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.5225, allocations: 288.3 kB / 461.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.5229, allocations: 0.7082 MB / 462.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.5229, allocations: 19.44 kB / 462.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.523, allocations: 0 / 462.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of Templates: time 0.005875/0.5288, allocations: 1.986 MB / 464.2 MB, free: 11.84 MB / 394.7 MB