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/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.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.402/2.402, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004545, allocations: 16 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3644, allocations: 54.87 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.554, allocations: 81.95 MB / 451.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/0.5545, allocations: 79.95 kB / 451.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03362/0.5881, allocations: 6.786 MB / 458.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5882, allocations: 0 / 458.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.082e-05/0.5882, allocations: 12 kB / 458.2 MB, free: 1.762 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.001523/0.5898, allocations: 0.847 MB / 459 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.5898, allocations: 12.03 kB / 459 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.5899, allocations: 46.53 kB / 459.1 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.5901, allocations: 51.34 kB / 459.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5912, allocations: 435.1 kB / 459.6 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.5912, allocations: 15.95 kB / 459.6 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.5913, allocations: 12 kB / 459.6 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.5918, allocations: 150.8 kB / 459.7 MB, free: 76 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.5918, allocations: 7.875 kB / 459.7 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.5919, allocations: 7.938 kB / 459.8 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5919, allocations: 12 kB / 459.8 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.5925, allocations: 111.9 kB / 459.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.5942, allocations: 0.6958 MB / 460.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.5947, allocations: 137.2 kB / 460.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.5947, allocations: 4 kB / 460.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5948, allocations: 34.56 kB / 460.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.5948, allocations: 4 kB / 460.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003475/0.5983, allocations: 0.7403 MB / 461.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.5984, allocations: 81.33 kB / 461.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5999, allocations: 0.7323 MB / 462.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.6, allocations: 29.64 kB / 462.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.6002, allocations: 255 kB / 462.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.6003, allocations: 70.98 kB / 462.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.6003, allocations: 4 kB / 462.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6005, allocations: 314.8 kB / 463 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.6011, allocations: 119.9 kB / 463.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.6016, allocations: 133.6 kB / 463.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.6023, allocations: 230.8 kB / 463.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6023, allocations: 0 / 463.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001355/0.6037, allocations: 432 kB / 463.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.6038, allocations: 118.8 kB / 464 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.6038, allocations: 0 / 464 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6038, allocations: 4 kB / 464 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.6044, allocations: 59.89 kB / 464 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6044, allocations: 4 kB / 464 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.6049, allocations: 35.97 kB / 464.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.6049, allocations: 8 kB / 464.1 MB, free: 11.51 MB / 394.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 () * Number of clocked 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.0004046/0.6053, allocations: 201.7 kB / 464.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.6055, allocations: 55.3 kB / 464.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.607, allocations: 401.4 kB / 464.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6071, allocations: 4 kB / 464.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6071, allocations: 0 / 464.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.6071, allocations: 0 / 464.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.6096, allocations: 0.9659 MB / 465.7 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6096, allocations: 0 / 465.7 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.6101, allocations: 63.94 kB / 465.8 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.6102, allocations: 4 kB / 465.8 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.6102, allocations: 4.75 kB / 465.8 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.6102, allocations: 4 kB / 465.8 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6102, allocations: 3.938 kB / 465.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.6117, allocations: 0.5114 MB / 466.3 MB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.612, allocations: 164.4 kB / 466.4 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.6121, allocations: 15.98 kB / 466.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.6125, allocations: 23.98 kB / 466.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6127, allocations: 23.97 kB / 466.5 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.6127, allocations: 7.984 kB / 466.5 MB, free: 8.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.6139, allocations: 0.5691 MB / 467.1 MB, free: 8.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6139, allocations: 384 / 467.1 MB, free: 8.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006703/0.6146, allocations: 111.9 kB / 467.2 MB, free: 8.281 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 () * Number of clocked 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.003453/0.618, allocations: 1.623 MB / 468.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.6196, allocations: 497.3 kB / 469.3 MB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6196, allocations: 0 / 469.3 MB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.6202, allocations: 139.9 kB / 469.4 MB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.6208, allocations: 46.28 kB / 469.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.6241, allocations: 1.625 MB / 471.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6247, allocations: 0.8496 MB / 472 MB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.6252, allocations: 159.4 kB / 472.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6252, allocations: 0 / 472.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.565, allocations: 7.908 MB / 480 MB, free: 94.71 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