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.Test23.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.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.215/2.215, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.055e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2761, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4038, allocations: 81.36 MB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.404, allocations: 67.97 kB / 439.5 MB, free: 13.39 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.01896/0.423, allocations: 4.462 MB / 443.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.423, allocations: 0 / 443.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4231, allocations: 7.938 kB / 443.9 MB, free: 8.922 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.0006042/0.4237, allocations: 461.5 kB / 444.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4237, allocations: 8.031 kB / 444.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.4238, allocations: 11.91 kB / 444.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4242, allocations: 214.7 kB / 444.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4242, allocations: 0 / 444.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.4242, allocations: 4 kB / 444.6 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.07e-05/0.4243, allocations: 23.98 kB / 444.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4245, allocations: 49.67 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4245, allocations: 3.953 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4245, allocations: 0 / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-06/0.4245, allocations: 8 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.425, allocations: 297.3 kB / 445 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.4252, allocations: 46.69 kB / 445 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.4252, allocations: 20.98 kB / 445.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4253, allocations: 4 kB / 445.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.4254, allocations: 71.34 kB / 445.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.4254, allocations: 0 / 445.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.426, allocations: 153.2 kB / 445.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.4261, allocations: 51.41 kB / 445.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.4263, allocations: 174.5 kB / 445.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4264, allocations: 29.7 kB / 445.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4265, allocations: 162.6 kB / 445.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.4265, allocations: 31.64 kB / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-06/0.4265, allocations: 0 / 445.7 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4267, allocations: 311.5 kB / 446 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.4268, allocations: 36 kB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4269, allocations: 49.64 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.427, allocations: 35.98 kB / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-06/0.4271, allocations: 0 / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003154/0.4274, allocations: 125.6 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.4275, allocations: 41.69 kB / 446.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.572e-06/0.4275, allocations: 3.953 kB / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4275, allocations: 0 / 446.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4276, allocations: 19.94 kB / 446.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4277, allocations: 0 / 446.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.222e-05/0.4278, allocations: 7.984 kB / 446.3 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4278, allocations: 4 kB / 446.4 MB, free: 6.277 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.0001077/0.4279, allocations: 114.6 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.428, allocations: 15.91 kB / 446.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.4283, allocations: 115.5 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.73e-06/0.4283, allocations: 7.953 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-06/0.4283, allocations: 0 / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4283, allocations: 0 / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.4289, allocations: 375.8 kB / 447 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-06/0.429, allocations: 0 / 447 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.429, allocations: 15.98 kB / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.429, allocations: 7.984 kB / 447 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4291, allocations: 0 / 447 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.827e-06/0.4291, allocations: 4 kB / 447 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.179e-06/0.4291, allocations: 0 / 447 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.4294, allocations: 210 kB / 447.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4295, allocations: 104.9 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4296, allocations: 8.188 kB / 447.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4297, allocations: 7.984 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4298, allocations: 4 kB / 447.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4298, allocations: 4 kB / 447.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.43, allocations: 143.9 kB / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.43, allocations: 0 / 447.5 MB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.4304, allocations: 39.92 kB / 447.5 MB, free: 5.016 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.001251/0.4317, allocations: 386.4 kB / 447.9 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.432, allocations: 155.3 kB / 448 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.553e-06/0.432, allocations: 4 kB / 448 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.4321, allocations: 27.98 kB / 448.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4324, allocations: 20.66 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.433, allocations: 204.3 kB / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4334, allocations: 0.7157 MB / 449 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.4334, allocations: 19.44 kB / 449 MB, free: 3.488 MB / 378.7 MB Notification: Performance of SimCode: time 1.518e-06/0.4335, allocations: 0 / 449 MB, free: 3.488 MB / 378.7 MB Notification: Performance of Templates: time 0.004766/0.4382, allocations: 1.95 MB / 451 MB, free: 1.535 MB / 378.7 MB