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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.637/2.637, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.894e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3556, allocations: 54.84 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.5069, allocations: 80.05 MB / 438.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5072, allocations: 71.95 kB / 438.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.5269, allocations: 5.198 MB / 443.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5269, allocations: 0 / 443.4 MB, free: 9.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.527, allocations: 12 kB / 443.5 MB, free: 9.48 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.0008436/0.5278, allocations: 0.5693 MB / 444 MB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5279, allocations: 8.031 kB / 444 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.528, allocations: 39.47 kB / 444.1 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.5286, allocations: 323.3 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5287, allocations: 0 / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5287, allocations: 4 kB / 444.4 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.245e-05/0.5288, allocations: 12 kB / 444.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.5289, allocations: 41.69 kB / 444.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5289, allocations: 3.953 kB / 444.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.529, allocations: 0 / 444.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.529, allocations: 11.92 kB / 444.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.5297, allocations: 385.4 kB / 444.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.5298, allocations: 26.58 kB / 444.9 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.5299, allocations: 16.94 kB / 444.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.5299, allocations: 4 kB / 444.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5299, allocations: 38.52 kB / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.53, allocations: 0 / 444.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.00026/0.5302, allocations: 81.17 kB / 445 MB, free: 7.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5303, allocations: 51.41 kB / 445.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.5321, allocations: 0.7393 MB / 445.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5321, allocations: 29.69 kB / 445.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.5324, allocations: 238.5 kB / 446.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5324, allocations: 7.844 kB / 446.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.5324, allocations: 4 kB / 446.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5325, allocations: 316.6 kB / 446.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.5326, allocations: 8 kB / 446.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.5326, allocations: 8 kB / 446.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.5327, allocations: 7.984 kB / 446.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5327, allocations: 0 / 446.4 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001492/0.5329, allocations: 45.7 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.5329, allocations: 37.69 kB / 446.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5329, allocations: 0 / 446.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.533, allocations: 3.953 kB / 446.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.5331, allocations: 15.94 kB / 446.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.5332, allocations: 0 / 446.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.5333, allocations: 15.89 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5333, allocations: 0 / 446.5 MB, free: 6.211 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 (4): * Single equations (assignments): 3 * 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 8.701e-05/0.5334, allocations: 103 kB / 446.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001997/0.5336, allocations: 97.14 kB / 446.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5338, allocations: 39.48 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.534, allocations: 105.2 kB / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5341, allocations: 0 / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5341, allocations: 0 / 446.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.5341, allocations: 3.984 kB / 446.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.5345, allocations: 297.9 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5346, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5347, allocations: 11.98 kB / 447.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.5347, allocations: 0 / 447.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5347, allocations: 4 kB / 447.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5347, allocations: 7.953 kB / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5347, allocations: 0 / 447.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.535, allocations: 171.4 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.5353, allocations: 156.7 kB / 447.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.5353, allocations: 3.984 kB / 447.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5355, allocations: 8 kB / 447.5 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5356, allocations: 7.891 kB / 447.5 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.5356, allocations: 8 kB / 447.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001018/0.5366, allocations: 0.5965 MB / 448.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5366, allocations: 0 / 448.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004303/0.5371, allocations: 48 kB / 448.2 MB, free: 4.473 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 (3): * Single equations (assignments): 3 * 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.001055/0.5381, allocations: 0.8231 MB / 449 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.5383, allocations: 75.34 kB / 449.1 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5383, allocations: 4 kB / 449.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.5384, allocations: 8 kB / 449.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.5388, allocations: 22.03 kB / 449.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5408, allocations: 0.8226 MB / 449.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.5413, allocations: 0.8262 MB / 450.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.5416, allocations: 111.4 kB / 450.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5416, allocations: 0 / 450.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.259, allocations: 6.638 MB / 457.5 MB, free: 11.06 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat