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/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.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.517/2.517, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006099/0.00061, allocations: 12 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4941, allocations: 54.85 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.7069, allocations: 80.95 MB / 450.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.7073, allocations: 71.97 kB / 450.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.7193, allocations: 2.735 MB / 453.1 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7194, allocations: 0 / 453.1 MB, free: 8.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.7194, allocations: 0 / 453.1 MB, free: 8.887 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.0005579/0.7199, allocations: 396.9 kB / 453.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.72, allocations: 12.03 kB / 453.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.7201, allocations: 42.48 kB / 453.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.7201, allocations: 11.86 kB / 453.6 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.7204, allocations: 186.8 kB / 453.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.7204, allocations: 0 / 453.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.7204, allocations: 4 kB / 453.8 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.7206, allocations: 53.61 kB / 453.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7207, allocations: 0 / 453.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.7207, allocations: 4 kB / 453.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7207, allocations: 3.953 kB / 453.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.7209, allocations: 31.98 kB / 453.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.7214, allocations: 269 kB / 454.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.7217, allocations: 58.48 kB / 454.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.7217, allocations: 0 / 454.2 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7218, allocations: 32.38 kB / 454.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.7218, allocations: 0 / 454.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008757/0.7227, allocations: 165.6 kB / 454.4 MB, free: 7.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.7227, allocations: 51.41 kB / 454.4 MB, free: 7.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.7229, allocations: 121.2 kB / 454.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.7229, allocations: 25.7 kB / 454.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.723, allocations: 170.4 kB / 454.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.7231, allocations: 15.8 kB / 454.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.7231, allocations: 0 / 454.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7233, allocations: 318.8 kB / 455 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7234, allocations: 23.98 kB / 455.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7235, allocations: 27.98 kB / 455.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.7237, allocations: 57.69 kB / 455.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7237, allocations: 0 / 455.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003754/0.7241, allocations: 123.4 kB / 455.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.7242, allocations: 29.7 kB / 455.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7242, allocations: 7.953 kB / 455.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7242, allocations: 3.984 kB / 455.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7244, allocations: 15.98 kB / 455.3 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7244, allocations: 0 / 455.3 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.7245, allocations: 16.17 kB / 455.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.7245, allocations: 0 / 455.3 MB, free: 6.41 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.0001183/0.7246, allocations: 113.8 kB / 455.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.7247, allocations: 11.91 kB / 455.5 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.7251, allocations: 121.5 kB / 455.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7251, allocations: 3.953 kB / 455.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7252, allocations: 0 / 455.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7252, allocations: 0 / 455.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006742/0.7259, allocations: 354.6 kB / 455.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7259, allocations: 3.938 kB / 455.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.726, allocations: 19.92 kB / 456 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.726, allocations: 3.953 kB / 456 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.726, allocations: 0 / 456 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7261, allocations: 8 kB / 456 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7261, allocations: 0 / 456 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.7265, allocations: 187.4 kB / 456.2 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.7265, allocations: 85.02 kB / 456.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.7266, allocations: 7.953 kB / 456.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7267, allocations: 7.984 kB / 456.3 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.7268, allocations: 8 kB / 456.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.7268, allocations: 0 / 456.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.7269, allocations: 103.8 kB / 456.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7269, allocations: 0 / 456.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.7272, allocations: 23.94 kB / 456.4 MB, free: 5.258 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.001487/0.7287, allocations: 0.9189 MB / 457.3 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.7292, allocations: 119.4 kB / 457.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7292, allocations: 4 kB / 457.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.7293, allocations: 31.92 kB / 457.5 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.7296, allocations: 15.94 kB / 457.5 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.7305, allocations: 424.3 kB / 457.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.7309, allocations: 0.6926 MB / 458.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.731, allocations: 19.42 kB / 458.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.731, allocations: 0 / 458.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.671, allocations: 1.54 MB / 460.1 MB, free: 1.465 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