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.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004287, allocations: 12 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.359, allocations: 48.71 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.495, allocations: 75.88 MB / 407.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4953, allocations: 67.97 kB / 407.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.5132, allocations: 4.026 MB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5133, allocations: 0 / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5133, allocations: 4 kB / 411.3 MB, free: 14.34 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.0006474/0.514, allocations: 424.7 kB / 411.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.514, allocations: 8.031 kB / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.5141, allocations: 38.56 kB / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.5141, allocations: 7.906 kB / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.5145, allocations: 194.9 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5145, allocations: 0 / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.5145, allocations: 7.984 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5147, allocations: 49.62 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5147, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5147, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5148, allocations: 0 / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.5148, allocations: 11.98 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.5154, allocations: 292.9 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5157, allocations: 46.5 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.5157, allocations: 4 kB / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.5159, allocations: 59.39 kB / 412.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.5159, allocations: 0 / 412.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000542/0.5164, allocations: 121.3 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5165, allocations: 55.41 kB / 412.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.5167, allocations: 156.4 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5168, allocations: 33.7 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.5169, allocations: 158.6 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.5169, allocations: 23.73 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.5169, allocations: 0 / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5171, allocations: 318.8 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.5172, allocations: 19.98 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.5172, allocations: 23.98 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5174, allocations: 53.73 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5174, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002864/0.5177, allocations: 131.3 kB / 413.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.5177, allocations: 41.7 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5177, allocations: 0 / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5178, allocations: 0 / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.5179, allocations: 8 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5179, allocations: 7.938 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.678e-05/0.518, allocations: 4 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.518, allocations: 0 / 413.6 MB, free: 11.83 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.0001263/0.5181, allocations: 126.1 kB / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.5182, allocations: 7.906 kB / 413.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.5184, allocations: 98.08 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5185, allocations: 0 / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5185, allocations: 4 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5185, allocations: 3.953 kB / 413.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.519, allocations: 362.4 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.519, allocations: 0 / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.5191, allocations: 4 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5191, allocations: 0 / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5191, allocations: 11.98 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.5191, allocations: 3.953 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5191, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5194, allocations: 171.4 kB / 414.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.5195, allocations: 93 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.5195, allocations: 0 / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.5196, allocations: 4 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.5197, allocations: 7.953 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5197, allocations: 4 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.5199, allocations: 131.8 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.805e-06/0.5199, allocations: 0 / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.5203, allocations: 39.94 kB / 414.7 MB, free: 10.68 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.001472/0.5218, allocations: 0.9736 MB / 415.6 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.5221, allocations: 115.4 kB / 415.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5221, allocations: 4 kB / 415.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.5222, allocations: 16 kB / 415.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.5225, allocations: 23.88 kB / 415.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.5235, allocations: 477.3 kB / 416.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.5239, allocations: 0.7004 MB / 417 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.524, allocations: 31.42 kB / 417 MB, free: 8.309 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.524, allocations: 0 / 417 MB, free: 8.309 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/3.173, allocations: 2.128 MB / 419.1 MB, free: 6.188 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat