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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004444, allocations: 23.98 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2748, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4029, allocations: 82.12 MB / 451.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4032, allocations: 79.89 kB / 451.5 MB, free: 8.398 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.01925/0.4225, allocations: 4.524 MB / 456 MB, free: 3.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.527e-06/0.4225, allocations: 0 / 456 MB, free: 3.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4225, allocations: 0 / 456 MB, free: 3.867 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.0006477/0.4232, allocations: 490 kB / 456.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4232, allocations: 8.031 kB / 456.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.4233, allocations: 7.906 kB / 456.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.4237, allocations: 206.9 kB / 456.7 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.4237, allocations: 4 kB / 456.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4237, allocations: 4 kB / 456.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4239, allocations: 53.67 kB / 456.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4239, allocations: 7.984 kB / 456.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.424, allocations: 3.953 kB / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.424, allocations: 0 / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4241, allocations: 27.92 kB / 456.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.4246, allocations: 316.8 kB / 457.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.4248, allocations: 62.66 kB / 457.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4249, allocations: 4 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.4251, allocations: 80.06 kB / 457.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.4251, allocations: 0 / 457.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007342/0.4258, allocations: 185.2 kB / 457.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4259, allocations: 51.41 kB / 457.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4262, allocations: 174.4 kB / 457.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.4262, allocations: 37.7 kB / 457.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4263, allocations: 166.5 kB / 457.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4264, allocations: 23.7 kB / 457.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-06/0.4264, allocations: 0 / 457.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4266, allocations: 318.8 kB / 458.2 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4267, allocations: 35.98 kB / 458.2 MB, free: 1.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.4269, allocations: 61.62 kB / 458.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.427, allocations: 73.7 kB / 458.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-06/0.4271, allocations: 0 / 458.3 MB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004206/0.4275, allocations: 179.1 kB / 458.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.4276, allocations: 41.64 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-06/0.4276, allocations: 0 / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4276, allocations: 0 / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4277, allocations: 16 kB / 458.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.553e-06/0.4277, allocations: 7.938 kB / 458.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.4278, allocations: 7.984 kB / 458.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4279, allocations: 8.031 kB / 458.6 MB, free: 1 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.0001463/0.428, allocations: 125.8 kB / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.4281, allocations: 8.281 kB / 458.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.4284, allocations: 130.9 kB / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4285, allocations: 0 / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4285, allocations: 0 / 458.9 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.4285, allocations: 4 kB / 458.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.4292, allocations: 427.2 kB / 459.3 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-06/0.4292, allocations: 0 / 459.3 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.4293, allocations: 8 kB / 459.3 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4293, allocations: 4 kB / 459.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4293, allocations: 0 / 459.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.927e-06/0.4293, allocations: 7.922 kB / 459.3 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4293, allocations: 4 kB / 459.3 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.4298, allocations: 225.9 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4299, allocations: 100.9 kB / 459.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.4299, allocations: 0 / 459.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4301, allocations: 11.98 kB / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4301, allocations: 4 kB / 459.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4301, allocations: 7.938 kB / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.4303, allocations: 147.9 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4304, allocations: 0 / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.4308, allocations: 48.2 kB / 459.8 MB, free: 15.63 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.001558/0.4323, allocations: 452.6 kB / 460.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.4327, allocations: 167.3 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.687e-06/0.4328, allocations: 4 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4329, allocations: 39.98 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4332, allocations: 23.88 kB / 460.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.4339, allocations: 280.4 kB / 460.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4343, allocations: 0.7121 MB / 461.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4344, allocations: 15.44 kB / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of SimCode: time 1.677e-06/0.4344, allocations: 0 / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Templates: time 0.004832/0.4392, allocations: 1.974 MB / 463.5 MB, free: 12 MB / 394.7 MB