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.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005976, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3779, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.533, allocations: 81.12 MB / 450.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.5334, allocations: 75.95 kB / 450.6 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.5502, allocations: 2.92 MB / 453.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5502, allocations: 0 / 453.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.5503, allocations: 0 / 453.5 MB, free: 6.363 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009522/0.5512, allocations: 444.8 kB / 453.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.5513, allocations: 8.031 kB / 453.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/0.5514, allocations: 42.5 kB / 454 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.5515, allocations: 11.91 kB / 454 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5518, allocations: 190.9 kB / 454.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.5518, allocations: 3.938 kB / 454.2 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.5519, allocations: 4 kB / 454.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.5524, allocations: 107.3 kB / 454.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5525, allocations: 0 / 454.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.5525, allocations: 7.891 kB / 454.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.5525, allocations: 4 kB / 454.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.5533, allocations: 91.92 kB / 454.4 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.5539, allocations: 300.7 kB / 454.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.5544, allocations: 78.53 kB / 454.7 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.5545, allocations: 12.02 kB / 454.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5545, allocations: 34.69 kB / 454.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.5545, allocations: 0 / 454.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.003678/0.5582, allocations: 462.8 kB / 455.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.5583, allocations: 81.11 kB / 455.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.5585, allocations: 118.8 kB / 455.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5586, allocations: 33.7 kB / 455.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5587, allocations: 158.7 kB / 455.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.5588, allocations: 27.56 kB / 455.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.5588, allocations: 0 / 455.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.559, allocations: 322.8 kB / 456 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/0.5598, allocations: 95.86 kB / 456.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.5606, allocations: 109.6 kB / 456.2 MB, free: 3.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.5614, allocations: 117.7 kB / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5614, allocations: 0 / 456.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001724/0.5631, allocations: 259.1 kB / 456.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.5632, allocations: 29.7 kB / 456.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5632, allocations: 0 / 456.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5633, allocations: 4 kB / 456.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.5638, allocations: 47.95 kB / 456.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.5638, allocations: 0 / 456.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.5642, allocations: 35.97 kB / 456.6 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5643, allocations: 4 kB / 456.6 MB, free: 2.922 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 0.0001581/0.5644, allocations: 121.8 kB / 456.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.5645, allocations: 11.86 kB / 456.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.5662, allocations: 241.9 kB / 457 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5662, allocations: 0 / 457 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.5663, allocations: 0 / 457 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5663, allocations: 3.938 kB / 457 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.5683, allocations: 0.4983 MB / 457.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5683, allocations: 0 / 457.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.5688, allocations: 51.95 kB / 457.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5688, allocations: 384 / 457.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5688, allocations: 4 kB / 457.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.5688, allocations: 4.281 kB / 457.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5689, allocations: 0 / 457.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.5705, allocations: 327.5 kB / 457.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.5706, allocations: 92.89 kB / 458 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.5706, allocations: 4 kB / 458 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.5711, allocations: 35.97 kB / 458 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.5712, allocations: 7.984 kB / 458 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5712, allocations: 4 kB / 458 MB, free: 1.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5713, allocations: 103.2 kB / 458.1 MB, free: 1.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5714, allocations: 0 / 458.1 MB, free: 1.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006341/0.572, allocations: 39.94 kB / 458.2 MB, free: 1.285 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.003562/0.5756, allocations: 1.149 MB / 459.3 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.5773, allocations: 259.2 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5773, allocations: 0 / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.5782, allocations: 107.9 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.5786, allocations: 11.94 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5798, allocations: 452.5 kB / 460.1 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.5803, allocations: 0.6926 MB / 460.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5804, allocations: 31.42 kB / 460.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5805, allocations: 0 / 460.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.447, allocations: 2.276 MB / 463.1 MB, free: 12.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat does not exist to compare? outputFormat=mat