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.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 15.98 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4962, allocations: 82.11 MB / 451.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.4966, allocations: 83.95 kB / 451.6 MB, free: 8.309 MB / 378.7 MB [/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.02574/0.5224, allocations: 4.419 MB / 456 MB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.38e-06/0.5224, allocations: 3.984 kB / 456 MB, free: 3.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.5224, allocations: 11.94 kB / 456 MB, free: 3.867 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.000784/0.5232, allocations: 470.2 kB / 456.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5233, allocations: 8.031 kB / 456.5 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.5234, allocations: 34.56 kB / 456.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.5235, allocations: 19.91 kB / 456.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.5239, allocations: 200.4 kB / 456.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.524, allocations: 3.938 kB / 456.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.524, allocations: 8 kB / 456.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.5242, allocations: 57.61 kB / 456.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5243, allocations: 0 / 456.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.5243, allocations: 11.94 kB / 456.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5243, allocations: 0 / 456.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.5245, allocations: 19.98 kB / 456.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.5251, allocations: 316.8 kB / 457.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.5255, allocations: 58.61 kB / 457.2 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5255, allocations: 4.125 kB / 457.2 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.5258, allocations: 80 kB / 457.3 MB, free: 2.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5258, allocations: 0 / 457.3 MB, free: 2.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009871/0.5268, allocations: 177.3 kB / 457.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.5269, allocations: 55.41 kB / 457.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.5272, allocations: 157 kB / 457.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.5272, allocations: 25.7 kB / 457.7 MB, free: 1.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.5274, allocations: 166.5 kB / 457.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5274, allocations: 23.66 kB / 457.8 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.5275, allocations: 4 kB / 457.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5276, allocations: 322.8 kB / 458.2 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.5278, allocations: 35.98 kB / 458.2 MB, free: 1.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5281, allocations: 53.69 kB / 458.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.5283, allocations: 77.64 kB / 458.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5283, allocations: 0 / 458.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005903/0.5289, allocations: 171.3 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6e-05/0.529, allocations: 37.73 kB / 458.5 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.529, allocations: 3.984 kB / 458.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5291, allocations: 0 / 458.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.5293, allocations: 19.94 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5293, allocations: 0 / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.5294, allocations: 11.91 kB / 458.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.5295, allocations: 7.984 kB / 458.6 MB, free: 1.02 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.0001776/0.5297, allocations: 127 kB / 458.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.5297, allocations: 19.8 kB / 458.7 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.5303, allocations: 122.4 kB / 458.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.5303, allocations: 0 / 458.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.5303, allocations: 4.375 kB / 458.8 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5303, allocations: 7.969 kB / 458.8 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.5312, allocations: 403.2 kB / 459.2 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.5313, allocations: 8 kB / 459.2 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.5314, allocations: 12.03 kB / 459.3 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.5314, allocations: 3.938 kB / 459.3 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.5314, allocations: 11.98 kB / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5314, allocations: 0 / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5314, allocations: 0 / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.532, allocations: 226 kB / 459.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.5321, allocations: 100.9 kB / 459.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.5322, allocations: 4 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5324, allocations: 7.984 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.5324, allocations: 4 kB / 459.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5325, allocations: 4 kB / 459.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.5327, allocations: 127.2 kB / 459.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5327, allocations: 0 / 459.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006467/0.5334, allocations: 40 kB / 459.8 MB, free: 15.68 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.002694/0.5361, allocations: 1.179 MB / 461 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.5367, allocations: 171.3 kB / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5367, allocations: 0 / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.5369, allocations: 35.92 kB / 461.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.5374, allocations: 20.59 kB / 461.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5388, allocations: 0.6461 MB / 461.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5392, allocations: 0.7159 MB / 462.5 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.5393, allocations: 35.42 kB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5394, allocations: 0 / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.147, allocations: 2.352 MB / 464.9 MB, free: 10.48 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat