Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3708, allocations: 48.71 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5379, allocations: 74.54 MB / 405.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5383, allocations: 71.97 kB / 406 MB, free: 3.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01952/0.5578, allocations: 5.187 MB / 411.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5579, allocations: 4 kB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.5579, allocations: 4 kB / 411.2 MB, free: 14.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009716/0.5589, allocations: 0.6411 MB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5589, allocations: 8.031 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.559, allocations: 38.56 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.5591, allocations: 39.44 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.5597, allocations: 319.3 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5598, allocations: 7.922 kB / 412.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.5598, allocations: 7.984 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.56, allocations: 57.62 kB / 412.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5601, allocations: 4 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5601, allocations: 0 / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5601, allocations: 0 / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.5603, allocations: 27.98 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.5611, allocations: 428.6 kB / 412.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.5614, allocations: 50.59 kB / 412.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.5615, allocations: 3.984 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.5615, allocations: 34.56 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.5615, allocations: 0 / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001051/0.5626, allocations: 247.9 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.5627, allocations: 51.41 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.5647, allocations: 0.7667 MB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.5647, allocations: 33.7 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.565, allocations: 230.6 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.565, allocations: 19.75 kB / 414.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.5651, allocations: 0 / 414.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5652, allocations: 314.8 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5654, allocations: 27.98 kB / 414.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.5655, allocations: 27.98 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.5658, allocations: 49.69 kB / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5658, allocations: 0 / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000396/0.5662, allocations: 115.6 kB / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.5662, allocations: 41.7 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5663, allocations: 0 / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5663, allocations: 0 / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.5664, allocations: 23.94 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5665, allocations: 0 / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5666, allocations: 7.984 kB / 414.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.5667, allocations: 4 kB / 414.8 MB, free: 10.67 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.0003822/0.5671, allocations: 213.8 kB / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5672, allocations: 43.38 kB / 415 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.5678, allocations: 152.8 kB / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5678, allocations: 0 / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5678, allocations: 3.953 kB / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5678, allocations: 4 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5692, allocations: 0.5726 MB / 415.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.5692, allocations: 0 / 415.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.5694, allocations: 23.92 kB / 415.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5694, allocations: 0 / 415.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.5694, allocations: 7.953 kB / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5694, allocations: 0 / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5694, allocations: 0 / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.57, allocations: 219 kB / 416 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.5703, allocations: 156.6 kB / 416.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.5703, allocations: 0 / 416.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.5705, allocations: 15.94 kB / 416.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.5706, allocations: 0 / 416.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5706, allocations: 8.188 kB / 416.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.5719, allocations: 0.6276 MB / 416.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.5719, allocations: 0 / 416.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000475/0.5724, allocations: 52 kB / 416.8 MB, free: 8.48 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.001576/0.574, allocations: 0.9174 MB / 417.8 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.5745, allocations: 111.4 kB / 417.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.5745, allocations: 0 / 417.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5746, allocations: 35.92 kB / 417.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.5751, allocations: 17.92 kB / 417.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.578, allocations: 1.371 MB / 419.3 MB, free: 5.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.5786, allocations: 0.8223 MB / 420.1 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.5789, allocations: 107.4 kB / 420.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5789, allocations: 0 / 420.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.285, allocations: 6.817 MB / 427 MB, free: 14.2 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat