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.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.3 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.000424, allocations: 16 kB / 282.7 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1001, allocations: 48.7 MB / 331.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4848, allocations: 75.87 MB / 407.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4852, allocations: 71.97 kB / 407.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5027, allocations: 4.065 MB / 411.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5028, allocations: 0 / 411.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5028, allocations: 0 / 411.4 MB, free: 5.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006288/0.5034, allocations: 440.6 kB / 411.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5035, allocations: 12.03 kB / 411.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.5036, allocations: 34.5 kB / 411.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.5036, allocations: 7.906 kB / 411.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.5039, allocations: 207.4 kB / 412.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.504, allocations: 0 / 412.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.504, allocations: 4 kB / 412.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.5041, allocations: 41.69 kB / 412.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5042, allocations: 4 kB / 412.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5042, allocations: 0 / 412.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5042, allocations: 3.984 kB / 412.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.5043, allocations: 15.98 kB / 412.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.5048, allocations: 300.7 kB / 412.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.505, allocations: 42.56 kB / 412.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.5051, allocations: 8 kB / 412.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.5052, allocations: 55.48 kB / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.907e-06/0.5052, allocations: 0 / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005022/0.5057, allocations: 121.3 kB / 412.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5058, allocations: 59.36 kB / 412.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.5061, allocations: 164.9 kB / 412.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5061, allocations: 33.64 kB / 412.9 MB, free: 3.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5062, allocations: 166.5 kB / 413.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.5063, allocations: 31.66 kB / 413.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5063, allocations: 0 / 413.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5064, allocations: 310.8 kB / 413.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.5065, allocations: 23.98 kB / 413.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/0.5066, allocations: 20 kB / 413.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.5067, allocations: 57.69 kB / 413.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5067, allocations: 0 / 413.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003017/0.507, allocations: 127.2 kB / 413.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.5071, allocations: 33.69 kB / 413.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5071, allocations: 4 kB / 413.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5072, allocations: 0 / 413.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.5072, allocations: 12 kB / 413.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.5073, allocations: 4 kB / 413.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.5073, allocations: 3.953 kB / 413.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.5074, allocations: 7.984 kB / 413.7 MB, free: 2.574 MB / 330.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.0001351/0.5075, allocations: 124.6 kB / 413.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.5076, allocations: 7.906 kB / 413.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.5079, allocations: 102 kB / 413.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5079, allocations: 0 / 413.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5079, allocations: 0 / 413.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5079, allocations: 0 / 413.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.5084, allocations: 354.5 kB / 414.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5085, allocations: 0 / 414.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.5085, allocations: 11.94 kB / 414.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5085, allocations: 3.984 kB / 414.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5086, allocations: 96 / 414.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5086, allocations: 11.94 kB / 414.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5086, allocations: 3.953 kB / 414.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.5088, allocations: 167.5 kB / 414.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.5089, allocations: 96.91 kB / 414.5 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.509, allocations: 0 / 414.5 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.5091, allocations: 4 kB / 414.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.5091, allocations: 7.953 kB / 414.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5092, allocations: 7.984 kB / 414.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.5093, allocations: 137.7 kB / 414.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.5094, allocations: 4 kB / 414.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.5097, allocations: 39.86 kB / 414.7 MB, free: 1.41 MB / 330.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.001446/0.5112, allocations: 0.9807 MB / 415.7 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.5115, allocations: 111.3 kB / 415.8 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5115, allocations: 0 / 415.8 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.5116, allocations: 19.98 kB / 415.9 MB, free: 352 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.5119, allocations: 15.98 kB / 415.9 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.513, allocations: 497.3 kB / 416.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5133, allocations: 0.7004 MB / 417.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5135, allocations: 35.36 kB / 417.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5135, allocations: 0 / 417.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.262, allocations: 2.2 MB / 419.3 MB, free: 12.83 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat