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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 16 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4037, allocations: 82.15 MB / 451.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.404, allocations: 79.89 kB / 451.5 MB, free: 8.355 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.0202/0.4242, allocations: 4.829 MB / 456.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.668e-06/0.4243, allocations: 0 / 456.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.4243, allocations: 11.88 kB / 456.3 MB, free: 3.504 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.00069/0.425, allocations: 494 kB / 456.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4251, allocations: 8.031 kB / 456.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.4251, allocations: 19.81 kB / 456.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.4255, allocations: 215.6 kB / 457.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.4255, allocations: 8 kB / 457.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4256, allocations: 4 kB / 457.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4258, allocations: 57.61 kB / 457.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4258, allocations: 3.984 kB / 457.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4258, allocations: 7.953 kB / 457.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-06/0.4258, allocations: 0 / 457.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.426, allocations: 23.97 kB / 457.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.4265, allocations: 328.8 kB / 457.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.4268, allocations: 58.62 kB / 457.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4268, allocations: 4 kB / 457.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.427, allocations: 76.17 kB / 457.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.978e-06/0.427, allocations: 4 kB / 457.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007489/0.4278, allocations: 197 kB / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.4279, allocations: 51.41 kB / 457.9 MB, free: 1.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4282, allocations: 214.1 kB / 458.1 MB, free: 1.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4282, allocations: 29.7 kB / 458.1 MB, free: 1.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4284, allocations: 162.6 kB / 458.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.4284, allocations: 27.64 kB / 458.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.4284, allocations: 4 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4286, allocations: 318.8 kB / 458.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4287, allocations: 39.97 kB / 458.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.4289, allocations: 49.7 kB / 458.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4291, allocations: 77.62 kB / 458.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-06/0.4291, allocations: 4 kB / 458.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005469/0.4297, allocations: 167.3 kB / 458.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.4298, allocations: 45.69 kB / 459 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.919e-06/0.4298, allocations: 0 / 459 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4298, allocations: 4 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.4301, allocations: 19.92 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.574e-06/0.4301, allocations: 0 / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.4303, allocations: 8 kB / 459 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4303, allocations: 4 kB / 459 MB, free: 0.5703 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.0002355/0.4306, allocations: 133.8 kB / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.4307, allocations: 11.81 kB / 459.2 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.4312, allocations: 139 kB / 459.3 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4313, allocations: 3.984 kB / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.821e-06/0.4313, allocations: 0 / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.716e-06/0.4313, allocations: 0 / 459.3 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.4326, allocations: 427.2 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.4326, allocations: 0 / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4328, allocations: 15.94 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-06/0.4328, allocations: 4.031 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4329, allocations: 4 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.4329, allocations: 8.094 kB / 459.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.57e-06/0.4329, allocations: 0 / 459.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.4336, allocations: 229.8 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4338, allocations: 104.9 kB / 460.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.4339, allocations: 12 kB / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4341, allocations: 0 / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.4342, allocations: 7.984 kB / 460.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.4343, allocations: 4 kB / 460.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.4346, allocations: 181.1 kB / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.051e-06/0.4347, allocations: 0 / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.4354, allocations: 47.92 kB / 460.3 MB, free: 15.14 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.002457/0.4379, allocations: 461.6 kB / 460.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006595/0.4386, allocations: 171.2 kB / 460.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.957e-06/0.4386, allocations: 0 / 460.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.4388, allocations: 35.92 kB / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.4393, allocations: 24.06 kB / 461 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4404, allocations: 332.4 kB / 461.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.441, allocations: 0.7274 MB / 462.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.4411, allocations: 19.42 kB / 462.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.902e-06/0.4412, allocations: 0 / 462.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of Templates: time 0.008254/0.4494, allocations: 2.085 MB / 464.2 MB, free: 11.32 MB / 394.7 MB