Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004487, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4998, allocations: 74.53 MB / 405.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5001, allocations: 71.95 kB / 406 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.5125, allocations: 2.986 MB / 409 MB, free: 0.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5126, allocations: 4 kB / 409 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5126, allocations: 0 / 409 MB, free: 0.7031 MB / 330.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.0005513/0.5131, allocations: 423.8 kB / 409.4 MB, free: 244 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5132, allocations: 11.97 kB / 409.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.5133, allocations: 34.56 kB / 409.4 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.5133, allocations: 11.91 kB / 409.4 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.5136, allocations: 195.4 kB / 409.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.5137, allocations: 0 / 409.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5137, allocations: 8 kB / 409.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.5139, allocations: 53.61 kB / 409.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5139, allocations: 0 / 409.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5139, allocations: 7.984 kB / 409.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.514, allocations: 8 kB / 409.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5141, allocations: 23.98 kB / 409.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.5146, allocations: 292.9 kB / 410 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.5149, allocations: 50.5 kB / 410.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.515, allocations: 0 / 410.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.515, allocations: 30.56 kB / 410.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.515, allocations: 4 kB / 410.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008735/0.5159, allocations: 173.3 kB / 410.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.516, allocations: 55.41 kB / 410.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.5162, allocations: 177.4 kB / 410.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5163, allocations: 25.7 kB / 410.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.5164, allocations: 174.5 kB / 410.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.5164, allocations: 7.812 kB / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5164, allocations: 0 / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5166, allocations: 322.8 kB / 411 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5167, allocations: 31.97 kB / 411 MB, free: 14.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.5169, allocations: 23.98 kB / 411.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.517, allocations: 61.62 kB / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5171, allocations: 0 / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004444/0.5175, allocations: 127.3 kB / 411.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.5176, allocations: 29.7 kB / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5176, allocations: 0 / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5176, allocations: 3.938 kB / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5177, allocations: 15.98 kB / 411.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5178, allocations: 0 / 411.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.5179, allocations: 15.91 kB / 411.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.5179, allocations: 0 / 411.3 MB, free: 14.11 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.0001389/0.518, allocations: 133.8 kB / 411.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.5181, allocations: 7.906 kB / 411.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.5185, allocations: 109.9 kB / 411.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.5185, allocations: 4 kB / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5185, allocations: 0 / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5185, allocations: 0 / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006874/0.5192, allocations: 374.9 kB / 411.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5193, allocations: 0 / 411.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5194, allocations: 27.92 kB / 411.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5194, allocations: 0 / 411.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5194, allocations: 4 kB / 411.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5194, allocations: 0 / 411.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5194, allocations: 0 / 411.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.5198, allocations: 199.4 kB / 412.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.5199, allocations: 89 kB / 412.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.52, allocations: 4 kB / 412.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5201, allocations: 4 kB / 412.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.5201, allocations: 3.984 kB / 412.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.5202, allocations: 8 kB / 412.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5204, allocations: 141.9 kB / 412.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5204, allocations: 4 kB / 412.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000333/0.5207, allocations: 27.94 kB / 412.4 MB, free: 12.88 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.001284/0.522, allocations: 0.8791 MB / 413.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.5224, allocations: 115.4 kB / 413.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5224, allocations: 4 kB / 413.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5226, allocations: 35.92 kB / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.5229, allocations: 11.98 kB / 413.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.5239, allocations: 0.4939 MB / 414 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.5242, allocations: 0.7043 MB / 414.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.5243, allocations: 27.42 kB / 414.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5243, allocations: 0 / 414.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.31, allocations: 1.85 MB / 416.5 MB, free: 8.699 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat