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.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.336e-05, allocations: 8 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2793, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4031, allocations: 81.26 MB / 439.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4033, allocations: 71.95 kB / 439.4 MB, free: 13.41 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.4263, allocations: 5.867 MB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.985e-06/0.4263, allocations: 0 / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.186e-05/0.4264, allocations: 8 kB / 445.3 MB, free: 7.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001011/0.4274, allocations: 0.7145 MB / 446 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4275, allocations: 16.03 kB / 446 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4276, allocations: 47.44 kB / 446 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/0.4286, allocations: 459.2 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.4287, allocations: 7.938 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.4287, allocations: 8 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001276/0.4289, allocations: 31.98 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.429, allocations: 79.33 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.06e-06/0.4291, allocations: 0 / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4291, allocations: 4 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-06/0.4291, allocations: 0 / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.4297, allocations: 382.8 kB / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4299, allocations: 97.28 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.43, allocations: 37.72 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.43, allocations: 4 kB / 447.1 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.4303, allocations: 105.8 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.778e-06/0.4303, allocations: 0 / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004816/0.4308, allocations: 173 kB / 447.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4309, allocations: 85.05 kB / 447.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.4326, allocations: 0.8768 MB / 448.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.4326, allocations: 33.7 kB / 448.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.4329, allocations: 246.8 kB / 448.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.4329, allocations: 31.55 kB / 448.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.433, allocations: 7.938 kB / 448.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4331, allocations: 318.8 kB / 449 MB, free: 3.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4333, allocations: 48 kB / 449 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.4335, allocations: 84.03 kB / 449.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.4337, allocations: 63.97 kB / 449.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.272e-06/0.4337, allocations: 0 / 449.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000499/0.4342, allocations: 189.5 kB / 449.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.4343, allocations: 63.39 kB / 449.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4343, allocations: 4.25 kB / 449.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4343, allocations: 4.062 kB / 449.4 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4345, allocations: 31.92 kB / 449.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.2e-06/0.4345, allocations: 0 / 449.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4348, allocations: 31.7 kB / 449.5 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.4349, allocations: 11.98 kB / 449.5 MB, free: 2.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001202/0.435, allocations: 109 kB / 449.6 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.4351, allocations: 47.44 kB / 449.6 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.4356, allocations: 189.6 kB / 449.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-06/0.4357, allocations: 4 kB / 449.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-06/0.4357, allocations: 0 / 449.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-06/0.4357, allocations: 3.984 kB / 449.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.4362, allocations: 357.8 kB / 450.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-06/0.4362, allocations: 0 / 450.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.4363, allocations: 8 kB / 450.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.833e-06/0.4363, allocations: 0 / 450.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.4363, allocations: 7.984 kB / 450.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-06/0.4364, allocations: 0 / 450.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-06/0.4364, allocations: 3.938 kB / 450.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.4368, allocations: 219 kB / 450.4 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.4372, allocations: 200.3 kB / 450.6 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.4373, allocations: 7.984 kB / 450.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.4374, allocations: 4 kB / 450.6 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.4375, allocations: 11.98 kB / 450.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4375, allocations: 12 kB / 450.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.4387, allocations: 0.6785 MB / 451.3 MB, free: 1.051 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.146e-06/0.4387, allocations: 0 / 451.3 MB, free: 1.051 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.4393, allocations: 111.9 kB / 451.4 MB, free: 0.9414 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001687/0.441, allocations: 482.2 kB / 451.9 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000514/0.4415, allocations: 282.7 kB / 452.2 MB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.4415, allocations: 3.938 kB / 452.2 MB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4416, allocations: 40.06 kB / 452.2 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4421, allocations: 54.88 kB / 452.3 MB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.4438, allocations: 0.7842 MB / 453.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.4444, allocations: 0.843 MB / 453.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.4446, allocations: 39.42 kB / 453.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of SimCode: time 2.494e-06/0.4447, allocations: 8 kB / 454 MB, free: 14.41 MB / 394.7 MB Notification: Performance of Templates: time 0.01264/0.4573, allocations: 5.741 MB / 459.7 MB, free: 8.668 MB / 394.7 MB