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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.163/2.163, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.892e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2711, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3967, allocations: 82.15 MB / 440.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3969, allocations: 67.97 kB / 440.3 MB, free: 12.61 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.0148/0.4118, allocations: 3.576 MB / 443.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.17e-06/0.4118, allocations: 3.938 kB / 443.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.4118, allocations: 4 kB / 443.8 MB, free: 9.023 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006879/0.4125, allocations: 0.4921 MB / 444.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4126, allocations: 8.031 kB / 444.3 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.4127, allocations: 19.77 kB / 444.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.413, allocations: 219.4 kB / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4131, allocations: 0 / 444.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.4131, allocations: 12 kB / 444.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.4133, allocations: 32 kB / 444.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.4134, allocations: 65.67 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4135, allocations: 3.938 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4135, allocations: 3.953 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-06/0.4135, allocations: 3.984 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.4142, allocations: 345.3 kB / 445 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.4145, allocations: 74.67 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.4146, allocations: 36.73 kB / 445.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4146, allocations: 7.953 kB / 445.1 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4148, allocations: 79.38 kB / 445.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.719e-06/0.4148, allocations: 0 / 445.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003135/0.4152, allocations: 101.4 kB / 445.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4152, allocations: 55.39 kB / 445.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.4154, allocations: 154.4 kB / 445.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4155, allocations: 29.7 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4156, allocations: 166.5 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.4156, allocations: 27.64 kB / 445.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.4157, allocations: 8 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4158, allocations: 314.8 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.4159, allocations: 35.98 kB / 446.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4161, allocations: 50.58 kB / 446.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4162, allocations: 39.97 kB / 446.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-06/0.4162, allocations: 3.938 kB / 446.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003448/0.4166, allocations: 137.8 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.4166, allocations: 44.41 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4167, allocations: 7.922 kB / 446.4 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4167, allocations: 7.938 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4168, allocations: 16 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.251e-06/0.4169, allocations: 0 / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.417, allocations: 15.89 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.417, allocations: 8 kB / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001113/0.4171, allocations: 113 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.4172, allocations: 11.89 kB / 446.5 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.4175, allocations: 115.4 kB / 446.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.4175, allocations: 4 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/0.4175, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.894e-06/0.4176, allocations: 3.984 kB / 446.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4178, allocations: 178.2 kB / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-06/0.4178, allocations: 0 / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.4179, allocations: 19.92 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.484e-06/0.418, allocations: 4 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.418, allocations: 8 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.928e-06/0.418, allocations: 0 / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.862e-06/0.418, allocations: 7.891 kB / 446.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.4184, allocations: 164.9 kB / 447 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4185, allocations: 100.9 kB / 447.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4186, allocations: 0 / 447.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.4187, allocations: 12.06 kB / 447.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4187, allocations: 3.984 kB / 447.2 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4188, allocations: 7.953 kB / 447.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.4189, allocations: 128.9 kB / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.4189, allocations: 0 / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.4193, allocations: 31.94 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001113/0.4204, allocations: 343.7 kB / 447.7 MB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.4208, allocations: 163.3 kB / 447.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4208, allocations: 4.125 kB / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.4209, allocations: 28 kB / 447.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4212, allocations: 24.58 kB / 447.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.4218, allocations: 197 kB / 448.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4222, allocations: 0.7235 MB / 448.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.4223, allocations: 19.38 kB / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.787e-06/0.4223, allocations: 0 / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of Templates: time 0.005083/0.4274, allocations: 2.063 MB / 450.9 MB, free: 1.648 MB / 378.7 MB