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.Test5.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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.699e-05, allocations: 4 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.376, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5729, allocations: 80.25 MB / 438.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5732, allocations: 75.95 kB / 438.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.5924, allocations: 5.283 MB / 443.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5924, allocations: 0 / 443.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.5925, allocations: 8 kB / 443.7 MB, free: 9.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007936/0.5933, allocations: 0.5616 MB / 444.3 MB, free: 8.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5934, allocations: 12.02 kB / 444.3 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.5935, allocations: 39.53 kB / 444.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.5941, allocations: 327.2 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.5942, allocations: 4 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.5942, allocations: 4 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.277e-05/0.5943, allocations: 12 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5944, allocations: 45.64 kB / 444.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5944, allocations: 0 / 444.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5945, allocations: 0 / 444.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5945, allocations: 4 kB / 444.7 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.5952, allocations: 401.3 kB / 445.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.5955, allocations: 38.52 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.5955, allocations: 16.84 kB / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5956, allocations: 0 / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.5956, allocations: 34.56 kB / 445.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5956, allocations: 0 / 445.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006235/0.5962, allocations: 185.9 kB / 445.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5963, allocations: 51.41 kB / 445.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.5981, allocations: 0.7355 MB / 446.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.5982, allocations: 25.7 kB / 446.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5984, allocations: 242.5 kB / 446.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.5984, allocations: 11.72 kB / 446.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.5985, allocations: 0 / 446.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5986, allocations: 322.8 kB / 446.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/0.5987, allocations: 8 kB / 446.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.5987, allocations: 12 kB / 446.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.5988, allocations: 15.98 kB / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5988, allocations: 0 / 446.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002157/0.599, allocations: 65.59 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.5991, allocations: 33.69 kB / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5991, allocations: 4 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5991, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5993, allocations: 16.25 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5993, allocations: 3.984 kB / 446.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.5995, allocations: 11.98 kB / 446.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.5995, allocations: 4 kB / 446.9 MB, free: 5.68 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 (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 8.663e-05/0.5996, allocations: 110.9 kB / 447 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002369/0.5999, allocations: 101.1 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.6, allocations: 39.44 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.6003, allocations: 117.3 kB / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6003, allocations: 0 / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6004, allocations: 0 / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6004, allocations: 4 kB / 447.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6014, allocations: 0.5302 MB / 447.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6014, allocations: 0 / 447.8 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.6016, allocations: 15.98 kB / 447.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.6016, allocations: 0 / 447.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6016, allocations: 0 / 447.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6016, allocations: 4 kB / 447.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6016, allocations: 4 kB / 447.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.6019, allocations: 194.9 kB / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.6022, allocations: 156.6 kB / 448.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.6023, allocations: 0 / 448.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.6024, allocations: 4.25 kB / 448.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.6025, allocations: 7.984 kB / 448.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.6025, allocations: 8 kB / 448.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.6035, allocations: 0.5965 MB / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6036, allocations: 0 / 448.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.604, allocations: 55.94 kB / 448.9 MB, free: 3.652 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 () * 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.001181/0.6052, allocations: 0.8781 MB / 449.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.6054, allocations: 91.39 kB / 449.8 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6054, allocations: 4 kB / 449.8 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.6055, allocations: 15.94 kB / 449.9 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.6058, allocations: 14.09 kB / 449.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.6079, allocations: 0.8386 MB / 450.7 MB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.6084, allocations: 0.8224 MB / 451.5 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.6087, allocations: 107.4 kB / 451.6 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6087, allocations: 3.938 kB / 451.6 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.37, allocations: 6.81 MB / 458.5 MB, free: 9.988 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat