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.Test14.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004432, allocations: 20 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3859, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.5404, allocations: 83.49 MB / 452.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.5408, allocations: 83.83 kB / 452.9 MB, free: 7.031 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.02034/0.5611, allocations: 4.187 MB / 457.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5612, allocations: 0 / 457.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.5612, allocations: 4 kB / 457.1 MB, free: 2.832 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001531/0.5628, allocations: 0.6183 MB / 457.7 MB, free: 2.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5628, allocations: 8.031 kB / 457.7 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.5629, allocations: 50.5 kB / 457.8 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.563, allocations: 19.72 kB / 457.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.5636, allocations: 226.6 kB / 458 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.5636, allocations: 15.94 kB / 458.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.5637, allocations: 12 kB / 458.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.5645, allocations: 129.6 kB / 458.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5645, allocations: 0 / 458.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.5646, allocations: 15.89 kB / 458.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.5646, allocations: 0 / 458.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.5657, allocations: 135.9 kB / 458.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.5671, allocations: 444.5 kB / 458.8 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.5685, allocations: 190.5 kB / 459 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.5686, allocations: 7.984 kB / 459 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007754/0.5693, allocations: 147.4 kB / 459.1 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.216e-06/0.5694, allocations: 0 / 459.1 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002017/0.5714, allocations: 297.3 kB / 459.4 MB, free: 352 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.5715, allocations: 59.39 kB / 459.5 MB, free: 280 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.5719, allocations: 193.7 kB / 459.6 MB, free: 72 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.572, allocations: 33.7 kB / 459.7 MB, free: 32 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5722, allocations: 170.5 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.5723, allocations: 43.53 kB / 459.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.5723, allocations: 4 kB / 459.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5725, allocations: 318.8 kB / 460.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.5732, allocations: 100 kB / 460.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.574, allocations: 124.7 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.5748, allocations: 155.3 kB / 460.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5748, allocations: 0 / 460.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001853/0.5767, allocations: 332.8 kB / 460.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/0.5768, allocations: 61.28 kB / 461 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.5768, allocations: 12.05 kB / 461 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.5769, allocations: 3.953 kB / 461 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.5774, allocations: 35.97 kB / 461 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.5774, allocations: 7.938 kB / 461 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.578, allocations: 39.81 kB / 461.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.578, allocations: 8 kB / 461.1 MB, free: 14.58 MB / 394.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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0002535/0.5783, allocations: 137.8 kB / 461.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.5784, allocations: 15.81 kB / 461.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.58, allocations: 234.9 kB / 461.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.58, allocations: 0 / 461.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.58, allocations: 7.953 kB / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5801, allocations: 0 / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.5805, allocations: 233.5 kB / 461.7 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5805, allocations: 7.938 kB / 461.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.5809, allocations: 35.97 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.581, allocations: 0 / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.581, allocations: 4 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.581, allocations: 0 / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.581, allocations: 0 / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.5832, allocations: 368.8 kB / 462.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.5834, allocations: 108.9 kB / 462.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.5835, allocations: 4 kB / 462.2 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.5839, allocations: 36.03 kB / 462.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.584, allocations: 19.97 kB / 462.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.5841, allocations: 4 kB / 462.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002907/0.5844, allocations: 160.2 kB / 462.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5844, allocations: 0 / 462.4 MB, free: 13.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006531/0.5851, allocations: 44 kB / 462.5 MB, free: 13.09 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004045/0.5891, allocations: 1.191 MB / 463.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.5908, allocations: 350.6 kB / 464 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5909, allocations: 0 / 464 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.5916, allocations: 91.86 kB / 464.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.5921, allocations: 36.05 kB / 464.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.5943, allocations: 0.9247 MB / 465 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.5948, allocations: 0.7243 MB / 465.8 MB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.595, allocations: 51.41 kB / 465.8 MB, free: 9.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5951, allocations: 3.938 kB / 465.8 MB, free: 9.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.739/3.334, allocations: 3.352 MB / 469.2 MB, free: 6.312 MB / 394.7 MB