Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5.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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3497, allocations: 54.85 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.498, allocations: 81 MB / 450.4 MB, free: 9.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4984, allocations: 83.91 kB / 450.4 MB, free: 9.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.5174, allocations: 5.341 MB / 455.8 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5174, allocations: 0 / 455.8 MB, free: 4.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.5175, allocations: 4 kB / 455.8 MB, free: 4.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009012/0.5184, allocations: 0.6355 MB / 456.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5184, allocations: 16.03 kB / 456.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.5185, allocations: 34.56 kB / 456.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.5186, allocations: 39.44 kB / 456.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.5192, allocations: 323.3 kB / 456.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5192, allocations: 8 kB / 456.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.5192, allocations: 0 / 456.8 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5194, allocations: 53.64 kB / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5195, allocations: 0 / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.5195, allocations: 4 kB / 456.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5195, allocations: 4 kB / 456.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.5197, allocations: 31.92 kB / 456.9 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.5204, allocations: 428.6 kB / 457.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.5207, allocations: 50.56 kB / 457.4 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.5208, allocations: 4 kB / 457.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5208, allocations: 36.38 kB / 457.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.5208, allocations: 0 / 457.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009382/0.5218, allocations: 240.1 kB / 457.7 MB, free: 2.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5218, allocations: 55.41 kB / 457.7 MB, free: 2.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.5237, allocations: 0.7628 MB / 458.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.5238, allocations: 29.7 kB / 458.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.524, allocations: 234.5 kB / 458.7 MB, free: 1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5241, allocations: 27.73 kB / 458.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5241, allocations: 0 / 458.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5242, allocations: 310.8 kB / 459.1 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.5244, allocations: 23.98 kB / 459.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.5245, allocations: 27.92 kB / 459.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.5247, allocations: 61.62 kB / 459.2 MB, free: 0.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.5247, allocations: 3.953 kB / 459.2 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003901/0.5251, allocations: 115.4 kB / 459.3 MB, free: 424 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.5252, allocations: 33.69 kB / 459.3 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5252, allocations: 0 / 459.3 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5252, allocations: 4 kB / 459.3 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5254, allocations: 12 kB / 459.3 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5254, allocations: 0 / 459.3 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.5256, allocations: 15.98 kB / 459.4 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5256, allocations: 0 / 459.4 MB, free: 352 kB / 378.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.0003354/0.5259, allocations: 209.7 kB / 459.6 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.5261, allocations: 47.39 kB / 459.6 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.5266, allocations: 144.9 kB / 459.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5266, allocations: 0 / 459.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5266, allocations: 0 / 459.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5266, allocations: 0 / 459.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.5279, allocations: 0.5882 MB / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.528, allocations: 0 / 460.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5281, allocations: 20.3 kB / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5281, allocations: 0 / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5281, allocations: 0 / 460.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.5281, allocations: 4 kB / 460.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5282, allocations: 8 kB / 460.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.5286, allocations: 222.9 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.5289, allocations: 152.9 kB / 460.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.529, allocations: 11.92 kB / 460.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.5291, allocations: 8 kB / 460.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.5292, allocations: 7.984 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5292, allocations: 3.984 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.5304, allocations: 0.6237 MB / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.5304, allocations: 0 / 461.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.5309, allocations: 56 kB / 461.4 MB, free: 14.14 MB / 394.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.001618/0.5325, allocations: 0.9566 MB / 462.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.533, allocations: 115.3 kB / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.533, allocations: 0 / 462.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.5331, allocations: 27.98 kB / 462.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5335, allocations: 21.91 kB / 462.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.5363, allocations: 1.371 MB / 463.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.5369, allocations: 0.8223 MB / 464.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.5372, allocations: 103.6 kB / 464.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5372, allocations: 0 / 464.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.384, allocations: 6.835 MB / 471.7 MB, free: 3.805 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat