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.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.2 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 16 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3462, allocations: 48.71 MB / 331.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4808, allocations: 75.71 MB / 407.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4812, allocations: 75.94 kB / 407.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.4993, allocations: 4.144 MB / 411.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4994, allocations: 0 / 411.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.4994, allocations: 4 kB / 411.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006546/0.5001, allocations: 452.5 kB / 411.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5002, allocations: 8.031 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.5002, allocations: 30.56 kB / 411.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.5003, allocations: 11.81 kB / 411.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5006, allocations: 206.8 kB / 412 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5006, allocations: 8 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.5007, allocations: 0 / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.5008, allocations: 37.69 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5008, allocations: 4 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5008, allocations: 7.984 kB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.5009, allocations: 0 / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.5009, allocations: 12 kB / 412.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.5012, allocations: 193.6 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.5013, allocations: 34.5 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.5013, allocations: 3.938 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.5015, allocations: 59.47 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.5015, allocations: 0 / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002672/0.5018, allocations: 77.42 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5018, allocations: 51.41 kB / 412.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.5022, allocations: 218.7 kB / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.5022, allocations: 25.7 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.5023, allocations: 174.5 kB / 412.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.5024, allocations: 7.891 kB / 412.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.5024, allocations: 4 kB / 412.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5025, allocations: 318.8 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.5026, allocations: 15.98 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.5026, allocations: 20 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.334e-05/0.5028, allocations: 53.64 kB / 413.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5028, allocations: 3.938 kB / 413.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002334/0.503, allocations: 103.4 kB / 413.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.5031, allocations: 33.69 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5031, allocations: 0 / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5031, allocations: 7.938 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.5032, allocations: 12 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5032, allocations: 0 / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.5033, allocations: 11.84 kB / 413.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5033, allocations: 0 / 413.5 MB, free: 12.05 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 (5): * Single equations (assignments): 4 * 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.0001347/0.5035, allocations: 133.8 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.5035, allocations: 11.91 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.5037, allocations: 78.59 kB / 413.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5038, allocations: 0 / 413.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5038, allocations: 0 / 413.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5038, allocations: 4 kB / 413.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.504, allocations: 197.5 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.504, allocations: 4.188 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.5041, allocations: 4 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5041, allocations: 0 / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5041, allocations: 4 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.5042, allocations: 4 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5042, allocations: 8.047 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.5044, allocations: 89.03 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.5045, allocations: 104.8 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.5045, allocations: 4 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.5046, allocations: 4 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.5046, allocations: 0 / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5046, allocations: 4 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.5049, allocations: 189.1 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5049, allocations: 0 / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.5053, allocations: 31.94 kB / 414.3 MB, free: 11.09 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 (4): * Single equations (assignments): 3 * 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.001296/0.5066, allocations: 0.8763 MB / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.5068, allocations: 95.39 kB / 415.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5068, allocations: 7.875 kB / 415.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.5069, allocations: 15.98 kB / 415.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.5072, allocations: 16.17 kB / 415.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5083, allocations: 0.5234 MB / 415.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.5086, allocations: 0.7121 MB / 416.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5088, allocations: 35.42 kB / 416.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5088, allocations: 0 / 416.6 MB, free: 8.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.403, allocations: 2.311 MB / 418.9 MB, free: 6.461 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat