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.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 48.71 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4966, allocations: 75.83 MB / 407.2 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.4969, allocations: 67.97 kB / 407.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.5147, allocations: 3.98 MB / 411.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5147, allocations: 0 / 411.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5147, allocations: 0 / 411.2 MB, free: 14.54 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.0006043/0.5154, allocations: 436.6 kB / 411.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5154, allocations: 15.97 kB / 411.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.5155, allocations: 30.56 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.5155, allocations: 7.906 kB / 411.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.5158, allocations: 207.4 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5159, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.5159, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.516, allocations: 41.69 kB / 412 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5161, allocations: 0 / 412 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5161, allocations: 0 / 412 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5161, allocations: 0 / 412 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.5162, allocations: 23.92 kB / 412 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.5167, allocations: 292.8 kB / 412.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.517, allocations: 54.55 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.517, allocations: 0 / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.5172, allocations: 59.42 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.5172, allocations: 0 / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005204/0.5177, allocations: 121.4 kB / 412.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.5178, allocations: 55.39 kB / 412.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.518, allocations: 173.5 kB / 412.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5181, allocations: 29.7 kB / 412.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.5182, allocations: 166.4 kB / 412.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.5182, allocations: 19.75 kB / 413 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.5182, allocations: 0 / 413 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5184, allocations: 318.8 kB / 413.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.5184, allocations: 19.98 kB / 413.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.5185, allocations: 20 kB / 413.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.5187, allocations: 61.69 kB / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5187, allocations: 0 / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002844/0.519, allocations: 127.2 kB / 413.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.519, allocations: 33.69 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.519, allocations: 0 / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5191, allocations: 4 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.5192, allocations: 8 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5192, allocations: 0 / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.5193, allocations: 4 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.5193, allocations: 7.953 kB / 413.5 MB, free: 11.98 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.0001352/0.5194, allocations: 129.8 kB / 413.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5195, allocations: 7.906 kB / 413.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.5198, allocations: 89.92 kB / 413.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5198, allocations: 3.984 kB / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5198, allocations: 0 / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5198, allocations: 0 / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.5203, allocations: 362.7 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5203, allocations: 4 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.5204, allocations: 7.938 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5205, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.5205, allocations: 7.984 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5205, allocations: 96 / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5205, allocations: 3.938 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5208, allocations: 171.4 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.5208, allocations: 96.91 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.5209, allocations: 4 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.521, allocations: 4 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5211, allocations: 4 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.5211, allocations: 3.984 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.5213, allocations: 145.8 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.294e-06/0.5213, allocations: 0 / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000378/0.5217, allocations: 43.86 kB / 414.6 MB, free: 10.81 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.001474/0.5232, allocations: 0.9747 MB / 415.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.5235, allocations: 111.3 kB / 415.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5235, allocations: 0 / 415.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.5236, allocations: 19.98 kB / 415.7 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.5239, allocations: 19.98 kB / 415.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.525, allocations: 497.3 kB / 416.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.5253, allocations: 0.7004 MB / 416.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.5254, allocations: 31.42 kB / 416.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5254, allocations: 0 / 416.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.224, allocations: 2.214 MB / 419.2 MB, free: 6.227 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat