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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.775/2.775, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.000643, allocations: 12 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3546, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.5094, allocations: 82.89 MB / 452.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.5098, allocations: 71.97 kB / 452.8 MB, free: 7.645 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01671/0.5265, allocations: 3.603 MB / 456.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5266, allocations: 0 / 456.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.5266, allocations: 4 kB / 456.4 MB, free: 4.027 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007902/0.5274, allocations: 0.5115 MB / 456.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5275, allocations: 12.03 kB / 456.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.5276, allocations: 19.77 kB / 456.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.5281, allocations: 223.5 kB / 457.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.5282, allocations: 4 kB / 457.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.5282, allocations: 8 kB / 457.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.5288, allocations: 81.64 kB / 457.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5289, allocations: 0 / 457.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.5289, allocations: 8 kB / 457.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.529, allocations: 7.953 kB / 457.2 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.5294, allocations: 43.97 kB / 457.3 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008856/0.5304, allocations: 372.6 kB / 457.7 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.5309, allocations: 102.6 kB / 457.8 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.531, allocations: 0 / 457.8 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.5313, allocations: 95.31 kB / 457.8 MB, free: 2.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.255e-06/0.5313, allocations: 0 / 457.8 MB, free: 2.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006631/0.532, allocations: 149.5 kB / 458 MB, free: 2.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.532, allocations: 51.78 kB / 458 MB, free: 2.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.5323, allocations: 175.2 kB / 458.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.5323, allocations: 29.7 kB / 458.2 MB, free: 1.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5324, allocations: 178.4 kB / 458.4 MB, free: 1.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.5325, allocations: 31.59 kB / 458.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.5325, allocations: 0 / 458.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5327, allocations: 322.8 kB / 458.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.5329, allocations: 44.09 kB / 458.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.5331, allocations: 76.52 kB / 458.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.5334, allocations: 89.81 kB / 459 MB, free: 1.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5334, allocations: 3.938 kB / 459 MB, free: 1.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006106/0.534, allocations: 199.1 kB / 459.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.5341, allocations: 33.7 kB / 459.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5341, allocations: 8.062 kB / 459.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5342, allocations: 0 / 459.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.5343, allocations: 19.98 kB / 459.2 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5344, allocations: 4 kB / 459.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.5345, allocations: 23.83 kB / 459.3 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5346, allocations: 4 kB / 459.3 MB, free: 0.8789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001402/0.5347, allocations: 121.8 kB / 459.4 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.5348, allocations: 19.86 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.5352, allocations: 135 kB / 459.5 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5353, allocations: 3.984 kB / 459.5 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5353, allocations: 4 kB / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5353, allocations: 0 / 459.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.5355, allocations: 213.5 kB / 459.7 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5356, allocations: 0 / 459.7 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5357, allocations: 12 kB / 459.8 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5357, allocations: 4 kB / 459.8 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5357, allocations: 3.953 kB / 459.8 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5358, allocations: 3.984 kB / 459.8 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5358, allocations: 4 kB / 459.8 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.5364, allocations: 189.1 kB / 460 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.5366, allocations: 105.1 kB / 460.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5366, allocations: 7.922 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5368, allocations: 11.95 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5368, allocations: 11.92 kB / 460.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.5369, allocations: 8 kB / 460.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.537, allocations: 120.9 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.537, allocations: 0 / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.5374, allocations: 43.92 kB / 460.3 MB, free: 15.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001173/0.5386, allocations: 418.8 kB / 460.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.5391, allocations: 187.3 kB / 460.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5391, allocations: 0 / 460.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.5393, allocations: 43.92 kB / 460.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.5396, allocations: 27.97 kB / 460.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.5404, allocations: 308.1 kB / 461.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5407, allocations: 0.7238 MB / 461.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.5408, allocations: 15.44 kB / 462 MB, free: 14.08 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5408, allocations: 0 / 462 MB, free: 14.08 MB / 394.7 MB Notification: Performance of Templates: time 0.005843/0.5467, allocations: 2.076 MB / 464 MB, free: 12 MB / 394.7 MB