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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 234.9 MB / 250.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004302, allocations: 12 kB / 314.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 54.87 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.3951, allocations: 82.14 MB / 451.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.3954, allocations: 75.97 kB / 451.5 MB, free: 8.496 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.02095/0.4164, allocations: 5.086 MB / 456.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4164, allocations: 0 / 456.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4164, allocations: 0 / 456.6 MB, free: 3.398 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006851/0.4171, allocations: 0.498 MB / 457.1 MB, free: 2.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4172, allocations: 8.031 kB / 457.1 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.4173, allocations: 15.84 kB / 457.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.4176, allocations: 218.8 kB / 457.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4177, allocations: 7.938 kB / 457.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4177, allocations: 8 kB / 457.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4179, allocations: 61.66 kB / 457.4 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4179, allocations: 3.953 kB / 457.4 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.418, allocations: 4 kB / 457.4 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-06/0.418, allocations: 4 kB / 457.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.4181, allocations: 35.95 kB / 457.4 MB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.4187, allocations: 340.8 kB / 457.8 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.419, allocations: 79.34 kB / 457.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4191, allocations: 3.953 kB / 457.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.4193, allocations: 79.42 kB / 457.9 MB, free: 1.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.748e-06/0.4193, allocations: 0 / 457.9 MB, free: 1.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008018/0.4201, allocations: 225.1 kB / 458.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4202, allocations: 55.34 kB / 458.2 MB, free: 1.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4205, allocations: 225.4 kB / 458.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4206, allocations: 29.7 kB / 458.5 MB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.4207, allocations: 174.6 kB / 458.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.4207, allocations: 31.55 kB / 458.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-06/0.4208, allocations: 0 / 458.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4209, allocations: 318.8 kB / 459 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4211, allocations: 39.97 kB / 459 MB, free: 0.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4213, allocations: 65.69 kB / 459.1 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.4214, allocations: 77.69 kB / 459.2 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-06/0.4215, allocations: 4 kB / 459.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004486/0.4219, allocations: 191.2 kB / 459.3 MB, free: 404 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.422, allocations: 33.7 kB / 459.4 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.095e-06/0.422, allocations: 0 / 459.4 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.422, allocations: 3.938 kB / 459.4 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.4222, allocations: 20.17 kB / 459.4 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.064e-06/0.4222, allocations: 0 / 459.4 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.4223, allocations: 11.94 kB / 459.4 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.4223, allocations: 8 kB / 459.4 MB, free: 320 kB / 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 (12): * Single equations (assignments): 11 * 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.0001569/0.4225, allocations: 141.8 kB / 459.6 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.4226, allocations: 19.75 kB / 459.6 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.423, allocations: 151 kB / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-06/0.423, allocations: 0 / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.254e-06/0.423, allocations: 0 / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-06/0.4231, allocations: 0 / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.4239, allocations: 479 kB / 460.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.445e-06/0.4239, allocations: 0 / 460.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.424, allocations: 12 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-06/0.424, allocations: 4 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.424, allocations: 4 kB / 460.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-06/0.424, allocations: 3.938 kB / 460.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-06/0.4241, allocations: 4 kB / 460.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.4245, allocations: 254 kB / 460.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4246, allocations: 108.9 kB / 460.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.4247, allocations: 4 kB / 460.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4248, allocations: 8 kB / 460.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4248, allocations: 7.984 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.4249, allocations: 4 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.4251, allocations: 180.4 kB / 460.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.4251, allocations: 0 / 460.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004208/0.4256, allocations: 55.92 kB / 460.8 MB, free: 14.79 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 (11): * Single equations (assignments): 9 * 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.001532/0.4271, allocations: 457.2 kB / 461.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004334/0.4276, allocations: 191.2 kB / 461.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.864e-06/0.4276, allocations: 0 / 461.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4277, allocations: 40.09 kB / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.428, allocations: 28.12 kB / 461.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.4288, allocations: 356.6 kB / 461.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4292, allocations: 0.7199 MB / 462.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.4293, allocations: 19.44 kB / 462.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of SimCode: time 1.64e-06/0.4293, allocations: 0 / 462.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of Templates: time 0.005264/0.4346, allocations: 2.226 MB / 464.8 MB, free: 10.77 MB / 394.7 MB