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.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006018, allocations: 20 kB / 315 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3553, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.507, allocations: 81.98 MB / 451.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.5074, allocations: 83.89 kB / 451.9 MB, free: 8.562 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0217/0.5291, allocations: 4.726 MB / 456.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5291, allocations: 4 kB / 456.6 MB, free: 3.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.5292, allocations: 0 / 456.6 MB, free: 3.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007373/0.5299, allocations: 0.494 MB / 457.1 MB, free: 3.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.53, allocations: 8.031 kB / 457.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.5301, allocations: 11.91 kB / 457.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.5305, allocations: 210.8 kB / 457.3 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.5305, allocations: 4 kB / 457.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5306, allocations: 4 kB / 457.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5308, allocations: 53.67 kB / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5308, allocations: 0 / 457.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5308, allocations: 3.953 kB / 457.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5308, allocations: 0 / 457.4 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.5309, allocations: 19.92 kB / 457.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.5313, allocations: 209.6 kB / 457.6 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.5316, allocations: 58.62 kB / 457.7 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.5316, allocations: 3.984 kB / 457.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.5318, allocations: 63.39 kB / 457.7 MB, free: 2.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.035e-06/0.5319, allocations: 3.938 kB / 457.7 MB, free: 2.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004658/0.5323, allocations: 109.4 kB / 457.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.5324, allocations: 55.36 kB / 457.9 MB, free: 2.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.5329, allocations: 255.2 kB / 458.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.5329, allocations: 33.7 kB / 458.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.533, allocations: 170.5 kB / 458.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5331, allocations: 19.75 kB / 458.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.5331, allocations: 0 / 458.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5333, allocations: 318.8 kB / 458.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.5334, allocations: 31.92 kB / 458.7 MB, free: 1.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5336, allocations: 45.7 kB / 458.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.5338, allocations: 73.62 kB / 458.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5338, allocations: 0 / 458.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004238/0.5342, allocations: 151.2 kB / 459 MB, free: 1.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.5343, allocations: 37.69 kB / 459 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5343, allocations: 0 / 459 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5343, allocations: 4.312 kB / 459 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5345, allocations: 8 kB / 459 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5345, allocations: 7.938 kB / 459 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5346, allocations: 12.03 kB / 459 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5347, allocations: 12 kB / 459 MB, free: 1.109 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 (8): * Single equations (assignments): 7 * 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.0001813/0.5348, allocations: 129.8 kB / 459.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.5349, allocations: 11.81 kB / 459.2 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.5352, allocations: 106.6 kB / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5353, allocations: 0 / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5353, allocations: 0 / 459.3 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5353, allocations: 3.953 kB / 459.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.5356, allocations: 209.5 kB / 459.5 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5356, allocations: 4 kB / 459.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.5356, allocations: 4 kB / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5357, allocations: 0 / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5357, allocations: 4 kB / 459.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5357, allocations: 0 / 459.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5357, allocations: 0 / 459.5 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.536, allocations: 124.8 kB / 459.6 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5362, allocations: 100.9 kB / 459.7 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.5362, allocations: 15.98 kB / 459.7 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.5363, allocations: 0 / 459.7 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.5364, allocations: 4 kB / 459.8 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5364, allocations: 0 / 459.8 MB, free: 312 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.5367, allocations: 192.2 kB / 459.9 MB, free: 120 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.5367, allocations: 4 kB / 459.9 MB, free: 116 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.5371, allocations: 35.94 kB / 460 MB, free: 80 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00126/0.5384, allocations: 408 kB / 460.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004882/0.5389, allocations: 155.3 kB / 460.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.5389, allocations: 4.062 kB / 460.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.5391, allocations: 23.98 kB / 460.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.5394, allocations: 24.12 kB / 460.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.5403, allocations: 319.6 kB / 460.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.5407, allocations: 0.7199 MB / 461.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.5408, allocations: 11.44 kB / 461.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5408, allocations: 3.938 kB / 461.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of Templates: time 0.005979/0.5468, allocations: 1.91 MB / 463.5 MB, free: 12.51 MB / 394.7 MB