Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000627/0.0006271, allocations: 19.98 kB / 315 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3377, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.482, allocations: 82.14 MB / 451.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4823, allocations: 79.95 kB / 452 MB, free: 8.41 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.02085/0.5032, allocations: 4.583 MB / 456.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5032, allocations: 0 / 456.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.5033, allocations: 7.938 kB / 456.6 MB, free: 3.812 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.000642/0.5039, allocations: 474.2 kB / 457.1 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.504, allocations: 8.031 kB / 457.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.504, allocations: 11.81 kB / 457.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5044, allocations: 214.3 kB / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5044, allocations: 0 / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.5045, allocations: 8 kB / 457.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.5047, allocations: 53.67 kB / 457.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5047, allocations: 3.938 kB / 457.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5047, allocations: 3.953 kB / 457.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5048, allocations: 7.938 kB / 457.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5049, allocations: 23.98 kB / 457.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.5054, allocations: 304.9 kB / 457.7 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.5057, allocations: 58.62 kB / 457.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.5057, allocations: 4 kB / 457.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.5059, allocations: 76.05 kB / 457.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.5059, allocations: 0 / 457.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008097/0.5067, allocations: 189.1 kB / 458 MB, free: 2.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.5068, allocations: 51.41 kB / 458.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.5071, allocations: 178.2 kB / 458.3 MB, free: 1.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.5071, allocations: 33.7 kB / 458.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.5072, allocations: 166.5 kB / 458.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.5072, allocations: 27.64 kB / 458.5 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.5073, allocations: 8 kB / 458.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5074, allocations: 314.8 kB / 458.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5075, allocations: 39.98 kB / 458.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.5077, allocations: 57.69 kB / 458.9 MB, free: 1.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.5079, allocations: 73.69 kB / 459 MB, free: 1.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5079, allocations: 0 / 459 MB, free: 1.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004861/0.5084, allocations: 187.2 kB / 459.1 MB, free: 1.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.5085, allocations: 33.7 kB / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5085, allocations: 0 / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5085, allocations: 0 / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5087, allocations: 20.3 kB / 459.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.5087, allocations: 4 kB / 459.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.5088, allocations: 4 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.5089, allocations: 12 kB / 459.2 MB, free: 0.9688 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 () * Number of clocked 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.0001414/0.509, allocations: 129.9 kB / 459.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.5091, allocations: 19.75 kB / 459.4 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.5095, allocations: 118.3 kB / 459.5 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5095, allocations: 4 kB / 459.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5095, allocations: 0 / 459.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5095, allocations: 0 / 459.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.5102, allocations: 423.3 kB / 459.9 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5102, allocations: 0 / 459.9 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.5103, allocations: 12 kB / 459.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5103, allocations: 0 / 459.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5104, allocations: 7.984 kB / 459.9 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5104, allocations: 4 kB / 459.9 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5104, allocations: 3.938 kB / 459.9 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.5108, allocations: 204.3 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.5109, allocations: 104.9 kB / 460.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.5109, allocations: 3.938 kB / 460.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5111, allocations: 12.27 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.5111, allocations: 4 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.5111, allocations: 4 kB / 460.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.5113, allocations: 139.1 kB / 460.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5113, allocations: 4 kB / 460.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.5118, allocations: 39.92 kB / 460.4 MB, free: 15.63 MB / 394.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) * Number of clocked states: 0 () * 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.001319/0.5131, allocations: 453.4 kB / 460.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.5136, allocations: 163.3 kB / 461 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5136, allocations: 0 / 461 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5137, allocations: 35.92 kB / 461.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.5141, allocations: 20.11 kB / 461.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.5148, allocations: 287.6 kB / 461.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5151, allocations: 0.7121 MB / 462.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.5152, allocations: 11.44 kB / 462.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5152, allocations: 0 / 462.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Templates: time 0.005593/0.5208, allocations: 1.944 MB / 464 MB, free: 12.03 MB / 394.7 MB