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.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3577, allocations: 48.69 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.5112, allocations: 74.55 MB / 405.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5116, allocations: 71.95 kB / 406 MB, free: 3.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01869/0.5303, allocations: 5.188 MB / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5303, allocations: 0 / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.5304, allocations: 4 kB / 411.2 MB, free: 14.48 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.0009084/0.5313, allocations: 0.6483 MB / 411.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5313, allocations: 8.031 kB / 411.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.5314, allocations: 38.56 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/0.5315, allocations: 43.44 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.5321, allocations: 323.3 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5321, allocations: 0 / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.5322, allocations: 4 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.5324, allocations: 61.59 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5324, allocations: 0 / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.5324, allocations: 0 / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.5324, allocations: 4 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.5326, allocations: 27.98 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.5334, allocations: 436.6 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.5337, allocations: 46.56 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.5337, allocations: 0 / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5338, allocations: 30.56 kB / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5338, allocations: 0 / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009455/0.5347, allocations: 252 kB / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5348, allocations: 51.41 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.5367, allocations: 0.7706 MB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.5367, allocations: 29.7 kB / 413.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.5369, allocations: 230.6 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.537, allocations: 15.75 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.537, allocations: 4 kB / 414.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5372, allocations: 318.8 kB / 414.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.5373, allocations: 27.97 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.5375, allocations: 23.98 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5376, allocations: 57.88 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5376, allocations: 0 / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003645/0.538, allocations: 119.4 kB / 414.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.5381, allocations: 29.7 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5381, allocations: 0 / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5381, allocations: 4 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.5382, allocations: 23.88 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5383, allocations: 4 kB / 414.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.5384, allocations: 4 kB / 414.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5384, allocations: 0 / 414.8 MB, free: 10.65 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.0002902/0.5387, allocations: 217.7 kB / 415 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5389, allocations: 43.44 kB / 415 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.5393, allocations: 140.9 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.5393, allocations: 4 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5394, allocations: 7.891 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5394, allocations: 0 / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.5406, allocations: 0.5842 MB / 415.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5406, allocations: 0 / 415.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.5407, allocations: 15.98 kB / 415.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5408, allocations: 0 / 415.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5408, allocations: 7.953 kB / 415.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5408, allocations: 0 / 415.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5408, allocations: 0 / 415.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.5413, allocations: 223.2 kB / 416 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.5415, allocations: 156.6 kB / 416.1 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5416, allocations: 4 kB / 416.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.5418, allocations: 11.95 kB / 416.2 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.5418, allocations: 11.98 kB / 416.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5418, allocations: 0 / 416.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.543, allocations: 0.6276 MB / 416.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.543, allocations: 0 / 416.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.5435, allocations: 52 kB / 416.8 MB, free: 8.453 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.001383/0.5449, allocations: 0.8969 MB / 417.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.5453, allocations: 119.3 kB / 417.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5453, allocations: 0 / 417.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5454, allocations: 31.97 kB / 417.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5458, allocations: 17.92 kB / 417.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.5484, allocations: 1.371 MB / 419.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.5491, allocations: 0.8223 MB / 420.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.5493, allocations: 107.4 kB / 420.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5493, allocations: 0 / 420.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.682/3.232, allocations: 6.82 MB / 427 MB, free: 14.18 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat