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.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.494e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3491, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.5007, allocations: 81.2 MB / 439.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5011, allocations: 71.97 kB / 439.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03247/0.5336, allocations: 6.7 MB / 446.1 MB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.408e-06/0.5336, allocations: 3.984 kB / 446.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.605e-05/0.5337, allocations: 16 kB / 446.1 MB, free: 6.742 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001753/0.5355, allocations: 0.7459 MB / 446.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/0.5356, allocations: 8.031 kB / 446.9 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.5359, allocations: 51.34 kB / 446.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5374, allocations: 439.1 kB / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5375, allocations: 7.953 kB / 447.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.5376, allocations: 11.94 kB / 447.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003466/0.5379, allocations: 59.98 kB / 447.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.5383, allocations: 112.2 kB / 447.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5384, allocations: 0 / 447.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.5384, allocations: 0 / 447.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.5385, allocations: 7.938 kB / 447.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.5409, allocations: 0.6649 MB / 448.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.5414, allocations: 101.3 kB / 448.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.5415, allocations: 42 kB / 448.3 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.5416, allocations: 7.984 kB / 448.4 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.5417, allocations: 38.5 kB / 448.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 4.178e-06/0.5417, allocations: 0 / 448.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.003532/0.5452, allocations: 0.518 MB / 448.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.5454, allocations: 81.11 kB / 449 MB, free: 3.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.5475, allocations: 0.6972 MB / 449.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.564e-05/0.5477, allocations: 25.7 kB / 449.7 MB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.548, allocations: 247.2 kB / 450 MB, free: 2.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.5481, allocations: 66.95 kB / 450 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.5482, allocations: 7.938 kB / 450 MB, free: 2.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5484, allocations: 322.8 kB / 450.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.5487, allocations: 60 kB / 450.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.5491, allocations: 81.56 kB / 450.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.5495, allocations: 67.97 kB / 450.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5495, allocations: 0 / 450.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009465/0.5504, allocations: 201.4 kB / 450.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.5506, allocations: 122.8 kB / 450.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5506, allocations: 4 kB / 450.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.5507, allocations: 0 / 450.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008895/0.5516, allocations: 63.89 kB / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5516, allocations: 0 / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.5523, allocations: 31.97 kB / 451 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.5524, allocations: 8 kB / 451 MB, free: 1.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.0001834/0.5527, allocations: 105 kB / 451.1 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001134/0.5538, allocations: 233 kB / 451.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.5541, allocations: 55.3 kB / 451.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.5555, allocations: 269.8 kB / 451.6 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.5556, allocations: 4 kB / 451.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5556, allocations: 0 / 451.6 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5556, allocations: 4 kB / 451.6 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.5587, allocations: 0.8141 MB / 452.4 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5587, allocations: 0 / 452.4 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.5596, allocations: 63.95 kB / 452.5 MB, free: 0 / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5596, allocations: 4.047 kB / 452.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.5597, allocations: 7.938 kB / 452.5 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.5597, allocations: 3.938 kB / 452.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5597, allocations: 0 / 452.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5608, allocations: 417.8 kB / 452.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.5613, allocations: 164.5 kB / 453.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.5614, allocations: 4 kB / 453.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.5621, allocations: 27.97 kB / 453.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.5623, allocations: 15.97 kB / 453.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.5623, allocations: 8 kB / 453.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001518/0.5639, allocations: 0.5418 MB / 453.7 MB, free: 14.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5639, allocations: 0 / 453.7 MB, free: 14.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001056/0.565, allocations: 103.9 kB / 453.8 MB, free: 14.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.003655/0.5686, allocations: 1.401 MB / 455.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5698, allocations: 377.5 kB / 455.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5698, allocations: 3.938 kB / 455.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.5702, allocations: 87.92 kB / 455.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5713, allocations: 42.06 kB / 455.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.5749, allocations: 0.8477 MB / 456.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.5757, allocations: 0.8458 MB / 457.4 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.5764, allocations: 163.3 kB / 457.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5764, allocations: 0 / 457.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/3.219, allocations: 7.993 MB / 465.5 MB, free: 2.852 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat