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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 12 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4892, allocations: 82.11 MB / 451.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.4896, allocations: 87.89 kB / 451.6 MB, free: 8.312 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.02043/0.51, allocations: 4.481 MB / 456 MB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5101, allocations: 0 / 456 MB, free: 3.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.5101, allocations: 4 kB / 456 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006597/0.5108, allocations: 482.1 kB / 456.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5108, allocations: 12.03 kB / 456.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.5109, allocations: 34.55 kB / 456.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.511, allocations: 11.91 kB / 456.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.5113, allocations: 210.3 kB / 456.8 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.5114, allocations: 4 kB / 456.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.5114, allocations: 4 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.5116, allocations: 57.67 kB / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5116, allocations: 0 / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5116, allocations: 3.953 kB / 456.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5117, allocations: 8 kB / 456.9 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5118, allocations: 19.98 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.5123, allocations: 308.8 kB / 457.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.5125, allocations: 62.62 kB / 457.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5126, allocations: 0 / 457.2 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.5128, allocations: 80.16 kB / 457.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.5128, allocations: 0 / 457.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008117/0.5136, allocations: 189.1 kB / 457.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5137, allocations: 51.41 kB / 457.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.5139, allocations: 165.3 kB / 457.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.514, allocations: 33.7 kB / 457.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.5141, allocations: 174.4 kB / 457.9 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5141, allocations: 23.66 kB / 457.9 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.5141, allocations: 7.938 kB / 457.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5143, allocations: 314.8 kB / 458.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5144, allocations: 39.98 kB / 458.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.5146, allocations: 53.69 kB / 458.3 MB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.5148, allocations: 69.7 kB / 458.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5148, allocations: 0 / 458.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000449/0.5153, allocations: 191.2 kB / 458.6 MB, free: 1.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.5153, allocations: 33.7 kB / 458.6 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5153, allocations: 0 / 458.6 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5154, allocations: 0 / 458.6 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5155, allocations: 15.98 kB / 458.6 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5155, allocations: 4 kB / 458.6 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.759e-05/0.5156, allocations: 4 kB / 458.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5157, allocations: 8 kB / 458.7 MB, free: 0.9453 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.000144/0.5158, allocations: 136.9 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.5159, allocations: 15.77 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.5163, allocations: 118.3 kB / 458.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5163, allocations: 4 kB / 458.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5163, allocations: 0 / 458.9 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5163, allocations: 3.984 kB / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.517, allocations: 411.3 kB / 459.3 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.5171, allocations: 0 / 459.3 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.5171, allocations: 12.36 kB / 459.3 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5172, allocations: 7.938 kB / 459.4 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5172, allocations: 4 kB / 459.4 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5172, allocations: 4.156 kB / 459.4 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5172, allocations: 4 kB / 459.4 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.5176, allocations: 226 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5177, allocations: 104.9 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.5178, allocations: 288 / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5179, allocations: 8 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.518, allocations: 7.984 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.518, allocations: 7.938 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.5182, allocations: 131.2 kB / 459.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5182, allocations: 0 / 459.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.5186, allocations: 47.92 kB / 459.9 MB, free: 15.59 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.001947/0.5206, allocations: 1.17 MB / 461.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.5211, allocations: 163.4 kB / 461.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.5212, allocations: 0 / 461.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.5213, allocations: 35.92 kB / 461.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5218, allocations: 15.98 kB / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.5233, allocations: 0.6732 MB / 461.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.5237, allocations: 0.716 MB / 462.7 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5238, allocations: 31.42 kB / 462.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5239, allocations: 0 / 462.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.623/3.147, allocations: 2.417 MB / 465.1 MB, free: 10.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat