Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.225/2.225, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.388e-05, allocations: 7.984 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3605, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5374, allocations: 81.39 MB / 439.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5377, allocations: 75.91 kB / 439.6 MB, free: 13.28 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02524/0.563, allocations: 4.811 MB / 444.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.563, allocations: 4 kB / 444.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.563, allocations: 4 kB / 444.4 MB, free: 8.449 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008115/0.5639, allocations: 481.4 kB / 444.9 MB, free: 7.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.5639, allocations: 8.031 kB / 444.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.564, allocations: 15.81 kB / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.5646, allocations: 218.8 kB / 445.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5646, allocations: 0 / 445.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.5647, allocations: 7.984 kB / 445.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/0.5648, allocations: 20 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.565, allocations: 53.67 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5651, allocations: 3.953 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.5651, allocations: 0 / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5651, allocations: 4 kB / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.5658, allocations: 305.3 kB / 445.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.5661, allocations: 58.69 kB / 445.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/0.5662, allocations: 16.98 kB / 445.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.5662, allocations: 0 / 445.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.5664, allocations: 67.34 kB / 445.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/0.5665, allocations: 0 / 445.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008507/0.5673, allocations: 165.1 kB / 445.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5674, allocations: 51.41 kB / 445.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.5679, allocations: 227 kB / 446.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.568, allocations: 29.7 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5682, allocations: 170.5 kB / 446.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.5682, allocations: 27.59 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.5683, allocations: 4 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5685, allocations: 315.5 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.5687, allocations: 36 kB / 446.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.5689, allocations: 57.64 kB / 446.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.5691, allocations: 35.98 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5691, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005216/0.5696, allocations: 121.7 kB / 446.9 MB, free: 5.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.5697, allocations: 33.7 kB / 446.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5697, allocations: 3.953 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5698, allocations: 3.984 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.57, allocations: 19.94 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.57, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.5702, allocations: 8.031 kB / 446.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.5702, allocations: 7.984 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001305/0.5704, allocations: 112.7 kB / 447 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003361/0.5707, allocations: 105.5 kB / 447.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.5708, allocations: 19.77 kB / 447.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.5713, allocations: 115.5 kB / 447.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5713, allocations: 0 / 447.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5713, allocations: 3.938 kB / 447.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5713, allocations: 7.984 kB / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.5723, allocations: 395.9 kB / 447.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5723, allocations: 0 / 447.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.5724, allocations: 15.92 kB / 447.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5724, allocations: 4 kB / 447.7 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5725, allocations: 0 / 447.7 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5725, allocations: 0 / 447.7 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5725, allocations: 0 / 447.7 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.5729, allocations: 229.8 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.5731, allocations: 104.9 kB / 448 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.5732, allocations: 4 kB / 448 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.5734, allocations: 3.984 kB / 448 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.5735, allocations: 4 kB / 448 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.5735, allocations: 7.938 kB / 448 MB, free: 4.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.5738, allocations: 195 kB / 448.2 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5739, allocations: 0 / 448.2 MB, free: 4.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006614/0.5745, allocations: 43.94 kB / 448.3 MB, free: 4.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002202/0.5768, allocations: 1.097 MB / 449.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.5772, allocations: 155.3 kB / 449.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5772, allocations: 0 / 449.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.5774, allocations: 31.94 kB / 449.6 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.5779, allocations: 21.3 kB / 449.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.5792, allocations: 313.8 kB / 449.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.5797, allocations: 0.7236 MB / 450.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.5798, allocations: 39.42 kB / 450.6 MB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5799, allocations: 4 kB / 450.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.374, allocations: 2.832 MB / 453.5 MB, free: 14.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat