Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test18.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005158, allocations: 16 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4411, allocations: 48.69 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5893, allocations: 74.87 MB / 406.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.5897, allocations: 71.91 kB / 406.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02111/0.6109, allocations: 4.014 MB / 410.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6109, allocations: 0 / 410.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.611, allocations: 0 / 410.3 MB, free: 15.36 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006932/0.6117, allocations: 423.6 kB / 410.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.6118, allocations: 16.03 kB / 410.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.6118, allocations: 30.56 kB / 410.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.6119, allocations: 4 kB / 410.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.6123, allocations: 190.9 kB / 411 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.6123, allocations: 4 kB / 411 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.6123, allocations: 4 kB / 411 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.6127, allocations: 88.17 kB / 411.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6127, allocations: 4 kB / 411.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.6127, allocations: 0 / 411.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.6128, allocations: 4 kB / 411.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.613, allocations: 39.97 kB / 411.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.6138, allocations: 396.9 kB / 411.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.6143, allocations: 89.16 kB / 411.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.6144, allocations: 4 kB / 411.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6144, allocations: 34.56 kB / 411.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.6144, allocations: 0 / 411.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001469/0.6159, allocations: 241.2 kB / 411.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.616, allocations: 110.8 kB / 412 MB, free: 13.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.6163, allocations: 124.8 kB / 412.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.6163, allocations: 29.7 kB / 412.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.6164, allocations: 154.6 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.6165, allocations: 31.55 kB / 412.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.6165, allocations: 4 kB / 412.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6167, allocations: 310.8 kB / 412.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.6169, allocations: 43.97 kB / 412.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.6172, allocations: 61.62 kB / 412.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.6175, allocations: 67.31 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.6175, allocations: 4.031 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006417/0.6181, allocations: 171.8 kB / 412.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.6182, allocations: 29.7 kB / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6182, allocations: 0 / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6183, allocations: 0 / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.6185, allocations: 27.98 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6185, allocations: 3.984 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.6187, allocations: 15.88 kB / 413 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6187, allocations: 8 kB / 413 MB, free: 12.37 MB / 346.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 (11): * Single equations (assignments): 10 * 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.0002026/0.6189, allocations: 121.8 kB / 413.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6191, allocations: 7.906 kB / 413.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.6198, allocations: 154.1 kB / 413.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.6198, allocations: 0 / 413.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6198, allocations: 4 kB / 413.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.6199, allocations: 3.984 kB / 413.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.6212, allocations: 0.5143 MB / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6213, allocations: 0 / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.6215, allocations: 19.98 kB / 413.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.6215, allocations: 4 kB / 413.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.6215, allocations: 0 / 413.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.6215, allocations: 15.88 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6216, allocations: 4.031 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.6222, allocations: 323 kB / 414.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.6223, allocations: 92.95 kB / 414.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.6224, allocations: 4 kB / 414.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.6227, allocations: 8 kB / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.6228, allocations: 7.984 kB / 414.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.6228, allocations: 4 kB / 414.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.6229, allocations: 107.2 kB / 414.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.623, allocations: 4 kB / 414.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.6238, allocations: 35.98 kB / 414.4 MB, free: 10.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.00262/0.6264, allocations: 1.225 MB / 415.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.6273, allocations: 151.3 kB / 415.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6273, allocations: 0 / 415.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.6277, allocations: 51.91 kB / 415.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.6281, allocations: 12.08 kB / 415.9 MB, free: 9.414 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.6325, allocations: 1.205 MB / 417.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.6329, allocations: 0.6965 MB / 417.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.6331, allocations: 39.36 kB / 417.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6331, allocations: 0 / 417.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.826/3.459, allocations: 2.123 MB / 419.9 MB, free: 5.258 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat does not exist to compare? outputFormat=mat