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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.512/2.512, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 54.87 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.562, allocations: 82.19 MB / 451.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5623, allocations: 71.95 kB / 451.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02964/0.592, allocations: 6.458 MB / 458.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.592, allocations: 0 / 458.1 MB, free: 1.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.5921, allocations: 7.938 kB / 458.1 MB, free: 1.848 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.001078/0.5932, allocations: 0.7288 MB / 458.8 MB, free: 1.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.5932, allocations: 12.03 kB / 458.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.5933, allocations: 50.55 kB / 458.9 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.5934, allocations: 35.53 kB / 458.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.594, allocations: 295 kB / 459.2 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5941, allocations: 4 kB / 459.2 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.5941, allocations: 19.94 kB / 459.2 MB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.5945, allocations: 109.6 kB / 459.3 MB, free: 480 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5945, allocations: 7.906 kB / 459.3 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.5946, allocations: 7.938 kB / 459.3 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5946, allocations: 7.938 kB / 459.4 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.5949, allocations: 79.95 kB / 459.4 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/0.5959, allocations: 468.4 kB / 459.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.5962, allocations: 98.55 kB / 460 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.5963, allocations: 11.92 kB / 460 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5963, allocations: 30.78 kB / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.919e-06/0.5963, allocations: 0 / 460 MB, free: 15.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001537/0.5979, allocations: 388.1 kB / 460.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.5979, allocations: 63.33 kB / 460.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.5988, allocations: 428.6 kB / 460.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.5988, allocations: 29.7 kB / 460.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.599, allocations: 215 kB / 461.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/0.5991, allocations: 59.14 kB / 461.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.5991, allocations: 8 kB / 461.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5993, allocations: 314.8 kB / 461.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.5995, allocations: 60.34 kB / 461.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.5998, allocations: 70.58 kB / 461.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.6001, allocations: 205.4 kB / 461.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6002, allocations: 4 kB / 461.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007392/0.6009, allocations: 338.4 kB / 462.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.601, allocations: 146.5 kB / 462.3 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6011, allocations: 4 kB / 462.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.6011, allocations: 4 kB / 462.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.6014, allocations: 35.98 kB / 462.3 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6014, allocations: 3.984 kB / 462.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.6016, allocations: 15.92 kB / 462.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.6016, allocations: 12 kB / 462.4 MB, free: 13.21 MB / 394.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 (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.0002776/0.6019, allocations: 161.8 kB / 462.5 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.602, allocations: 39.62 kB / 462.6 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/0.6028, allocations: 244.8 kB / 462.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6029, allocations: 4 kB / 462.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6029, allocations: 0 / 462.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6029, allocations: 7.938 kB / 462.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6044, allocations: 0.6486 MB / 463.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6044, allocations: 0 / 463.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.6046, allocations: 43.92 kB / 463.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6047, allocations: 0 / 463.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6047, allocations: 4 kB / 463.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.6047, allocations: 3.984 kB / 463.5 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6047, allocations: 3.938 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.6054, allocations: 310.9 kB / 463.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.6056, allocations: 124.6 kB / 464 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.6057, allocations: 8 kB / 464 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6058, allocations: 8 kB / 464 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.6059, allocations: 11.98 kB / 464 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.606, allocations: 7.984 kB / 464 MB, free: 11.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006148/0.6066, allocations: 335.1 kB / 464.3 MB, free: 11.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6066, allocations: 4 kB / 464.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.6072, allocations: 95.8 kB / 464.4 MB, free: 11.07 MB / 394.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 (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.003291/0.6105, allocations: 1.526 MB / 465.9 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008565/0.6114, allocations: 435.3 kB / 466.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6114, allocations: 0 / 466.4 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.6117, allocations: 87.8 kB / 466.5 MB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.6122, allocations: 37.3 kB / 466.5 MB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.6144, allocations: 1.032 MB / 467.5 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.615, allocations: 0.7907 MB / 468.3 MB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.6152, allocations: 95.41 kB / 468.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6152, allocations: 0 / 468.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.837/3.452, allocations: 5.409 MB / 473.8 MB, free: 1.57 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