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.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004447, allocations: 12.22 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 48.71 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5254, allocations: 75.86 MB / 407.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5258, allocations: 75.95 kB / 407.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.5448, allocations: 4.355 MB / 411.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5448, allocations: 0 / 411.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.5449, allocations: 4 kB / 411.7 MB, free: 4.691 MB / 330.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.0006902/0.5456, allocations: 456.4 kB / 412.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5456, allocations: 8.031 kB / 412.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.5457, allocations: 34.56 kB / 412.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.5457, allocations: 7.906 kB / 412.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.5461, allocations: 210.8 kB / 412.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5461, allocations: 7.938 kB / 412.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.5462, allocations: 3.938 kB / 412.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5463, allocations: 45.67 kB / 412.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5463, allocations: 4 kB / 412.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5463, allocations: 0 / 412.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5464, allocations: 0 / 412.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.5464, allocations: 15.98 kB / 412.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.547, allocations: 308.8 kB / 412.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.5472, allocations: 50.5 kB / 412.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.5473, allocations: 0 / 412.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.5474, allocations: 63.47 kB / 412.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.5474, allocations: 0 / 412.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005245/0.548, allocations: 125.4 kB / 413 MB, free: 3.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.548, allocations: 63.41 kB / 413 MB, free: 3.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.5484, allocations: 218.6 kB / 413.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.5485, allocations: 29.7 kB / 413.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.5486, allocations: 170.5 kB / 413.4 MB, free: 2.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.5486, allocations: 11.89 kB / 413.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.5486, allocations: 4 kB / 413.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5488, allocations: 310.8 kB / 413.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.5489, allocations: 23.98 kB / 413.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.549, allocations: 27.92 kB / 413.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5491, allocations: 61.64 kB / 413.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5491, allocations: 0 / 413.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002941/0.5494, allocations: 131.3 kB / 414 MB, free: 2.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.5495, allocations: 29.7 kB / 414 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5495, allocations: 0 / 414 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5495, allocations: 4 kB / 414 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.5496, allocations: 11.94 kB / 414.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5496, allocations: 3.984 kB / 414.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.5497, allocations: 0 / 414.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.5497, allocations: 11.95 kB / 414.1 MB, free: 2.035 MB / 330.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.0001537/0.5499, allocations: 133.8 kB / 414.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.55, allocations: 7.906 kB / 414.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.5502, allocations: 94.58 kB / 414.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5503, allocations: 4 kB / 414.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5503, allocations: 3.938 kB / 414.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5503, allocations: 0 / 414.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.5509, allocations: 386.6 kB / 414.7 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5509, allocations: 4 kB / 414.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.551, allocations: 4 kB / 414.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.551, allocations: 3.984 kB / 414.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.551, allocations: 4 kB / 414.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.551, allocations: 0 / 414.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.551, allocations: 0 / 414.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.5513, allocations: 179.3 kB / 414.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.5514, allocations: 100.9 kB / 415 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5514, allocations: 8 kB / 415 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.5515, allocations: 4 kB / 415 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5516, allocations: 4.078 kB / 415 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.5516, allocations: 7.938 kB / 415 MB, free: 1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.5519, allocations: 189.1 kB / 415.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5519, allocations: 0 / 415.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.5523, allocations: 39.94 kB / 415.2 MB, free: 0.7773 MB / 330.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.001592/0.5539, allocations: 0.9826 MB / 416.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5543, allocations: 115.3 kB / 416.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5543, allocations: 0 / 416.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.5544, allocations: 27.92 kB / 416.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5547, allocations: 20.08 kB / 416.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5558, allocations: 0.547 MB / 416.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.5562, allocations: 0.7199 MB / 417.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5564, allocations: 35.42 kB / 417.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5564, allocations: 0 / 417.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/3.388, allocations: 2.525 MB / 420.2 MB, free: 11.78 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat