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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 16 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3513, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5057, allocations: 82.1 MB / 451.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.5061, allocations: 75.89 kB / 451.5 MB, free: 8.324 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.02517/0.5313, allocations: 4.395 MB / 455.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5313, allocations: 4 kB / 455.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5314, allocations: 0 / 455.9 MB, free: 3.914 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.0007804/0.5322, allocations: 478.1 kB / 456.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5322, allocations: 8.031 kB / 456.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.5323, allocations: 34.55 kB / 456.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.5324, allocations: 11.91 kB / 456.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.5328, allocations: 198.9 kB / 456.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.5329, allocations: 4 kB / 456.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.5329, allocations: 8 kB / 456.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.5332, allocations: 57.62 kB / 456.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5332, allocations: 0 / 456.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.5332, allocations: 4 kB / 456.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5333, allocations: 0 / 456.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.5334, allocations: 27.92 kB / 456.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.5341, allocations: 300.9 kB / 457 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.5344, allocations: 70.56 kB / 457.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.5345, allocations: 3.938 kB / 457.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.5347, allocations: 80.06 kB / 457.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.5348, allocations: 0 / 457.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.5358, allocations: 177.2 kB / 457.4 MB, free: 2.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.5359, allocations: 59.41 kB / 457.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.5361, allocations: 140.2 kB / 457.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.5362, allocations: 29.7 kB / 457.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5363, allocations: 162.5 kB / 457.7 MB, free: 1.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.5364, allocations: 23.66 kB / 457.8 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.5364, allocations: 4 kB / 457.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5366, allocations: 314.8 kB / 458.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.5368, allocations: 39.98 kB / 458.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.537, allocations: 59.52 kB / 458.2 MB, free: 1.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5373, allocations: 73.7 kB / 458.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5373, allocations: 0 / 458.3 MB, free: 1.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000648/0.538, allocations: 183.2 kB / 458.4 MB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.5381, allocations: 33.7 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5381, allocations: 0 / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5381, allocations: 0 / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.5383, allocations: 20.3 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5383, allocations: 8.031 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5385, allocations: 4 kB / 458.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5385, allocations: 12 kB / 458.5 MB, free: 1.082 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.0001741/0.5387, allocations: 121.8 kB / 458.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.5388, allocations: 15.84 kB / 458.6 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5393, allocations: 122.4 kB / 458.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.5393, allocations: 4 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5393, allocations: 4 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5394, allocations: 0 / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.5403, allocations: 411.2 kB / 459.2 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5403, allocations: 0 / 459.2 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.5404, allocations: 8 kB / 459.2 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.5404, allocations: 7.938 kB / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5405, allocations: 0 / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5405, allocations: 0 / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5405, allocations: 4.219 kB / 459.2 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.541, allocations: 233.8 kB / 459.4 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.5412, allocations: 89 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.5412, allocations: 8 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.5414, allocations: 0 / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5415, allocations: 15.92 kB / 459.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5415, allocations: 4 kB / 459.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.5417, allocations: 118.6 kB / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.5417, allocations: 0 / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000658/0.5424, allocations: 39.94 kB / 459.7 MB, free: 15.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 (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.5451, allocations: 1.173 MB / 460.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.5458, allocations: 167.3 kB / 461 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5458, allocations: 0 / 461 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.546, allocations: 35.97 kB / 461.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.5465, allocations: 32.38 kB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.548, allocations: 0.6223 MB / 461.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.5484, allocations: 0.7082 MB / 462.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5486, allocations: 23.42 kB / 462.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.5486, allocations: 0 / 462.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.247, allocations: 2.302 MB / 464.7 MB, free: 10.67 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat