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.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.000442, allocations: 16 kB / 314.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3464, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4954, allocations: 81.98 MB / 451.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.4958, allocations: 75.97 kB / 451.9 MB, free: 8.547 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02201/0.5178, allocations: 4.737 MB / 456.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5178, allocations: 0 / 456.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.5178, allocations: 0 / 456.6 MB, free: 3.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007375/0.5186, allocations: 489.9 kB / 457.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5187, allocations: 12.03 kB / 457.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.5188, allocations: 11.89 kB / 457.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.5192, allocations: 222.7 kB / 457.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.5193, allocations: 4 kB / 457.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5193, allocations: 4 kB / 457.3 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.5195, allocations: 49.67 kB / 457.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5196, allocations: 4 kB / 457.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.5196, allocations: 7.953 kB / 457.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5196, allocations: 3.984 kB / 457.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.5197, allocations: 15.98 kB / 457.4 MB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.5201, allocations: 201.7 kB / 457.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.5203, allocations: 58.55 kB / 457.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.5204, allocations: 4 kB / 457.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.5206, allocations: 67.39 kB / 457.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 6.222e-06/0.5206, allocations: 0 / 457.7 MB, free: 2.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004806/0.5211, allocations: 117.3 kB / 457.8 MB, free: 2.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.5212, allocations: 55.36 kB / 457.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.5216, allocations: 251.2 kB / 458.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.5217, allocations: 29.7 kB / 458.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.5218, allocations: 174.5 kB / 458.3 MB, free: 1.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.5219, allocations: 15.75 kB / 458.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.5219, allocations: 4 kB / 458.4 MB, free: 1.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.522, allocations: 314.8 kB / 458.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5222, allocations: 27.98 kB / 458.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.5223, allocations: 53.67 kB / 458.8 MB, free: 1.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.5225, allocations: 69.69 kB / 458.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5225, allocations: 4 kB / 458.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004348/0.523, allocations: 151.2 kB / 459 MB, free: 1.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.5231, allocations: 37.69 kB / 459 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5231, allocations: 0 / 459 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.5231, allocations: 0 / 459 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.5233, allocations: 15.94 kB / 459 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.5233, allocations: 3.953 kB / 459 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.5234, allocations: 8 kB / 459 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.5235, allocations: 7.984 kB / 459 MB, free: 1.094 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 (8): * Single equations (assignments): 7 * 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.0001851/0.5237, allocations: 137.9 kB / 459.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.5237, allocations: 15.81 kB / 459.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.5241, allocations: 94.67 kB / 459.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5241, allocations: 0 / 459.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5241, allocations: 0 / 459.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5242, allocations: 11.88 kB / 459.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.5244, allocations: 201.6 kB / 459.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.5244, allocations: 3.984 kB / 459.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.5245, allocations: 4 kB / 459.5 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5245, allocations: 4 kB / 459.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5245, allocations: 0 / 459.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5246, allocations: 0 / 459.5 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5246, allocations: 4 kB / 459.5 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.5249, allocations: 124.8 kB / 459.6 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5251, allocations: 104.9 kB / 459.7 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.5251, allocations: 0 / 459.7 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.5252, allocations: 12.42 kB / 459.7 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.5253, allocations: 4 kB / 459.8 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5253, allocations: 0 / 459.8 MB, free: 292 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003202/0.5256, allocations: 192.2 kB / 459.9 MB, free: 100 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5256, allocations: 3.938 kB / 459.9 MB, free: 96 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.526, allocations: 36 kB / 460 MB, free: 60 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001237/0.5272, allocations: 403.5 kB / 460.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.5278, allocations: 151.4 kB / 460.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5278, allocations: 0 / 460.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5279, allocations: 23.94 kB / 460.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5283, allocations: 28.12 kB / 460.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.5291, allocations: 327.5 kB / 460.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.5294, allocations: 0.716 MB / 461.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.5295, allocations: 15.44 kB / 461.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5295, allocations: 0 / 461.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.005979/0.5355, allocations: 1.918 MB / 463.5 MB, free: 12.49 MB / 394.7 MB