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.Test20.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.217e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4007, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.556, allocations: 81.43 MB / 439.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5564, allocations: 67.95 kB / 439.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02828/0.5847, allocations: 6.384 MB / 446 MB, free: 6.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5847, allocations: 0 / 446 MB, free: 6.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.939e-05/0.5848, allocations: 11.94 kB / 446 MB, free: 6.832 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009656/0.5858, allocations: 0.6895 MB / 446.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.5858, allocations: 8.031 kB / 446.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.586, allocations: 31.62 kB / 446.8 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.5866, allocations: 287.9 kB / 447 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5866, allocations: 7.984 kB / 447 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.5867, allocations: 15.94 kB / 447.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002206/0.5869, allocations: 55.94 kB / 447.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.5871, allocations: 89.59 kB / 447.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5872, allocations: 0 / 447.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.5872, allocations: 0 / 447.2 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5872, allocations: 4 kB / 447.2 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009135/0.5881, allocations: 448.8 kB / 447.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.5884, allocations: 82.5 kB / 447.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.5885, allocations: 24.86 kB / 447.7 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.5885, allocations: 4 kB / 447.7 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5886, allocations: 30.56 kB / 447.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.244e-06/0.5886, allocations: 0 / 447.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001132/0.5897, allocations: 317.8 kB / 448.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5898, allocations: 51.41 kB / 448.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.5905, allocations: 406.2 kB / 448.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.5906, allocations: 25.7 kB / 448.6 MB, free: 4.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5908, allocations: 214.9 kB / 448.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.5908, allocations: 63.03 kB / 448.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.5909, allocations: 4 kB / 448.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.591, allocations: 318.8 kB / 449.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.5912, allocations: 44.38 kB / 449.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.5913, allocations: 49.48 kB / 449.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.5915, allocations: 54.42 kB / 449.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5915, allocations: 0 / 449.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004466/0.592, allocations: 174.7 kB / 449.5 MB, free: 3.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5921, allocations: 136.5 kB / 449.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5921, allocations: 3.938 kB / 449.6 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.5921, allocations: 7.953 kB / 449.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.5925, allocations: 47.97 kB / 449.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5925, allocations: 0 / 449.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.5927, allocations: 8 kB / 449.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.5927, allocations: 7.984 kB / 449.7 MB, free: 2.93 MB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001173/0.5928, allocations: 111 kB / 449.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004254/0.5933, allocations: 165.2 kB / 449.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.5934, allocations: 31.58 kB / 450 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006461/0.594, allocations: 219.1 kB / 450.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.594, allocations: 0 / 450.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5941, allocations: 4 kB / 450.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.5941, allocations: 3.984 kB / 450.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5953, allocations: 0.5769 MB / 450.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5953, allocations: 0 / 450.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.5956, allocations: 35.98 kB / 450.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5956, allocations: 0 / 450.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.5956, allocations: 7.984 kB / 450.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5957, allocations: 0 / 450.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5957, allocations: 0 / 450.8 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.5962, allocations: 272 kB / 451.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.5964, allocations: 120.7 kB / 451.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.5964, allocations: 4 kB / 451.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5966, allocations: 11.98 kB / 451.2 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.5967, allocations: 15.97 kB / 451.2 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.5967, allocations: 8 kB / 451.2 MB, free: 1.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005449/0.5973, allocations: 312.5 kB / 451.5 MB, free: 0.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5973, allocations: 4 kB / 451.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.5979, allocations: 91.7 kB / 451.6 MB, free: 0.8633 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002623/0.6005, allocations: 1.335 MB / 453 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.6011, allocations: 389 kB / 453.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6012, allocations: 4 kB / 453.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.6013, allocations: 59.94 kB / 453.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.6019, allocations: 33.19 kB / 453.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.6037, allocations: 0.5911 MB / 454 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.6042, allocations: 0.7904 MB / 454.8 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.6045, allocations: 99.39 kB / 454.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6045, allocations: 0 / 454.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.703/3.307, allocations: 5.499 MB / 460.4 MB, free: 7.988 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat