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.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005227, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 48.71 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4765, allocations: 75.87 MB / 407.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.4768, allocations: 67.97 kB / 407.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.4961, allocations: 4.246 MB / 411.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4961, allocations: 0 / 411.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4961, allocations: 0 / 411.6 MB, free: 14.13 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.0006528/0.4968, allocations: 448.5 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4969, allocations: 8.031 kB / 412 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.4969, allocations: 38.5 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.497, allocations: 7.906 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.4973, allocations: 206.8 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4973, allocations: 0 / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4974, allocations: 4 kB / 412.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4975, allocations: 41.69 kB / 412.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4975, allocations: 0 / 412.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4976, allocations: 8 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4976, allocations: 0 / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.4977, allocations: 15.98 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.4982, allocations: 304.7 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.4984, allocations: 42.56 kB / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4985, allocations: 0 / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.4986, allocations: 63.42 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.4986, allocations: 0 / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005755/0.4992, allocations: 125.3 kB / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4993, allocations: 51.41 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4996, allocations: 202.3 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4997, allocations: 33.64 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.4997, allocations: 166.5 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.4998, allocations: 15.8 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.4998, allocations: 8 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4999, allocations: 310.8 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.5, allocations: 23.98 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.33e-05/0.5001, allocations: 20 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.5002, allocations: 61.72 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5003, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00029/0.5006, allocations: 123.3 kB / 413.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.5006, allocations: 33.7 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5006, allocations: 0 / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5007, allocations: 4.281 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.5008, allocations: 12 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5008, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.5009, allocations: 7.984 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.5009, allocations: 7.953 kB / 413.9 MB, free: 11.53 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.0001402/0.5011, allocations: 125.8 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.5011, allocations: 11.89 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.5014, allocations: 90.61 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5014, allocations: 8 kB / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5014, allocations: 0 / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5015, allocations: 0 / 414.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.502, allocations: 370.5 kB / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.502, allocations: 0 / 414.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.5021, allocations: 11.94 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5021, allocations: 0 / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5021, allocations: 4 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5021, allocations: 3.984 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5022, allocations: 0 / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.5024, allocations: 179.4 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.5025, allocations: 96.94 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.5025, allocations: 4 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.5026, allocations: 0 / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5027, allocations: 4 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5027, allocations: 3.938 kB / 414.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.503, allocations: 163.9 kB / 414.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.503, allocations: 4 kB / 415 MB, free: 10.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.5034, allocations: 32 kB / 415 MB, free: 10.34 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.001487/0.5049, allocations: 0.9806 MB / 416 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.5052, allocations: 115.3 kB / 416.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5052, allocations: 0 / 416.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.5053, allocations: 16 kB / 416.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.5056, allocations: 19.92 kB / 416.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5067, allocations: 0.518 MB / 416.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.507, allocations: 0.7004 MB / 417.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5071, allocations: 35.42 kB / 417.4 MB, free: 7.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5072, allocations: 4 kB / 417.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.213, allocations: 2.329 MB / 419.7 MB, free: 5.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat