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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004351, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4396, allocations: 48.69 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5866, allocations: 74.49 MB / 405.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.587, allocations: 75.95 kB / 405.9 MB, free: 3.727 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.6062, allocations: 2.671 MB / 408.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6063, allocations: 0 / 408.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.6063, allocations: 4 kB / 408.6 MB, free: 1.055 MB / 330.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.0006581/0.607, allocations: 400.9 kB / 409 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.6071, allocations: 12.02 kB / 409 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.6072, allocations: 38.56 kB / 409 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.6072, allocations: 7.906 kB / 409 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.6076, allocations: 194.8 kB / 409.2 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.6076, allocations: 0 / 409.2 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6077, allocations: 4 kB / 409.2 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.6079, allocations: 53.61 kB / 409.3 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6079, allocations: 3.984 kB / 409.3 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.608, allocations: 4 kB / 409.3 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.608, allocations: 0 / 409.3 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.6082, allocations: 31.98 kB / 409.3 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.6089, allocations: 284.9 kB / 409.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.6092, allocations: 54.5 kB / 409.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.6093, allocations: 0 / 409.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.6093, allocations: 30.56 kB / 409.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.6093, allocations: 0 / 409.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001084/0.6104, allocations: 173.3 kB / 409.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6105, allocations: 51.41 kB / 409.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.6108, allocations: 149.6 kB / 410.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.6108, allocations: 25.7 kB / 410.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.6109, allocations: 154.6 kB / 410.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.611, allocations: 27.7 kB / 410.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.611, allocations: 0 / 410.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6112, allocations: 314.8 kB / 410.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.6114, allocations: 27.98 kB / 410.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.6116, allocations: 23.98 kB / 410.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.6118, allocations: 61.67 kB / 410.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6118, allocations: 0 / 410.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004956/0.6123, allocations: 123.3 kB / 410.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.6124, allocations: 36.81 kB / 410.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6124, allocations: 3.938 kB / 410.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6125, allocations: 4 kB / 410.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008432/0.6209, allocations: 12 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.621, allocations: 4.25 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.6212, allocations: 7.984 kB / 410.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.6212, allocations: 7.938 kB / 410.9 MB, free: 14.53 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 (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.0001953/0.6214, allocations: 125.7 kB / 411 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.6215, allocations: 7.906 kB / 411 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.6221, allocations: 121.9 kB / 411.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6221, allocations: 0 / 411.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6221, allocations: 0 / 411.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6221, allocations: 0 / 411.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.6231, allocations: 366.5 kB / 411.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6231, allocations: 4 kB / 411.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.6232, allocations: 15.92 kB / 411.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6233, allocations: 4 kB / 411.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.6233, allocations: 0 / 411.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6233, allocations: 0 / 411.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6233, allocations: 0 / 411.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.6238, allocations: 195.4 kB / 411.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.6239, allocations: 89.02 kB / 411.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.624, allocations: 0 / 411.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6242, allocations: 11.98 kB / 411.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.6242, allocations: 4 kB / 411.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.6242, allocations: 0 / 411.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.6244, allocations: 119.2 kB / 411.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-07/0.6245, allocations: 0 / 411.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004376/0.6288, allocations: 16 kB / 411.9 MB, free: 13.37 MB / 346.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.001852/0.6307, allocations: 0.8858 MB / 412.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.6313, allocations: 115.4 kB / 412.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6313, allocations: 4 kB / 412.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.6316, allocations: 35.92 kB / 413 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.6319, allocations: 7.938 kB / 413 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.6375, allocations: 448.7 kB / 413.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.638, allocations: 0.7004 MB / 414.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.6381, allocations: 31.42 kB / 414.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6381, allocations: 0 / 414.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.535, allocations: 1.658 MB / 415.8 MB, free: 9.43 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat does not exist to compare? outputFormat=mat