Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006201/0.0006203, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3794, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.5804, allocations: 75.83 MB / 407.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5808, allocations: 67.97 kB / 407.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02123/0.602, allocations: 3.878 MB / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6021, allocations: 0 / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.6021, allocations: 4 kB / 411.2 MB, free: 14.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006518/0.6028, allocations: 435.7 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6028, allocations: 8.031 kB / 411.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.6029, allocations: 34.55 kB / 411.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.6029, allocations: 11.91 kB / 411.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.6033, allocations: 194.9 kB / 411.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6033, allocations: 4 kB / 411.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.6033, allocations: 4 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6035, allocations: 45.67 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6035, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6035, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.6035, allocations: 7.984 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.6036, allocations: 15.94 kB / 411.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.6042, allocations: 292.8 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.6044, allocations: 46.56 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6045, allocations: 0 / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.6046, allocations: 63.42 kB / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/0.6047, allocations: 0 / 412.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/0.6052, allocations: 113.4 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.6053, allocations: 67.22 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.6055, allocations: 149.2 kB / 412.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.6056, allocations: 29.7 kB / 412.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.6057, allocations: 158.6 kB / 412.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6057, allocations: 19.73 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.6057, allocations: 4 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6059, allocations: 314.8 kB / 413.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.606, allocations: 23.98 kB / 413.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.6061, allocations: 20 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.6062, allocations: 53.69 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6062, allocations: 0 / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003056/0.6065, allocations: 123.3 kB / 413.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.6066, allocations: 37.69 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6066, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6067, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.6068, allocations: 12 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.6068, allocations: 3.953 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.6069, allocations: 15.89 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.6069, allocations: 4 kB / 413.4 MB, free: 12 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001379/0.6071, allocations: 113.8 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.6071, allocations: 7.906 kB / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.6074, allocations: 89.92 kB / 413.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6075, allocations: 4 kB / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6075, allocations: 7.984 kB / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6075, allocations: 3.953 kB / 413.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.608, allocations: 350.5 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.608, allocations: 0 / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.6081, allocations: 4.094 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.6082, allocations: 7.938 kB / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.6082, allocations: 0 / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.6082, allocations: 3.953 kB / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6082, allocations: 0 / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.6085, allocations: 179.4 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.6086, allocations: 85.3 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.6086, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6087, allocations: 4.25 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6088, allocations: 15.88 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.6088, allocations: 11.98 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.609, allocations: 122 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.609, allocations: 7.938 kB / 414.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.6094, allocations: 31.94 kB / 414.4 MB, free: 10.87 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001609/0.611, allocations: 0.9697 MB / 415.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.6114, allocations: 115.3 kB / 415.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6114, allocations: 0 / 415.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.6115, allocations: 19.98 kB / 415.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.6118, allocations: 19.89 kB / 415.6 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.6128, allocations: 457 kB / 416 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6132, allocations: 0.6965 MB / 416.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.6134, allocations: 31.42 kB / 416.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6134, allocations: 0 / 416.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.704/3.317, allocations: 2.066 MB / 418.8 MB, free: 6.473 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat