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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.269e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3439, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4914, allocations: 80.19 MB / 438.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4917, allocations: 67.97 kB / 438.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.5033, allocations: 2.708 MB / 441.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5034, allocations: 4 kB / 441.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.5034, allocations: 0 / 441.1 MB, free: 11.77 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.0004525/0.5039, allocations: 384.2 kB / 441.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5039, allocations: 8.031 kB / 441.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.504, allocations: 15.8 kB / 441.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5042, allocations: 186.8 kB / 441.7 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5043, allocations: 4 kB / 441.7 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5043, allocations: 4 kB / 441.7 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.709e-05/0.5044, allocations: 19.92 kB / 441.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.5045, allocations: 41.69 kB / 441.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.5045, allocations: 0 / 441.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5046, allocations: 0 / 441.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5046, allocations: 7.938 kB / 441.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.505, allocations: 257.5 kB / 442 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.5052, allocations: 42.5 kB / 442 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.5053, allocations: 12.86 kB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5053, allocations: 0 / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5054, allocations: 30.56 kB / 442.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.5054, allocations: 4 kB / 442.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005026/0.5059, allocations: 115.3 kB / 442.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.5059, allocations: 51.41 kB / 442.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5061, allocations: 121.2 kB / 442.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.5061, allocations: 25.7 kB / 442.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.5062, allocations: 162.5 kB / 442.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.5063, allocations: 15.75 kB / 442.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5063, allocations: 0 / 442.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5064, allocations: 314.8 kB / 442.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.5065, allocations: 16 kB / 442.9 MB, free: 9.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.5065, allocations: 15.98 kB / 442.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.5066, allocations: 12.19 kB / 442.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5066, allocations: 0 / 442.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001697/0.5068, allocations: 69.69 kB / 443 MB, free: 9.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.5068, allocations: 37.62 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5068, allocations: 0 / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5069, allocations: 4 kB / 443 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.507, allocations: 15.89 kB / 443 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.507, allocations: 11.98 kB / 443.1 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.5071, allocations: 7.984 kB / 443.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5071, allocations: 0 / 443.1 MB, free: 9.59 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 7.912e-05/0.5072, allocations: 107 kB / 443.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001563/0.5074, allocations: 65.59 kB / 443.2 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.5074, allocations: 7.906 kB / 443.2 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.5077, allocations: 81.97 kB / 443.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5077, allocations: 4 kB / 443.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5077, allocations: 0 / 443.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5077, allocations: 0 / 443.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.5082, allocations: 303.2 kB / 443.6 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5082, allocations: 3.938 kB / 443.6 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.5083, allocations: 15.98 kB / 443.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5083, allocations: 3.953 kB / 443.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5083, allocations: 4 kB / 443.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5083, allocations: 0 / 443.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5084, allocations: 8.188 kB / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.5086, allocations: 163.5 kB / 443.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.5087, allocations: 77.11 kB / 443.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.5087, allocations: 7.953 kB / 443.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5088, allocations: 7.984 kB / 443.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.5089, allocations: 0 / 443.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.5089, allocations: 8 kB / 443.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.509, allocations: 99.27 kB / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.509, allocations: 0 / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000339/0.5094, allocations: 19.91 kB / 444 MB, free: 8.531 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.001106/0.5105, allocations: 0.8366 MB / 444.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5107, allocations: 95.33 kB / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5107, allocations: 0 / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/0.5108, allocations: 19.94 kB / 445 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5111, allocations: 15.94 kB / 445 MB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.5117, allocations: 175.3 kB / 445.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.512, allocations: 0.6963 MB / 445.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.5121, allocations: 19.44 kB / 445.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5121, allocations: 4 kB / 445.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.753/3.265, allocations: 1.543 MB / 447.4 MB, free: 5.062 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat