Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.421e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5559, allocations: 80.34 MB / 438.5 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.5563, allocations: 67.97 kB / 438.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5712, allocations: 3.449 MB / 442 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5713, allocations: 0 / 442 MB, free: 10.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.5713, allocations: 0 / 442 MB, free: 10.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005906/0.5719, allocations: 423.9 kB / 442.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.572, allocations: 8.031 kB / 442.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.5721, allocations: 15.77 kB / 442.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5724, allocations: 202.9 kB / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5724, allocations: 0 / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.5725, allocations: 4 kB / 442.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001614/0.5726, allocations: 35.92 kB / 442.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5728, allocations: 63.41 kB / 442.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5728, allocations: 0 / 442.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5729, allocations: 0 / 442.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5729, allocations: 3.953 kB / 442.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.5735, allocations: 373.6 kB / 443.1 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.5739, allocations: 79.03 kB / 443.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.574, allocations: 29.66 kB / 443.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.574, allocations: 8 kB / 443.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5741, allocations: 34.64 kB / 443.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.5741, allocations: 0 / 443.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008014/0.5749, allocations: 196.7 kB / 443.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.575, allocations: 85.09 kB / 443.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.5753, allocations: 186.5 kB / 443.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5753, allocations: 37.64 kB / 443.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.5754, allocations: 166.5 kB / 443.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.5755, allocations: 31.55 kB / 443.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5755, allocations: 0 / 443.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5757, allocations: 318.8 kB / 444.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.5758, allocations: 27.92 kB / 444.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.5758, allocations: 20 kB / 444.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/0.5759, allocations: 27.98 kB / 444.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.576, allocations: 0 / 444.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002684/0.5762, allocations: 105.5 kB / 444.4 MB, free: 8.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.5763, allocations: 29.7 kB / 444.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5763, allocations: 3.953 kB / 444.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5764, allocations: 4 kB / 444.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.5766, allocations: 19.98 kB / 444.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.5766, allocations: 0 / 444.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5767, allocations: 11.98 kB / 444.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.5768, allocations: 4 kB / 444.5 MB, free: 8.141 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 9.891e-05/0.5769, allocations: 112.9 kB / 444.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002927/0.5772, allocations: 97.58 kB / 444.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.5773, allocations: 16.05 kB / 444.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.5776, allocations: 119.2 kB / 444.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5776, allocations: 7.969 kB / 444.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5777, allocations: 4 kB / 444.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5777, allocations: 0 / 444.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.5786, allocations: 491 kB / 445.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5786, allocations: 448 / 445.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.5788, allocations: 23.98 kB / 445.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5788, allocations: 0 / 445.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5788, allocations: 8 kB / 445.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5788, allocations: 0 / 445.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5788, allocations: 0 / 445.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.5792, allocations: 306.8 kB / 445.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.5793, allocations: 93 kB / 445.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.5794, allocations: 4 kB / 445.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.5796, allocations: 4 kB / 445.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5796, allocations: 15.98 kB / 445.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.5797, allocations: 4.094 kB / 445.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002238/0.5799, allocations: 163.8 kB / 445.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.544e-06/0.5799, allocations: 0 / 445.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.5803, allocations: 27.94 kB / 445.9 MB, free: 6.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001443/0.5818, allocations: 1.125 MB / 447.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.5821, allocations: 115.3 kB / 447.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5822, allocations: 0 / 447.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.5823, allocations: 35.98 kB / 447.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.5826, allocations: 16.02 kB / 447.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.5836, allocations: 297.3 kB / 447.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.5841, allocations: 0.7119 MB / 448.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5842, allocations: 39.41 kB / 448.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5842, allocations: 0 / 448.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.919/3.503, allocations: 2.302 MB / 450.6 MB, free: 1.84 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat does not exist to compare? outputFormat=mat