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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.057/2.057, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 15.94 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3463, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.5287, allocations: 75.83 MB / 407.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.529, allocations: 67.97 kB / 407.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.5517, allocations: 4.059 MB / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5518, allocations: 0 / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.5518, allocations: 4 kB / 411.3 MB, free: 14.35 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.0007614/0.5526, allocations: 440.5 kB / 411.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5526, allocations: 8.031 kB / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.5527, allocations: 38.53 kB / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.5528, allocations: 11.91 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.5532, allocations: 198.9 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5532, allocations: 8 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.5533, allocations: 4 kB / 412 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5534, allocations: 41.69 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5535, allocations: 3.984 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.5535, allocations: 0 / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.5535, allocations: 0 / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.5536, allocations: 15.94 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.5542, allocations: 300.8 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.5546, allocations: 46.56 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.5546, allocations: 0 / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.5548, allocations: 59.42 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.5548, allocations: 0 / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006506/0.5555, allocations: 125.3 kB / 412.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.5556, allocations: 59.34 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.556, allocations: 177.3 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.556, allocations: 37.64 kB / 412.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5561, allocations: 158.6 kB / 413 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.5562, allocations: 19.75 kB / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.5562, allocations: 0 / 413 MB, free: 12.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5564, allocations: 314.8 kB / 413.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.5565, allocations: 20 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5567, allocations: 23.98 kB / 413.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.5568, allocations: 57.8 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5568, allocations: 3.938 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003992/0.5573, allocations: 127.3 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.5573, allocations: 29.7 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5573, allocations: 3.984 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5574, allocations: 64 / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5575, allocations: 12 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5575, allocations: 4 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.5576, allocations: 4 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.5577, allocations: 7.953 kB / 413.6 MB, free: 11.79 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.0001734/0.5579, allocations: 129.8 kB / 413.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5579, allocations: 11.81 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.5583, allocations: 89.92 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5583, allocations: 4 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5583, allocations: 0 / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5583, allocations: 4.266 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.559, allocations: 358.5 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5591, allocations: 11.94 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.5591, allocations: 7.984 kB / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5592, allocations: 0 / 414.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5592, allocations: 7.984 kB / 414.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5592, allocations: 0 / 414.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5592, allocations: 0 / 414.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.5596, allocations: 175.4 kB / 414.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.853e-05/0.5597, allocations: 89 kB / 414.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.5597, allocations: 8 kB / 414.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.5599, allocations: 0 / 414.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.56, allocations: 11.98 kB / 414.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.56, allocations: 192 / 414.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.5603, allocations: 160.8 kB / 414.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.056e-06/0.5603, allocations: 0 / 414.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.561, allocations: 39.88 kB / 414.7 MB, free: 10.6 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.002055/0.5631, allocations: 0.9798 MB / 415.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.5634, allocations: 115.3 kB / 415.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5634, allocations: 0 / 415.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.5635, allocations: 20 kB / 415.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.564, allocations: 15.98 kB / 415.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5653, allocations: 0.5057 MB / 416.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.5658, allocations: 0.7043 MB / 417.1 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5659, allocations: 27.42 kB / 417.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5659, allocations: 0 / 417.1 MB, free: 8.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.537/3.103, allocations: 2.27 MB / 419.4 MB, free: 5.934 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat