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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005982, allocations: 8 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3983, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.5926, allocations: 80.94 MB / 450.3 MB, free: 9.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.5931, allocations: 83.97 kB / 450.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.6109, allocations: 2.743 MB / 453.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6109, allocations: 0 / 453.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.611, allocations: 0 / 453.1 MB, free: 6.715 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.0007726/0.6118, allocations: 396.9 kB / 453.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.6118, allocations: 12.03 kB / 453.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.6119, allocations: 34.56 kB / 453.6 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.612, allocations: 15.86 kB / 453.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.6124, allocations: 186.9 kB / 453.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6124, allocations: 0 / 453.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.6125, allocations: 4 kB / 453.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.6127, allocations: 53.62 kB / 453.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6128, allocations: 0 / 453.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.6128, allocations: 7.984 kB / 453.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.6128, allocations: 3.953 kB / 453.8 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.6131, allocations: 31.98 kB / 453.9 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.6138, allocations: 269 kB / 454.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.6142, allocations: 50.5 kB / 454.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.6142, allocations: 4 kB / 454.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6143, allocations: 32.38 kB / 454.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 5.4e-06/0.6143, allocations: 3.984 kB / 454.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001142/0.6155, allocations: 169.4 kB / 454.4 MB, free: 5.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.6155, allocations: 55.41 kB / 454.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.6158, allocations: 117.2 kB / 454.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.6158, allocations: 29.7 kB / 454.6 MB, free: 5.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.6159, allocations: 166.4 kB / 454.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.616, allocations: 7.812 kB / 454.7 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.616, allocations: 4 kB / 454.7 MB, free: 4.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.6162, allocations: 322.8 kB / 455.1 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.6164, allocations: 23.98 kB / 455.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.6166, allocations: 27.92 kB / 455.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.6168, allocations: 65.62 kB / 455.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6168, allocations: 0 / 455.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004977/0.6174, allocations: 123.3 kB / 455.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.6174, allocations: 29.7 kB / 455.3 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6175, allocations: 3.953 kB / 455.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6175, allocations: 0 / 455.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.6177, allocations: 19.98 kB / 455.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6177, allocations: 0 / 455.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.6178, allocations: 8 kB / 455.4 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6178, allocations: 4 kB / 455.4 MB, free: 4.234 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.0001657/0.618, allocations: 117.8 kB / 455.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.6181, allocations: 7.906 kB / 455.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.6186, allocations: 109.6 kB / 455.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6187, allocations: 3.953 kB / 455.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6187, allocations: 0 / 455.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.6187, allocations: 0 / 455.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.6197, allocations: 362.9 kB / 455.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6197, allocations: 0 / 455.9 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6199, allocations: 19.92 kB / 456 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.6199, allocations: 3.953 kB / 456 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6199, allocations: 8 kB / 456 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6199, allocations: 0 / 456 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.62, allocations: 0 / 456 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.6205, allocations: 187.4 kB / 456.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.6206, allocations: 85.02 kB / 456.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.6206, allocations: 3.953 kB / 456.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6208, allocations: 12 kB / 456.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.6209, allocations: 7.984 kB / 456.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6209, allocations: 0 / 456.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.6211, allocations: 111.8 kB / 456.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6211, allocations: 0 / 456.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.6217, allocations: 15.94 kB / 456.4 MB, free: 3.09 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.002086/0.6238, allocations: 0.9188 MB / 457.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.6244, allocations: 119.4 kB / 457.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6244, allocations: 0 / 457.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.6246, allocations: 35.92 kB / 457.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.625, allocations: 11.95 kB / 457.5 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6262, allocations: 436.2 kB / 457.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6267, allocations: 0.6887 MB / 458.6 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.6268, allocations: 23.42 kB / 458.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6268, allocations: 0 / 458.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.483, allocations: 1.535 MB / 460.1 MB, free: 15.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat