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.Test35.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.358e-05, allocations: 11.98 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3149, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4387, allocations: 82.05 MB / 446.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4389, allocations: 72.59 kB / 446.7 MB, free: 14.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.02021/0.4592, allocations: 4.78 MB / 451.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.896e-06/0.4592, allocations: 0 / 451.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.4592, allocations: 7.938 kB / 451.5 MB, free: 9.602 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.0005914/0.4598, allocations: 453.6 kB / 451.9 MB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4599, allocations: 11.97 kB / 451.9 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.46, allocations: 12.84 kB / 451.9 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4603, allocations: 218.8 kB / 452.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.4604, allocations: 0 / 452.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.4604, allocations: 12 kB / 452.1 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4606, allocations: 49.69 kB / 452.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4606, allocations: 0 / 452.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4606, allocations: 11.94 kB / 452.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-06/0.4607, allocations: 0 / 452.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.4607, allocations: 16 kB / 452.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.4612, allocations: 312.9 kB / 452.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4614, allocations: 62.62 kB / 452.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.4615, allocations: 22.02 kB / 452.6 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4615, allocations: 3.953 kB / 452.6 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4617, allocations: 68.39 kB / 452.7 MB, free: 8.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.4617, allocations: 0 / 452.7 MB, free: 8.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.4623, allocations: 177 kB / 452.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4624, allocations: 55.41 kB / 452.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4627, allocations: 202.5 kB / 453.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4627, allocations: 29.7 kB / 453.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4628, allocations: 162.6 kB / 453.3 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.4629, allocations: 27.64 kB / 453.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4629, allocations: 4 kB / 453.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4631, allocations: 316.2 kB / 453.6 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.4632, allocations: 35.94 kB / 453.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4633, allocations: 57.7 kB / 453.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4635, allocations: 69.69 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-06/0.4635, allocations: 0 / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003697/0.4639, allocations: 175.2 kB / 454 MB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.4639, allocations: 33.7 kB / 454 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.598e-06/0.4639, allocations: 192 / 454 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.464, allocations: 4 kB / 454 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4641, allocations: 19.98 kB / 454 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.036e-06/0.4641, allocations: 32 / 454 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.4642, allocations: 8 kB / 454 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4643, allocations: 12 kB / 454 MB, free: 6.766 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.0001071/0.4644, allocations: 114.7 kB / 454.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.4644, allocations: 15.86 kB / 454.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.4648, allocations: 123.1 kB / 454.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-06/0.4648, allocations: 7.922 kB / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-06/0.4648, allocations: 0 / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-06/0.4648, allocations: 0 / 454.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.4655, allocations: 423.3 kB / 454.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4655, allocations: 0 / 454.7 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.4656, allocations: 12 kB / 454.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.4656, allocations: 3.984 kB / 454.7 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4656, allocations: 0 / 454.7 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.086e-06/0.4657, allocations: 4 kB / 454.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4657, allocations: 0 / 454.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.466, allocations: 225.8 kB / 455 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4661, allocations: 101 kB / 455.1 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.4662, allocations: 7.938 kB / 455.1 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4663, allocations: 7.984 kB / 455.1 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.4664, allocations: 4 kB / 455.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4664, allocations: 0 / 455.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.4666, allocations: 172.3 kB / 455.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.4667, allocations: 0 / 455.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.4671, allocations: 43.94 kB / 455.3 MB, free: 5.414 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.001432/0.4685, allocations: 421.7 kB / 455.7 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4689, allocations: 167.3 kB / 455.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.042e-06/0.4689, allocations: 4.062 kB / 455.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.469, allocations: 28 kB / 455.9 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.4693, allocations: 23.92 kB / 455.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.4699, allocations: 228.7 kB / 456.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4703, allocations: 0.7159 MB / 456.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.4704, allocations: 19.5 kB / 456.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of SimCode: time 1.668e-06/0.4704, allocations: 0 / 456.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of Templates: time 0.00508/0.4755, allocations: 2.032 MB / 458.9 MB, free: 1.797 MB / 378.7 MB