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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.418e-05, allocations: 8.219 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 54.87 MB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4047, allocations: 82.14 MB / 440.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.405, allocations: 67.97 kB / 440.3 MB, free: 12.6 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.01474/0.4198, allocations: 3.545 MB / 443.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4198, allocations: 0 / 443.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.4199, allocations: 4 kB / 443.8 MB, free: 9.047 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.0007064/0.4206, allocations: 0.4992 MB / 444.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4206, allocations: 12.03 kB / 444.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.4207, allocations: 19.77 kB / 444.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.4211, allocations: 211.5 kB / 444.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4211, allocations: 0 / 444.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.4212, allocations: 12 kB / 444.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.4213, allocations: 35.98 kB / 444.6 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4215, allocations: 65.61 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4215, allocations: 0 / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4215, allocations: 7.891 kB / 444.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-06/0.4216, allocations: 8 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.4222, allocations: 337.2 kB / 445 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.4225, allocations: 86.61 kB / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.4226, allocations: 32.84 kB / 445.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4227, allocations: 3.953 kB / 445.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.4229, allocations: 75.39 kB / 445.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/0.4229, allocations: 0 / 445.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003108/0.4232, allocations: 105.4 kB / 445.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4233, allocations: 55.41 kB / 445.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4235, allocations: 154.5 kB / 445.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.4235, allocations: 29.7 kB / 445.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4236, allocations: 170.4 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4237, allocations: 27.64 kB / 445.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-06/0.4237, allocations: 0 / 445.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4239, allocations: 318.8 kB / 446 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.424, allocations: 32 kB / 446.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4241, allocations: 58.56 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.4243, allocations: 43.92 kB / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-06/0.4243, allocations: 0 / 446.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003495/0.4246, allocations: 137.6 kB / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.4247, allocations: 44.3 kB / 446.3 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.152e-06/0.4247, allocations: 0 / 446.3 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4248, allocations: 4 kB / 446.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4249, allocations: 19.98 kB / 446.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4249, allocations: 8.062 kB / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4251, allocations: 7.906 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4251, allocations: 12 kB / 446.4 MB, free: 6.219 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.0001118/0.4252, allocations: 112.9 kB / 446.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.4253, allocations: 11.89 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4256, allocations: 115.4 kB / 446.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4256, allocations: 4 kB / 446.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.296e-06/0.4256, allocations: 3.938 kB / 446.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.711e-06/0.4256, allocations: 4 kB / 446.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4259, allocations: 182.2 kB / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.816e-06/0.4259, allocations: 0 / 446.8 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.426, allocations: 19.92 kB / 446.8 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-06/0.4261, allocations: 288 / 446.8 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.4261, allocations: 4 kB / 446.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-06/0.4261, allocations: 0 / 446.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.727e-06/0.4261, allocations: 7.891 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.4265, allocations: 164.9 kB / 447 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4266, allocations: 100.9 kB / 447.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.4267, allocations: 0 / 447.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4268, allocations: 15.98 kB / 447.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.4268, allocations: 8 kB / 447.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4269, allocations: 3.953 kB / 447.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.427, allocations: 124.9 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.427, allocations: 0 / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.4274, allocations: 40 kB / 447.3 MB, free: 5.227 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.001157/0.4286, allocations: 336.1 kB / 447.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.4289, allocations: 159.3 kB / 447.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.429, allocations: 0 / 447.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/0.4291, allocations: 31.98 kB / 447.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4294, allocations: 26.69 kB / 447.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.43, allocations: 213 kB / 448 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.4304, allocations: 0.7119 MB / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.4305, allocations: 15.44 kB / 448.8 MB, free: 3.734 MB / 378.7 MB Notification: Performance of SimCode: time 1.761e-06/0.4305, allocations: 3.938 kB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005161/0.4357, allocations: 2.065 MB / 450.8 MB, free: 1.668 MB / 378.7 MB