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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.5304, allocations: 82.31 MB / 451.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5307, allocations: 71.97 kB / 451.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02928/0.56, allocations: 6.602 MB / 458.4 MB, free: 1.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-05/0.5601, allocations: 0 / 458.4 MB, free: 1.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.5602, allocations: 11.94 kB / 458.4 MB, free: 1.477 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.001102/0.5613, allocations: 0.7286 MB / 459.1 MB, free: 0.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5613, allocations: 11.97 kB / 459.1 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.5614, allocations: 42.55 kB / 459.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5615, allocations: 39.53 kB / 459.2 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.5621, allocations: 299 kB / 459.5 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5622, allocations: 8 kB / 459.5 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.5622, allocations: 19.94 kB / 459.5 MB, free: 212 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.5626, allocations: 113.5 kB / 459.6 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5627, allocations: 3.906 kB / 459.6 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.5627, allocations: 4 kB / 459.6 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5627, allocations: 4 kB / 459.6 MB, free: 80 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.563, allocations: 79.95 kB / 459.7 MB, free: 0 / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.564, allocations: 468.4 kB / 460.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.5643, allocations: 102.5 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.5643, allocations: 3.984 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.5644, allocations: 34.56 kB / 460.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.5644, allocations: 0 / 460.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001512/0.5659, allocations: 390.7 kB / 460.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.566, allocations: 51.41 kB / 460.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.5668, allocations: 428.6 kB / 461.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.5669, allocations: 33.7 kB / 461.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.567, allocations: 215 kB / 461.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.5671, allocations: 55.16 kB / 461.4 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.5671, allocations: 12 kB / 461.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5673, allocations: 314.8 kB / 461.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.5675, allocations: 68.28 kB / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5678, allocations: 71.52 kB / 461.9 MB, free: 13.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.5681, allocations: 205.4 kB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5682, allocations: 0 / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007288/0.5689, allocations: 339.9 kB / 462.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.569, allocations: 144.5 kB / 462.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.569, allocations: 0 / 462.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5691, allocations: 0 / 462.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.5694, allocations: 39.98 kB / 462.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5694, allocations: 0 / 462.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.5696, allocations: 23.86 kB / 462.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.5696, allocations: 8 kB / 462.6 MB, free: 12.85 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.0002888/0.5699, allocations: 161.8 kB / 462.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.57, allocations: 31.62 kB / 462.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000893/0.5709, allocations: 264.7 kB / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.571, allocations: 4 kB / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.571, allocations: 0 / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.571, allocations: 0 / 463.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.5724, allocations: 0.6526 MB / 463.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5724, allocations: 0 / 463.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.5727, allocations: 31.98 kB / 463.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.5727, allocations: 4 kB / 463.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.5727, allocations: 8 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5727, allocations: 4 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5727, allocations: 3.984 kB / 463.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.5734, allocations: 310.9 kB / 464.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.5736, allocations: 124.6 kB / 464.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.5737, allocations: 8 kB / 464.2 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5738, allocations: 4 kB / 464.2 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.5739, allocations: 15.98 kB / 464.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.5739, allocations: 7.984 kB / 464.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006254/0.5746, allocations: 339.1 kB / 464.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5746, allocations: 0 / 464.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.5751, allocations: 95.8 kB / 464.7 MB, free: 10.7 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.003273/0.5784, allocations: 1.533 MB / 466.2 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.5793, allocations: 427.5 kB / 466.6 MB, free: 8.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5793, allocations: 4 kB / 466.6 MB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.5796, allocations: 91.8 kB / 466.7 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.5801, allocations: 33.36 kB / 466.8 MB, free: 8.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.5823, allocations: 1.033 MB / 467.8 MB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.5828, allocations: 0.7907 MB / 468.6 MB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.5831, allocations: 95.41 kB / 468.7 MB, free: 6.613 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5832, allocations: 0 / 468.7 MB, free: 6.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.789/3.372, allocations: 5.404 MB / 474.1 MB, free: 1.203 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat