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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.2 MB / 224.8 MB, free: 304 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 12 kB / 282.7 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3443, allocations: 48.71 MB / 331.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4806, allocations: 75.84 MB / 407.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4809, allocations: 71.95 kB / 407.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.4981, allocations: 3.917 MB / 411.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4982, allocations: 0 / 411.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4982, allocations: 0 / 411.2 MB, free: 14.47 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.0006521/0.4989, allocations: 436.6 kB / 411.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4989, allocations: 8.031 kB / 411.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.499, allocations: 30.56 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4991, allocations: 11.91 kB / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4994, allocations: 198.8 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4994, allocations: 0 / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4995, allocations: 8 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4996, allocations: 41.69 kB / 411.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4996, allocations: 7.984 kB / 411.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4997, allocations: 0 / 411.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4997, allocations: 4 kB / 411.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.4997, allocations: 15.98 kB / 411.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.5002, allocations: 292.9 kB / 412.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.5005, allocations: 42.5 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.5005, allocations: 4 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.5007, allocations: 67.39 kB / 412.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.5007, allocations: 3.938 kB / 412.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005009/0.5012, allocations: 117.3 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5013, allocations: 51.41 kB / 412.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.5015, allocations: 164.6 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5016, allocations: 29.7 kB / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.5017, allocations: 162.5 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.5017, allocations: 19.75 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.5017, allocations: 0 / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5019, allocations: 318.8 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.502, allocations: 19.98 kB / 413.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.502, allocations: 27.92 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.5022, allocations: 49.7 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5022, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002859/0.5025, allocations: 127.4 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.5025, allocations: 30.33 kB / 413.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5026, allocations: 4 kB / 413.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5026, allocations: 4 kB / 413.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/0.5027, allocations: 15.92 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5027, allocations: 3.953 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.5028, allocations: 0 / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.5028, allocations: 4 kB / 413.5 MB, free: 11.95 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.0001303/0.5029, allocations: 125.8 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.503, allocations: 7.906 kB / 413.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.5033, allocations: 93.98 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5033, allocations: 3.938 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5033, allocations: 0 / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.5033, allocations: 3.953 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.5038, allocations: 362.6 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5038, allocations: 3.938 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.5039, allocations: 7.984 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5039, allocations: 0 / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5039, allocations: 4 kB / 414.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.504, allocations: 7.953 kB / 414.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.504, allocations: 0 / 414.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.5042, allocations: 175.4 kB / 414.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.5043, allocations: 89 kB / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.5043, allocations: 0 / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.5044, allocations: 4 kB / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.5045, allocations: 11.94 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5045, allocations: 4 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.5047, allocations: 127.8 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.324e-06/0.5047, allocations: 0 / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.5051, allocations: 39.94 kB / 414.5 MB, free: 10.8 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.001541/0.5066, allocations: 0.982 MB / 415.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.5069, allocations: 107.4 kB / 415.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5069, allocations: 0 / 415.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.507, allocations: 27.92 kB / 415.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.5073, allocations: 15.94 kB / 415.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.5083, allocations: 465.4 kB / 416.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.5087, allocations: 0.7006 MB / 416.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.5088, allocations: 27.42 kB / 416.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5088, allocations: 8 kB / 416.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/3.118, allocations: 2.139 MB / 419 MB, free: 6.305 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat