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.Test36.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.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004443, allocations: 16 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4085, allocations: 82.14 MB / 451.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4087, allocations: 67.97 kB / 451.5 MB, free: 8.387 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.0208/0.4296, allocations: 4.797 MB / 456.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.185e-06/0.4296, allocations: 0 / 456.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.4296, allocations: 0 / 456.3 MB, free: 3.578 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.0006638/0.4303, allocations: 498 kB / 456.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4303, allocations: 8.031 kB / 456.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.4304, allocations: 15.81 kB / 456.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.4308, allocations: 206.9 kB / 457 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4308, allocations: 4 kB / 457 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.4309, allocations: 8 kB / 457 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.431, allocations: 57.66 kB / 457.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4311, allocations: 0 / 457.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4311, allocations: 3.953 kB / 457.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-06/0.4311, allocations: 3.938 kB / 457.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.4312, allocations: 23.98 kB / 457.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.4317, allocations: 316.9 kB / 457.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.432, allocations: 66.62 kB / 457.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.432, allocations: 7.922 kB / 457.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.4322, allocations: 68.19 kB / 457.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.546e-06/0.4322, allocations: 0 / 457.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007288/0.433, allocations: 193.2 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.433, allocations: 59.41 kB / 457.8 MB, free: 1.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.4334, allocations: 202.5 kB / 458 MB, free: 1.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.4334, allocations: 25.7 kB / 458 MB, free: 1.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4335, allocations: 166.6 kB / 458.2 MB, free: 1.473 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.4336, allocations: 23.66 kB / 458.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-06/0.4336, allocations: 0 / 458.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4338, allocations: 322.8 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4339, allocations: 31.98 kB / 458.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4341, allocations: 61.69 kB / 458.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4343, allocations: 69.7 kB / 458.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-06/0.4343, allocations: 0 / 458.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004232/0.4347, allocations: 175.2 kB / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.4348, allocations: 41.64 kB / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4348, allocations: 0 / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4348, allocations: 0 / 458.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4349, allocations: 19.94 kB / 458.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.435, allocations: 4.031 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.4351, allocations: 11.98 kB / 458.9 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4351, allocations: 4 kB / 458.9 MB, free: 0.6836 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.0001631/0.4353, allocations: 133.8 kB / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.4353, allocations: 11.81 kB / 459.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.4357, allocations: 131 kB / 459.2 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-06/0.4357, allocations: 0 / 459.2 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-06/0.4357, allocations: 4 kB / 459.2 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-06/0.4358, allocations: 0 / 459.2 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.4365, allocations: 427.2 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.4365, allocations: 4 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.4366, allocations: 8 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.793e-06/0.4366, allocations: 3.938 kB / 459.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4366, allocations: 4 kB / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.993e-06/0.4367, allocations: 0 / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.581e-06/0.4367, allocations: 7.969 kB / 459.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.4371, allocations: 230 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4372, allocations: 101 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.4372, allocations: 0 / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.4374, allocations: 7.938 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4374, allocations: 11.98 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.4375, allocations: 8 kB / 460 MB, free: 15.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.4377, allocations: 163.2 kB / 460.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4377, allocations: 0 / 460.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.4381, allocations: 39.94 kB / 460.2 MB, free: 15.29 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.001551/0.4397, allocations: 463.2 kB / 460.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.4401, allocations: 179.2 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4402, allocations: 0 / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4403, allocations: 35.92 kB / 460.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4406, allocations: 23.88 kB / 460.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.4413, allocations: 312.4 kB / 461.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4418, allocations: 0.716 MB / 461.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.4419, allocations: 23.42 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.496e-06/0.4419, allocations: 0 / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of Templates: time 0.004966/0.4469, allocations: 2.041 MB / 464 MB, free: 11.53 MB / 394.7 MB