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.Test46.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.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.253e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.4916, allocations: 82.06 MB / 446.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4918, allocations: 68.84 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.02061/0.5125, allocations: 4.878 MB / 451.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.5125, allocations: 0 / 451.5 MB, free: 9.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.5125, allocations: 12 kB / 451.6 MB, free: 9.484 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.0006174/0.5132, allocations: 465.6 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5132, allocations: 15.91 kB / 452 MB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.5133, allocations: 15.81 kB / 452 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.5137, allocations: 218.7 kB / 452.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.5138, allocations: 8 kB / 452.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.5138, allocations: 4 kB / 452.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.514, allocations: 57.67 kB / 452.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.514, allocations: 0 / 452.3 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.514, allocations: 3.953 kB / 452.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.514, allocations: 4.875 kB / 452.3 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.5141, allocations: 19.94 kB / 452.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.5147, allocations: 325.7 kB / 452.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.5148, allocations: 58.69 kB / 452.7 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.5149, allocations: 16.98 kB / 452.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.5149, allocations: 3.953 kB / 452.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.5151, allocations: 75.45 kB / 452.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.684e-06/0.5151, allocations: 0 / 452.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.5157, allocations: 177 kB / 453 MB, free: 7.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.5158, allocations: 51.41 kB / 453 MB, free: 7.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.5162, allocations: 241.7 kB / 453.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.5162, allocations: 26.45 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5163, allocations: 170.6 kB / 453.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.5164, allocations: 23.66 kB / 453.5 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-06/0.5164, allocations: 3.938 kB / 453.5 MB, free: 7.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5166, allocations: 322.8 kB / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5167, allocations: 32 kB / 453.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5168, allocations: 53.7 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.517, allocations: 73.69 kB / 454 MB, free: 6.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-06/0.517, allocations: 0.75 kB / 454 MB, free: 6.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003722/0.5174, allocations: 171.3 kB / 454.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.5175, allocations: 39.56 kB / 454.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-06/0.5175, allocations: 0 / 454.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5175, allocations: 0 / 454.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.5176, allocations: 19.98 kB / 454.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.66e-06/0.5177, allocations: 0 / 454.2 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.5178, allocations: 8.875 kB / 454.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5178, allocations: 8 kB / 454.2 MB, free: 6.578 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.0001054/0.5179, allocations: 114.6 kB / 454.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.518, allocations: 15.77 kB / 454.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5183, allocations: 124.5 kB / 454.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5183, allocations: 0 / 454.5 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-06/0.5183, allocations: 4 kB / 454.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-06/0.5184, allocations: 0 / 454.5 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.5191, allocations: 443.1 kB / 454.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-06/0.5191, allocations: 0 / 454.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.5192, allocations: 12 kB / 454.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-06/0.5192, allocations: 3.984 kB / 454.9 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.5192, allocations: 0 / 454.9 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5192, allocations: 4 kB / 454.9 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-06/0.5192, allocations: 0 / 454.9 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.5196, allocations: 227.2 kB / 455.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5197, allocations: 105 kB / 455.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.5198, allocations: 8 kB / 455.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5199, allocations: 4 kB / 455.3 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.52, allocations: 7.984 kB / 455.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.52, allocations: 192 / 455.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.5203, allocations: 195.9 kB / 455.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.5203, allocations: 8 kB / 455.5 MB, free: 5.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.5207, allocations: 43.84 kB / 455.5 MB, free: 5.168 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.001459/0.5222, allocations: 427.4 kB / 455.9 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.5225, allocations: 159.3 kB / 456.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.333e-06/0.5226, allocations: 0 / 456.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.5227, allocations: 39.98 kB / 456.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.523, allocations: 20.12 kB / 456.1 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.5237, allocations: 252.2 kB / 456.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.5241, allocations: 0.716 MB / 457.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.5242, allocations: 19.42 kB / 457.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.6e-06/0.5242, allocations: 4.062 kB / 457.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of Templates: time 0.005097/0.5293, allocations: 2.142 MB / 459.3 MB, free: 1.414 MB / 378.7 MB