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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.819e-05, allocations: 8 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4068, allocations: 81.39 MB / 439.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.407, allocations: 75.95 kB / 439.5 MB, free: 13.36 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.0302/0.4373, allocations: 4.834 MB / 444.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.273e-06/0.4373, allocations: 0 / 444.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.4374, allocations: 0 / 444.3 MB, free: 8.516 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.00099/0.4384, allocations: 469.5 kB / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.4385, allocations: 16.02 kB / 444.8 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4386, allocations: 15.81 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.4393, allocations: 218.7 kB / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4393, allocations: 4 kB / 445.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.4394, allocations: 11.92 kB / 445.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001517/0.4396, allocations: 16 kB / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.4398, allocations: 57.66 kB / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.4398, allocations: 7.953 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4399, allocations: 0 / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4399, allocations: 4 kB / 445.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.4407, allocations: 305.4 kB / 445.5 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.441, allocations: 50.62 kB / 445.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.4411, allocations: 16.98 kB / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.4412, allocations: 0 / 445.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.4414, allocations: 71.34 kB / 445.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.984e-06/0.4415, allocations: 4 kB / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000946/0.4424, allocations: 161.1 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.4425, allocations: 51.41 kB / 445.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.4431, allocations: 219 kB / 446 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.4432, allocations: 29.7 kB / 446 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.4434, allocations: 178.5 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.4435, allocations: 23.66 kB / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.4435, allocations: 0 / 446.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.4438, allocations: 319.5 kB / 446.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.444, allocations: 32 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4442, allocations: 49.66 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.4445, allocations: 43.91 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.182e-06/0.4445, allocations: 0 / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006041/0.4451, allocations: 121.7 kB / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.4452, allocations: 41.73 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4453, allocations: 3.953 kB / 446.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4453, allocations: 4 kB / 446.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.4456, allocations: 19.92 kB / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.116e-06/0.4456, allocations: 0 / 446.9 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4458, allocations: 4 kB / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.4458, allocations: 8 kB / 446.9 MB, free: 5.766 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.0001665/0.446, allocations: 112.9 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.4461, allocations: 15.81 kB / 447 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.4467, allocations: 115.4 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4467, allocations: 8.141 kB / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-06/0.4467, allocations: 0 / 447.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-06/0.4468, allocations: 3.938 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.4479, allocations: 399.8 kB / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.016e-06/0.4479, allocations: 0 / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4481, allocations: 15.98 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.4481, allocations: 7.984 kB / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.4481, allocations: 0 / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.4482, allocations: 4.188 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.4482, allocations: 0 / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.4487, allocations: 218 kB / 447.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.449, allocations: 108.9 kB / 447.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.4491, allocations: 7.984 kB / 447.9 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4493, allocations: 4 kB / 447.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.4494, allocations: 4 kB / 447.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.4495, allocations: 3.984 kB / 447.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004326/0.4499, allocations: 187 kB / 448.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.136e-06/0.4499, allocations: 0 / 448.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008755/0.4508, allocations: 47.88 kB / 448.1 MB, free: 4.426 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.0022/0.4531, allocations: 376.8 kB / 448.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.4536, allocations: 159.3 kB / 448.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.127e-06/0.4537, allocations: 0 / 448.6 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.4538, allocations: 24 kB / 448.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.4545, allocations: 27.81 kB / 448.7 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4555, allocations: 244.3 kB / 448.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.4562, allocations: 0.7352 MB / 449.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.4563, allocations: 19.42 kB / 449.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of SimCode: time 2.207e-06/0.4564, allocations: 0 / 449.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of Templates: time 0.009063/0.4654, allocations: 2.135 MB / 451.8 MB, free: 0.7031 MB / 378.7 MB