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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235.1 MB / 243 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.637e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 54.86 MB / 358.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.5542, allocations: 80.1 MB / 438.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5546, allocations: 75.95 kB / 438.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.5744, allocations: 5.147 MB / 443.5 MB, free: 9.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5745, allocations: 4 kB / 443.5 MB, free: 9.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.838e-05/0.5745, allocations: 4 kB / 443.5 MB, free: 9.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007878/0.5753, allocations: 0.5654 MB / 444 MB, free: 8.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5754, allocations: 11.97 kB / 444 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.5755, allocations: 39.53 kB / 444.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.5761, allocations: 319.3 kB / 444.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5762, allocations: 0 / 444.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.5762, allocations: 0 / 444.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.157e-05/0.5763, allocations: 15.94 kB / 444.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5764, allocations: 45.69 kB / 444.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5764, allocations: 3.953 kB / 444.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5765, allocations: 0 / 444.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5765, allocations: 0 / 444.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.5773, allocations: 381.4 kB / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.5774, allocations: 34.52 kB / 444.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.5774, allocations: 4.859 kB / 444.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.5775, allocations: 8.047 kB / 444.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.5775, allocations: 34.52 kB / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.5775, allocations: 0 / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000294/0.5778, allocations: 77.22 kB / 445 MB, free: 7.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.5779, allocations: 51.41 kB / 445 MB, free: 7.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.5798, allocations: 0.7355 MB / 445.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5798, allocations: 29.7 kB / 445.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.5801, allocations: 242.4 kB / 446 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5801, allocations: 3.906 kB / 446 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5801, allocations: 0 / 446 MB, free: 6.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5803, allocations: 312.6 kB / 446.3 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.5803, allocations: 8 kB / 446.4 MB, free: 6.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.5804, allocations: 11.92 kB / 446.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.5804, allocations: 11.98 kB / 446.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5804, allocations: 0 / 446.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001413/0.5806, allocations: 45.7 kB / 446.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.5807, allocations: 33.69 kB / 446.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5807, allocations: 0 / 446.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5807, allocations: 3.953 kB / 446.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5808, allocations: 8 kB / 446.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5808, allocations: 0 / 446.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.581, allocations: 4 kB / 446.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.581, allocations: 0 / 446.5 MB, free: 6.285 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 (3): * Single equations (assignments): 2 * 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 9.372e-05/0.5811, allocations: 114.9 kB / 446.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002054/0.5813, allocations: 85.16 kB / 446.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5814, allocations: 43.39 kB / 446.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.5817, allocations: 96.78 kB / 446.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5817, allocations: 0 / 446.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5818, allocations: 4 kB / 446.8 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5818, allocations: 0 / 446.8 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.5822, allocations: 290 kB / 447.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5822, allocations: 0 / 447.1 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.5823, allocations: 12.06 kB / 447.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5823, allocations: 0 / 447.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5824, allocations: 0 / 447.1 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.5824, allocations: 7.953 kB / 447.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5824, allocations: 0 / 447.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.5826, allocations: 179 kB / 447.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.5829, allocations: 152.6 kB / 447.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.583, allocations: 4.016 kB / 447.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5832, allocations: 8 kB / 447.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.5833, allocations: 3.953 kB / 447.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.5833, allocations: 0 / 447.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.5844, allocations: 0.6004 MB / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5844, allocations: 0 / 448 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.5849, allocations: 47.91 kB / 448.1 MB, free: 4.57 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 (2): * Single equations (assignments): 2 * 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.001173/0.5861, allocations: 0.8187 MB / 448.9 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5863, allocations: 67.41 kB / 449 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5863, allocations: 4 kB / 449 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.5863, allocations: 8 kB / 449 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.5867, allocations: 22.03 kB / 449 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.5887, allocations: 0.8224 MB / 449.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.5894, allocations: 0.8224 MB / 450.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.5897, allocations: 103.4 kB / 450.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5897, allocations: 7.938 kB / 450.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.599/3.189, allocations: 6.529 MB / 457.3 MB, free: 11.28 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat