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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.312e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2741, allocations: 54.87 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4016, allocations: 81.39 MB / 439.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4019, allocations: 67.97 kB / 439.5 MB, free: 13.35 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.02015/0.4221, allocations: 4.775 MB / 444.3 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.089e-06/0.4221, allocations: 4 kB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.4221, allocations: 0 / 444.3 MB, free: 8.566 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.0006528/0.4228, allocations: 473.4 kB / 444.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4229, allocations: 15.97 kB / 444.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.4229, allocations: 11.81 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.4233, allocations: 215.7 kB / 445 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4234, allocations: 0 / 445 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.4234, allocations: 8 kB / 445 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.593e-05/0.4235, allocations: 23.92 kB / 445 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.4236, allocations: 49.69 kB / 445.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4237, allocations: 3.953 kB / 445.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4237, allocations: 0 / 445.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.667e-06/0.4237, allocations: 7.984 kB / 445.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4242, allocations: 301.4 kB / 445.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4244, allocations: 54.69 kB / 445.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.4245, allocations: 20.92 kB / 445.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4245, allocations: 0 / 445.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.4247, allocations: 75.34 kB / 445.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.557e-06/0.4247, allocations: 0 / 445.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.4253, allocations: 153.2 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.4253, allocations: 55.39 kB / 445.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.4257, allocations: 214.2 kB / 445.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.4257, allocations: 29.7 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4258, allocations: 166.5 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.4259, allocations: 23.66 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4259, allocations: 4 kB / 446.2 MB, free: 6.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4261, allocations: 319.5 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.4262, allocations: 28 kB / 446.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4263, allocations: 53.72 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.4264, allocations: 39.97 kB / 446.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-06/0.4265, allocations: 0 / 446.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003259/0.4268, allocations: 125.6 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.4269, allocations: 33.7 kB / 446.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.225e-06/0.4269, allocations: 3.953 kB / 446.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4269, allocations: 0 / 446.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4271, allocations: 23.98 kB / 446.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4271, allocations: 3.938 kB / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.4272, allocations: 8.031 kB / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.4272, allocations: 4 kB / 446.8 MB, free: 5.84 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.0001116/0.4273, allocations: 110.6 kB / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.4274, allocations: 19.8 kB / 446.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.4277, allocations: 115.5 kB / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-06/0.4277, allocations: 3.953 kB / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.533e-06/0.4277, allocations: 0 / 447 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4278, allocations: 3.984 kB / 447 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.4284, allocations: 395.8 kB / 447.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-06/0.4284, allocations: 3.938 kB / 447.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.4285, allocations: 8 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.984e-06/0.4285, allocations: 3.953 kB / 447.4 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4286, allocations: 4 kB / 447.4 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.4286, allocations: 3.984 kB / 447.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.981e-06/0.4286, allocations: 0 / 447.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.4289, allocations: 218 kB / 447.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.429, allocations: 104.9 kB / 447.8 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.4291, allocations: 4 kB / 447.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4292, allocations: 4 kB / 447.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4293, allocations: 7.984 kB / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4293, allocations: 4 kB / 447.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.4295, allocations: 173.2 kB / 447.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4295, allocations: 0 / 447.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.43, allocations: 35.94 kB / 448 MB, free: 4.539 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.001293/0.4313, allocations: 390.5 kB / 448.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4316, allocations: 159.4 kB / 448.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.7e-06/0.4317, allocations: 0 / 448.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.4317, allocations: 35.92 kB / 448.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4321, allocations: 16.78 kB / 448.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.4327, allocations: 232.3 kB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.4331, allocations: 0.7276 MB / 449.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.4332, allocations: 19.41 kB / 449.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.4332, allocations: 4 kB / 449.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.00513/0.4384, allocations: 2.072 MB / 451.6 MB, free: 0.8828 MB / 378.7 MB