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.Test34.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.183/2.183, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.567e-05, allocations: 11.94 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3557, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4821, allocations: 81.39 MB / 439.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4824, allocations: 67.97 kB / 439.5 MB, free: 13.34 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.0195/0.5019, allocations: 4.528 MB / 444 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.502, allocations: 0 / 444 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.502, allocations: 8 kB / 444 MB, free: 8.805 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.000587/0.5026, allocations: 453.5 kB / 444.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5026, allocations: 8.031 kB / 444.5 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.5027, allocations: 11.91 kB / 444.5 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.5031, allocations: 211.4 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.5031, allocations: 0 / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.5032, allocations: 4 kB / 444.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.772e-05/0.5033, allocations: 16 kB / 444.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5034, allocations: 61.67 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5034, allocations: 3.953 kB / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5034, allocations: 0 / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-06/0.5035, allocations: 0 / 444.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5039, allocations: 297.3 kB / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.5041, allocations: 50.64 kB / 445.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.5041, allocations: 24.97 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5042, allocations: 4 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.5043, allocations: 63.36 kB / 445.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.7e-06/0.5044, allocations: 0 / 445.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.5049, allocations: 149.3 kB / 445.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.505, allocations: 51.41 kB / 445.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.5052, allocations: 162 kB / 445.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5053, allocations: 29.7 kB / 445.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5054, allocations: 166.5 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.5054, allocations: 23.7 kB / 445.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-06/0.5054, allocations: 0 / 445.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5056, allocations: 319.5 kB / 446.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.5057, allocations: 32 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5058, allocations: 45.66 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5059, allocations: 43.92 kB / 446.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-06/0.506, allocations: 4 kB / 446.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003185/0.5063, allocations: 125.7 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.5063, allocations: 33.7 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.5064, allocations: 3.953 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5064, allocations: 4 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5065, allocations: 19.92 kB / 446.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.808e-06/0.5065, allocations: 0 / 446.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.5066, allocations: 4 kB / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.5067, allocations: 8 kB / 446.4 MB, free: 6.195 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.0001043/0.5068, allocations: 117 kB / 446.5 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.5068, allocations: 11.81 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.5072, allocations: 114.2 kB / 446.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.336e-06/0.5072, allocations: 7.953 kB / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5072, allocations: 0 / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-06/0.5072, allocations: 0 / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.5078, allocations: 391.9 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5078, allocations: 0 / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.5079, allocations: 8 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.5079, allocations: 3.953 kB / 447.1 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5079, allocations: 4 kB / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-06/0.508, allocations: 192 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.508, allocations: 0 / 447.1 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.5083, allocations: 221.9 kB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.5084, allocations: 96.95 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.5084, allocations: 7.984 kB / 447.4 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5086, allocations: 4 kB / 447.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.5086, allocations: 4 kB / 447.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5087, allocations: 7.984 kB / 447.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5088, allocations: 135.4 kB / 447.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.5088, allocations: 0 / 447.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.5092, allocations: 35.98 kB / 447.6 MB, free: 4.941 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.001251/0.5105, allocations: 376.8 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.5108, allocations: 155.3 kB / 448.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.358e-06/0.5109, allocations: 0 / 448.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.5109, allocations: 32.06 kB / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5113, allocations: 19.52 kB / 448.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.5118, allocations: 188 kB / 448.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5122, allocations: 0.7119 MB / 449 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.5123, allocations: 19.42 kB / 449.1 MB, free: 3.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.632e-06/0.5123, allocations: 4.062 kB / 449.1 MB, free: 3.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004862/0.5171, allocations: 1.921 MB / 451 MB, free: 1.516 MB / 378.7 MB