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.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.2 MB / 224.8 MB, free: 1.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 12 kB / 282.7 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1509, allocations: 48.71 MB / 331.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.575, allocations: 76.09 MB / 407.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5753, allocations: 67.97 kB / 407.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.5973, allocations: 4.962 MB / 412.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5974, allocations: 0 / 412.5 MB, free: 3.906 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.5974, allocations: 4 kB / 412.5 MB, free: 3.902 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.0006498/0.5981, allocations: 416.9 kB / 412.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5982, allocations: 15.97 kB / 412.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.5982, allocations: 38.56 kB / 413 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5983, allocations: 7.906 kB / 413 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.5986, allocations: 186.9 kB / 413.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5986, allocations: 8 kB / 413.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.5986, allocations: 0 / 413.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.5988, allocations: 67.33 kB / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5988, allocations: 0 / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5988, allocations: 0 / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5989, allocations: 0 / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.5989, allocations: 15.98 kB / 413.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.5994, allocations: 284.8 kB / 413.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.5997, allocations: 50.5 kB / 413.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5997, allocations: 0 / 413.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.5999, allocations: 63.47 kB / 413.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.184e-06/0.5999, allocations: 3.938 kB / 413.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005632/0.6005, allocations: 113.4 kB / 413.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.6006, allocations: 89.06 kB / 413.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.6007, allocations: 131 kB / 414 MB, free: 2.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6008, allocations: 25.7 kB / 414 MB, free: 2.195 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.6009, allocations: 162.5 kB / 414.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.6009, allocations: 15.75 kB / 414.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.6009, allocations: 4 kB / 414.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6011, allocations: 314.8 kB / 414.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.6012, allocations: 20 kB / 414.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.6013, allocations: 37.7 kB / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.6014, allocations: 49.64 kB / 414.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6014, allocations: 0 / 414.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002728/0.6017, allocations: 119.4 kB / 414.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.6017, allocations: 36.83 kB / 414.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6018, allocations: 0 / 414.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6018, allocations: 0 / 414.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.6019, allocations: 15.92 kB / 414.7 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6019, allocations: 3.938 kB / 414.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.602, allocations: 11.98 kB / 414.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.602, allocations: 0 / 414.8 MB, free: 1.383 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.0001278/0.6021, allocations: 120.8 kB / 414.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.6022, allocations: 11.91 kB / 414.9 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.6025, allocations: 81.62 kB / 415 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.6025, allocations: 4 kB / 415 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.6025, allocations: 0 / 415 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6025, allocations: 4.031 kB / 415 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.603, allocations: 350.5 kB / 415.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.603, allocations: 0 / 415.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.6031, allocations: 4.188 kB / 415.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.6031, allocations: 4 kB / 415.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.6031, allocations: 8 kB / 415.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6031, allocations: 0 / 415.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6032, allocations: 3.953 kB / 415.3 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.6034, allocations: 179.4 kB / 415.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.6035, allocations: 89.02 kB / 415.6 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.6035, allocations: 0 / 415.6 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.6036, allocations: 3.984 kB / 415.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.6037, allocations: 7.953 kB / 415.6 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6037, allocations: 4 kB / 415.6 MB, free: 436 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.6038, allocations: 111.2 kB / 415.7 MB, free: 324 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6039, allocations: 0 / 415.7 MB, free: 324 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.6043, allocations: 39.94 kB / 415.8 MB, free: 284 kB / 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.001813/0.6061, allocations: 1.064 MB / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.6064, allocations: 107.4 kB / 416.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6065, allocations: 0 / 416.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.6065, allocations: 23.92 kB / 416.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.6069, allocations: 15.98 kB / 417 MB, free: 15.12 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.00312/0.61, allocations: 1.151 MB / 418.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.6104, allocations: 0.6926 MB / 418.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6105, allocations: 27.42 kB / 418.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6105, allocations: 0 / 418.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.659/3.27, allocations: 2.256 MB / 421.1 MB, free: 10.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat