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.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.000432, allocations: 16 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3608, allocations: 48.69 MB / 331.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5099, allocations: 75.86 MB / 407.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5103, allocations: 71.95 kB / 407.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.5293, allocations: 4.35 MB / 411.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5294, allocations: 0 / 411.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5294, allocations: 0 / 411.6 MB, free: 14.12 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.0006718/0.5301, allocations: 459.3 kB / 412.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5301, allocations: 8.031 kB / 412.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.537e-05/0.5302, allocations: 38.55 kB / 412.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.5303, allocations: 15.84 kB / 412.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.5306, allocations: 206.8 kB / 412.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5306, allocations: 0 / 412.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.5307, allocations: 4 kB / 412.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5308, allocations: 49.67 kB / 412.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5308, allocations: 0 / 412.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5309, allocations: 0 / 412.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.5309, allocations: 0 / 412.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.531, allocations: 19.98 kB / 412.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.5315, allocations: 316.7 kB / 412.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.5318, allocations: 38.56 kB / 412.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5318, allocations: 4 kB / 412.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.5319, allocations: 55.48 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.532, allocations: 0 / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005345/0.5325, allocations: 133.3 kB / 413 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.5326, allocations: 59.39 kB / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.533, allocations: 226.6 kB / 413.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.533, allocations: 25.7 kB / 413.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.5331, allocations: 170.5 kB / 413.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.5332, allocations: 11.91 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.5332, allocations: 3.938 kB / 413.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5333, allocations: 322.8 kB / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.5334, allocations: 19.98 kB / 413.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.5335, allocations: 20 kB / 413.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5336, allocations: 61.69 kB / 413.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5337, allocations: 0 / 413.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000307/0.534, allocations: 123.3 kB / 414 MB, free: 11.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.534, allocations: 41.69 kB / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.5341, allocations: 0 / 414 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.5341, allocations: 3.984 kB / 414 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.5342, allocations: 8 kB / 414 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5342, allocations: 0 / 414 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.5343, allocations: 4 kB / 414 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.5343, allocations: 12 kB / 414.1 MB, free: 11.46 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.0001592/0.5345, allocations: 133.8 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.5346, allocations: 15.89 kB / 414.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.5349, allocations: 98.61 kB / 414.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5349, allocations: 3.938 kB / 414.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5349, allocations: 0 / 414.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5349, allocations: 0 / 414.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.5355, allocations: 374.5 kB / 414.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5355, allocations: 4 kB / 414.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.5356, allocations: 15.94 kB / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5356, allocations: 0 / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5356, allocations: 0 / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5356, allocations: 4 kB / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5356, allocations: 0 / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5359, allocations: 175.4 kB / 414.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.536, allocations: 100.9 kB / 415 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.5361, allocations: 8 kB / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.5362, allocations: 0 / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.5362, allocations: 4 kB / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.5363, allocations: 0 / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.5365, allocations: 197.1 kB / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5366, allocations: 0 / 415.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00041/0.537, allocations: 47.88 kB / 415.2 MB, free: 10.2 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.001578/0.5386, allocations: 0.9804 MB / 416.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.5389, allocations: 111.4 kB / 416.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5389, allocations: 4 kB / 416.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.539, allocations: 23.94 kB / 416.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.5394, allocations: 20.11 kB / 416.3 MB, free: 9.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5405, allocations: 0.547 MB / 416.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.5409, allocations: 0.7121 MB / 417.6 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.541, allocations: 35.42 kB / 417.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.541, allocations: 0 / 417.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.272, allocations: 2.542 MB / 420.2 MB, free: 5.195 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat