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.Test3.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006511/0.0006511, allocations: 12 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4111, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.564, allocations: 80.97 MB / 450.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5644, allocations: 75.95 kB / 450.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.5782, allocations: 3.061 MB / 453.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5782, allocations: 0 / 453.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.5783, allocations: 0 / 453.5 MB, free: 8.426 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.0005878/0.5788, allocations: 424.7 kB / 453.9 MB, free: 7.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5789, allocations: 8.031 kB / 453.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.579, allocations: 34.56 kB / 453.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.579, allocations: 11.86 kB / 453.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5793, allocations: 196.6 kB / 454.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5793, allocations: 0 / 454.1 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.5794, allocations: 8 kB / 454.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.5796, allocations: 53.62 kB / 454.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5796, allocations: 0 / 454.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5796, allocations: 3.953 kB / 454.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5797, allocations: 0 / 454.2 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.5798, allocations: 35.97 kB / 454.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.5803, allocations: 284.9 kB / 454.5 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.5806, allocations: 54.48 kB / 454.6 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.5807, allocations: 3.953 kB / 454.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5807, allocations: 36.38 kB / 454.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/0.5807, allocations: 0 / 454.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009034/0.5816, allocations: 169.3 kB / 454.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5817, allocations: 51.41 kB / 454.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.582, allocations: 172.3 kB / 455 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.582, allocations: 25.7 kB / 455 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.5821, allocations: 158.6 kB / 455.2 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.5821, allocations: 23.75 kB / 455.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5822, allocations: 0 / 455.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5823, allocations: 310.8 kB / 455.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.5824, allocations: 27.97 kB / 455.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.5826, allocations: 31.98 kB / 455.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.5828, allocations: 53.69 kB / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5828, allocations: 0 / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003881/0.5832, allocations: 135.2 kB / 455.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.977e-05/0.5832, allocations: 29.7 kB / 455.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5833, allocations: 3.938 kB / 455.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5833, allocations: 8 kB / 455.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5834, allocations: 15.98 kB / 455.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5834, allocations: 0 / 455.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.5835, allocations: 7.938 kB / 455.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5836, allocations: 4 kB / 455.8 MB, free: 5.852 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.0001321/0.5837, allocations: 121.8 kB / 455.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.5838, allocations: 11.86 kB / 455.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.5842, allocations: 121.9 kB / 456.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5842, allocations: 0 / 456.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5842, allocations: 0 / 456.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5842, allocations: 0 / 456.1 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.585, allocations: 379.1 kB / 456.4 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.585, allocations: 4.062 kB / 456.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.5851, allocations: 19.92 kB / 456.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5852, allocations: 0 / 456.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5852, allocations: 0 / 456.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5852, allocations: 0 / 456.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5852, allocations: 3.984 kB / 456.4 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.5856, allocations: 195.4 kB / 456.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.5857, allocations: 92.97 kB / 456.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.5857, allocations: 0 / 456.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.5859, allocations: 15.98 kB / 456.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5859, allocations: 4 kB / 456.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.5859, allocations: 0 / 456.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.5861, allocations: 135.8 kB / 456.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5861, allocations: 0 / 456.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.5865, allocations: 20 kB / 456.9 MB, free: 4.641 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.001485/0.588, allocations: 0.9333 MB / 457.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.5884, allocations: 111.4 kB / 457.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5885, allocations: 4 kB / 457.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5886, allocations: 39.91 kB / 458 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.5889, allocations: 4 kB / 458 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5899, allocations: 485.1 kB / 458.5 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5903, allocations: 0.7004 MB / 459.2 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.5904, allocations: 31.42 kB / 459.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5904, allocations: 0 / 459.2 MB, free: 2.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.726/3.316, allocations: 1.79 MB / 461 MB, free: 0.5156 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat does not exist to compare? outputFormat=mat