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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.0006268, allocations: 19.94 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.371, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.5468, allocations: 75.84 MB / 407.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/0.5472, allocations: 67.97 kB / 407.3 MB, free: 2.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.566, allocations: 3.901 MB / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.566, allocations: 0 / 411.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.566, allocations: 4 kB / 411.2 MB, free: 14.5 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.0006162/0.5667, allocations: 428.7 kB / 411.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5667, allocations: 12.03 kB / 411.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.5668, allocations: 30.56 kB / 411.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.5668, allocations: 7.906 kB / 411.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.5671, allocations: 194.9 kB / 411.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5672, allocations: 4 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.5672, allocations: 4 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5673, allocations: 49.61 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5674, allocations: 4 kB / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5674, allocations: 0 / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5674, allocations: 0 / 411.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.5675, allocations: 19.98 kB / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.568, allocations: 284.8 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.5683, allocations: 46.5 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5683, allocations: 4 kB / 412.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.5685, allocations: 67.47 kB / 412.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.876e-06/0.5685, allocations: 0 / 412.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.5691, allocations: 117.3 kB / 412.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5692, allocations: 51.41 kB / 412.5 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.5694, allocations: 149.2 kB / 412.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.5695, allocations: 29.7 kB / 412.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.5696, allocations: 158.6 kB / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5696, allocations: 23.73 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.5696, allocations: 0 / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5698, allocations: 314.8 kB / 413.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.5699, allocations: 23.98 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.5699, allocations: 23.98 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5701, allocations: 57.67 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5701, allocations: 0 / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003062/0.5704, allocations: 127.4 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.5705, allocations: 29.7 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5705, allocations: 4 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5705, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.5706, allocations: 8 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.5706, allocations: 15.88 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.5707, allocations: 3.906 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.5708, allocations: 8.062 kB / 413.4 MB, free: 12 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.0001457/0.5709, allocations: 120.4 kB / 413.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.571, allocations: 7.906 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.5713, allocations: 93.97 kB / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5713, allocations: 0 / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5713, allocations: 0 / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5713, allocations: 3.953 kB / 413.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005269/0.5719, allocations: 350.5 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5719, allocations: 0 / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.572, allocations: 12 kB / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.572, allocations: 0 / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.572, allocations: 0 / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.572, allocations: 11.95 kB / 414 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.572, allocations: 0 / 414 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.5723, allocations: 175.4 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.5724, allocations: 85.02 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.5724, allocations: 4 kB / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.5725, allocations: 0 / 414.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.5726, allocations: 11.94 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.5726, allocations: 7.938 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.5728, allocations: 119.2 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5728, allocations: 4 kB / 414.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.5732, allocations: 35.92 kB / 414.4 MB, free: 10.87 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.001629/0.5749, allocations: 0.9859 MB / 415.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.5752, allocations: 107.4 kB / 415.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5752, allocations: 0 / 415.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.5753, allocations: 27.92 kB / 415.6 MB, free: 9.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5757, allocations: 19.88 kB / 415.6 MB, free: 9.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009231/0.5766, allocations: 457.1 kB / 416 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5769, allocations: 0.6965 MB / 416.7 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.577, allocations: 19.44 kB / 416.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5771, allocations: 4 kB / 416.8 MB, free: 8.527 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/3.282, allocations: 2.066 MB / 418.8 MB, free: 6.469 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat