Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.767/2.767, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004612, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3895, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.5838, allocations: 80.97 MB / 450.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5841, allocations: 79.88 kB / 450.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.5971, allocations: 3.131 MB / 453.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5971, allocations: 0 / 453.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.5972, allocations: 0 / 453.5 MB, free: 6.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006048/0.5978, allocations: 420.8 kB / 453.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5978, allocations: 8.031 kB / 454 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.5979, allocations: 34.56 kB / 454 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.598, allocations: 19.77 kB / 454 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.5982, allocations: 199.3 kB / 454.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5983, allocations: 0 / 454.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.5983, allocations: 4 kB / 454.2 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.5985, allocations: 45.69 kB / 454.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5985, allocations: 0 / 454.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5986, allocations: 11.98 kB / 454.3 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5986, allocations: 3.953 kB / 454.3 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.5987, allocations: 27.98 kB / 454.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.5992, allocations: 277 kB / 454.6 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.5994, allocations: 50.5 kB / 454.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.5995, allocations: 0 / 454.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.5995, allocations: 36.38 kB / 454.6 MB, free: 5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.5995, allocations: 0 / 454.6 MB, free: 5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008165/0.6004, allocations: 165.3 kB / 454.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6004, allocations: 55.41 kB / 454.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.6007, allocations: 185.5 kB / 455 MB, free: 4.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6007, allocations: 29.7 kB / 455.1 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.6008, allocations: 162.6 kB / 455.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.6009, allocations: 11.81 kB / 455.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.6009, allocations: 4 kB / 455.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.601, allocations: 314.8 kB / 455.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.6012, allocations: 23.98 kB / 455.6 MB, free: 4.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.6013, allocations: 23.98 kB / 455.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.6015, allocations: 61.62 kB / 455.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6015, allocations: 0 / 455.7 MB, free: 3.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003436/0.6019, allocations: 111.4 kB / 455.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.6019, allocations: 29.7 kB / 455.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6019, allocations: 7.953 kB / 455.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.602, allocations: 4 kB / 455.8 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6021, allocations: 19.92 kB / 455.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6021, allocations: 0 / 455.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.6022, allocations: 8.234 kB / 455.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.6022, allocations: 7.938 kB / 455.8 MB, free: 3.734 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 (6): * Single equations (assignments): 5 * 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.0001166/0.6024, allocations: 117.8 kB / 456 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.6024, allocations: 7.906 kB / 456 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.6028, allocations: 121.8 kB / 456.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6028, allocations: 3.953 kB / 456.1 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.6028, allocations: 0 / 456.1 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6028, allocations: 0 / 456.1 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.6035, allocations: 370.5 kB / 456.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6035, allocations: 0 / 456.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.6036, allocations: 15.98 kB / 456.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6037, allocations: 3.953 kB / 456.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6037, allocations: 4 kB / 456.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6037, allocations: 0 / 456.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6037, allocations: 4 kB / 456.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.6041, allocations: 179.4 kB / 456.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.6042, allocations: 93 kB / 456.7 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.6042, allocations: 3.953 kB / 456.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.6043, allocations: 12 kB / 456.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.6044, allocations: 3.984 kB / 456.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6044, allocations: 4 kB / 456.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.6046, allocations: 151 kB / 456.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6046, allocations: 0 / 456.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.605, allocations: 27.94 kB / 456.9 MB, free: 2.527 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 (5): * Single equations (assignments): 5 * 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.001449/0.6064, allocations: 0.9139 MB / 457.9 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.6068, allocations: 115.3 kB / 458 MB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6068, allocations: 4 kB / 458 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.607, allocations: 23.98 kB / 458 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.6073, allocations: 15.94 kB / 458 MB, free: 1.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.6082, allocations: 485.2 kB / 458.5 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.6086, allocations: 0.6965 MB / 459.2 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.6087, allocations: 35.42 kB / 459.2 MB, free: 208 kB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6087, allocations: 0 / 459.2 MB, free: 208 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.288, allocations: 1.819 MB / 461 MB, free: 14.39 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat