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.Test70.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.Test70,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.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.232/2.232, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.565e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 54.87 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.432, allocations: 81.25 MB / 439.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4323, allocations: 75.95 kB / 439.4 MB, free: 13.49 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.02307/0.4554, allocations: 5.907 MB / 445.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.4554, allocations: 3.938 kB / 445.3 MB, free: 7.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.479e-05/0.4555, allocations: 11.94 kB / 445.3 MB, free: 7.559 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.00102/0.4565, allocations: 0.7263 MB / 446 MB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4566, allocations: 8.031 kB / 446 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.4567, allocations: 47.44 kB / 446.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4577, allocations: 479 kB / 446.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4578, allocations: 3.984 kB / 446.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.4578, allocations: 8 kB / 446.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/0.4579, allocations: 27.98 kB / 446.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.4581, allocations: 87.33 kB / 446.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4582, allocations: 3.938 kB / 446.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.4582, allocations: 0 / 446.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.396e-06/0.4582, allocations: 3.984 kB / 446.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.4588, allocations: 382.9 kB / 447.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.459, allocations: 93.34 kB / 447.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.4591, allocations: 37.8 kB / 447.2 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4591, allocations: 8 kB / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.4594, allocations: 101.7 kB / 447.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.722e-06/0.4594, allocations: 0 / 447.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004725/0.4599, allocations: 172.9 kB / 447.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.46, allocations: 85.05 kB / 447.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.4617, allocations: 0.8965 MB / 448.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.4617, allocations: 33.7 kB / 448.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.462, allocations: 258.8 kB / 448.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.462, allocations: 19.72 kB / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.4621, allocations: 0 / 448.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4622, allocations: 322.8 kB / 449.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4624, allocations: 55.94 kB / 449.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.4626, allocations: 80.03 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4628, allocations: 67.84 kB / 449.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-06/0.4628, allocations: 0 / 449.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005318/0.4633, allocations: 189.5 kB / 449.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.034e-05/0.4634, allocations: 71.39 kB / 449.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4634, allocations: 0 / 449.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4635, allocations: 4 kB / 449.5 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4636, allocations: 23.92 kB / 449.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.906e-06/0.4637, allocations: 64 / 449.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.4639, allocations: 27.8 kB / 449.6 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.464, allocations: 11.98 kB / 449.6 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.0001311/0.4641, allocations: 116.9 kB / 449.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.4642, allocations: 55.34 kB / 449.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.4647, allocations: 178.3 kB / 449.9 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-06/0.4648, allocations: 4.062 kB / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-06/0.4648, allocations: 4 kB / 449.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-06/0.4648, allocations: 7.984 kB / 449.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.4653, allocations: 361.8 kB / 450.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.056e-06/0.4653, allocations: 0 / 450.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.4654, allocations: 11.94 kB / 450.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-06/0.4654, allocations: 4 kB / 450.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4654, allocations: 0 / 450.3 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.628e-06/0.4654, allocations: 4 kB / 450.3 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-06/0.4655, allocations: 0 / 450.3 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.4659, allocations: 223 kB / 450.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.4663, allocations: 200.3 kB / 450.7 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.4664, allocations: 7.938 kB / 450.7 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.4665, allocations: 11.98 kB / 450.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4666, allocations: 11.92 kB / 450.8 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4666, allocations: 4 kB / 450.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.4678, allocations: 0.698 MB / 451.5 MB, free: 1.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.4678, allocations: 4 kB / 451.5 MB, free: 1.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005337/0.4684, allocations: 115.9 kB / 451.6 MB, free: 0.8945 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.001669/0.4701, allocations: 485.9 kB / 452 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.4706, allocations: 274.7 kB / 452.3 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4706, allocations: 3.938 kB / 452.3 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4708, allocations: 47.92 kB / 452.4 MB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.4713, allocations: 50.81 kB / 452.4 MB, free: 108 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.473, allocations: 0.8116 MB / 453.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.4737, allocations: 0.8508 MB / 454.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.4738, allocations: 39.44 kB / 454.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.889e-06/0.4738, allocations: 0 / 454.1 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Templates: time 0.0127/0.4866, allocations: 5.866 MB / 460 MB, free: 8.469 MB / 394.7 MB