Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004461, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.4915, allocations: 74.76 MB / 406.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4919, allocations: 75.95 kB / 406.2 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.5072, allocations: 3.688 MB / 409.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5073, allocations: 0 / 409.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.5073, allocations: 0 / 409.9 MB, free: 15.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005294/0.5079, allocations: 404.9 kB / 410.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5079, allocations: 12.03 kB / 410.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.508, allocations: 38.5 kB / 410.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.508, allocations: 7.906 kB / 410.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.5083, allocations: 183 kB / 410.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5083, allocations: 3.938 kB / 410.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.5084, allocations: 4 kB / 410.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5086, allocations: 59.41 kB / 410.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5086, allocations: 0 / 410.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5086, allocations: 4 kB / 410.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5086, allocations: 4 kB / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.5088, allocations: 27.97 kB / 410.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.5092, allocations: 276.7 kB / 410.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.5095, allocations: 50.55 kB / 410.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.5095, allocations: 0 / 410.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.5096, allocations: 30.56 kB / 411 MB, free: 14.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.5096, allocations: 3.938 kB / 411 MB, free: 14.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008105/0.5104, allocations: 157.8 kB / 411.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.5105, allocations: 77.11 kB / 411.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.5106, allocations: 113 kB / 411.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5107, allocations: 25.7 kB / 411.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.5108, allocations: 158.6 kB / 411.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.5108, allocations: 19.73 kB / 411.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5108, allocations: 0 / 411.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.511, allocations: 318.8 kB / 411.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.5111, allocations: 23.98 kB / 411.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.5113, allocations: 49.7 kB / 411.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.5114, allocations: 53.69 kB / 411.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5114, allocations: 0 / 411.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003562/0.5118, allocations: 123.2 kB / 412.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.5119, allocations: 37.73 kB / 412.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5119, allocations: 0 / 412.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5119, allocations: 0 / 412.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.512, allocations: 15.98 kB / 412.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.512, allocations: 0 / 412.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.5121, allocations: 12 kB / 412.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5122, allocations: 0 / 412.1 MB, free: 13.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001123/0.5123, allocations: 125.7 kB / 412.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.5123, allocations: 7.984 kB / 412.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.5127, allocations: 97.52 kB / 412.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.5127, allocations: 7.938 kB / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5127, allocations: 0 / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5127, allocations: 0 / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.5134, allocations: 354.5 kB / 412.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5134, allocations: 0 / 412.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5135, allocations: 19.98 kB / 412.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.5135, allocations: 0 / 412.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5135, allocations: 7.938 kB / 412.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5136, allocations: 4 kB / 412.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5136, allocations: 0 / 412.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.5139, allocations: 183.8 kB / 412.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.514, allocations: 85 kB / 413 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.514, allocations: 7.938 kB / 413 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5141, allocations: 12 kB / 413 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.5142, allocations: 3.984 kB / 413 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.5142, allocations: 4 kB / 413 MB, free: 12.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.5143, allocations: 91.27 kB / 413.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5143, allocations: 0 / 413.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.5148, allocations: 32 kB / 413.1 MB, free: 12.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001456/0.5162, allocations: 0.9576 MB / 414.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.5166, allocations: 115.3 kB / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5166, allocations: 0 / 414.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.5168, allocations: 27.98 kB / 414.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.517, allocations: 11.98 kB / 414.3 MB, free: 11.09 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.5201, allocations: 1.117 MB / 415.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5205, allocations: 0.6887 MB / 416.1 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.5206, allocations: 27.42 kB / 416.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of SimCode: time 1.964e-06/0.5206, allocations: 4 kB / 416.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.581/3.101, allocations: 1.756 MB / 417.8 MB, free: 7.406 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat