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.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.881/1.881, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 16 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 48.7 MB / 331.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5193, allocations: 75.7 MB / 407.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5196, allocations: 67.97 kB / 407.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.5376, allocations: 3.836 MB / 411 MB, free: 5.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.16e-05/0.5377, allocations: 0 / 411 MB, free: 5.352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.5377, allocations: 4 kB / 411 MB, free: 5.348 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006163/0.5383, allocations: 427.7 kB / 411.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5384, allocations: 8.031 kB / 411.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.5384, allocations: 30.56 kB / 411.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.5385, allocations: 11.91 kB / 411.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.5388, allocations: 198.9 kB / 411.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5389, allocations: 3.984 kB / 411.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.5389, allocations: 4 kB / 411.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.539, allocations: 37.69 kB / 411.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.539, allocations: 0 / 411.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.539, allocations: 0 / 411.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5391, allocations: 0 / 411.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.5391, allocations: 11.98 kB / 411.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.5394, allocations: 189.6 kB / 411.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.5395, allocations: 30.56 kB / 411.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5395, allocations: 0 / 411.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.5397, allocations: 55.47 kB / 412 MB, free: 4.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.674e-06/0.5397, allocations: 0 / 412 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002704/0.54, allocations: 73.52 kB / 412 MB, free: 4.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.54, allocations: 55.41 kB / 412.1 MB, free: 4.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.5403, allocations: 160.5 kB / 412.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5403, allocations: 25.7 kB / 412.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.5404, allocations: 162.5 kB / 412.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.5404, allocations: 15.83 kB / 412.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.5405, allocations: 0 / 412.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5406, allocations: 318.8 kB / 412.8 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.5407, allocations: 20 kB / 412.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.5408, allocations: 19.98 kB / 412.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5409, allocations: 49.7 kB / 412.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5409, allocations: 0 / 412.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002601/0.5411, allocations: 115.2 kB / 413 MB, free: 3.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.5412, allocations: 33.7 kB / 413 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5412, allocations: 0 / 413 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5413, allocations: 3.938 kB / 413 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.5414, allocations: 7.984 kB / 413 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5414, allocations: 4 kB / 413 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.5415, allocations: 0 / 413 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.5415, allocations: 8 kB / 413 MB, free: 3.066 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 (5): * Single equations (assignments): 4 * 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.0001395/0.5416, allocations: 125.8 kB / 413.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.5417, allocations: 8.031 kB / 413.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.542, allocations: 77.86 kB / 413.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.542, allocations: 4 kB / 413.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.542, allocations: 0 / 413.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.542, allocations: 0 / 413.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.5422, allocations: 177.6 kB / 413.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5422, allocations: 0 / 413.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.5423, allocations: 8 kB / 413.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5423, allocations: 0 / 413.4 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.5423, allocations: 8 kB / 413.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5423, allocations: 0 / 413.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5423, allocations: 0 / 413.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.5426, allocations: 97.19 kB / 413.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.5426, allocations: 85.02 kB / 413.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5427, allocations: 0 / 413.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.5428, allocations: 15.98 kB / 413.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5428, allocations: 3.938 kB / 413.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.5428, allocations: 0 / 413.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.543, allocations: 131.8 kB / 413.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.543, allocations: 0 / 413.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.5433, allocations: 31.86 kB / 413.8 MB, free: 2.207 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 (4): * Single equations (assignments): 3 * 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.00141/0.5448, allocations: 0.8606 MB / 414.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.5451, allocations: 103.3 kB / 414.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5451, allocations: 0 / 414.7 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.653e-05/0.5452, allocations: 11.98 kB / 414.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5455, allocations: 12 kB / 414.8 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.5464, allocations: 461.9 kB / 415.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5468, allocations: 0.7004 MB / 415.9 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.5469, allocations: 19.44 kB / 415.9 MB, free: 4 kB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5469, allocations: 0 / 415.9 MB, free: 4 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.347, allocations: 1.91 MB / 417.8 MB, free: 14.09 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat