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.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005562/0.0005565, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4418, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.5917, allocations: 75.71 MB / 407.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5921, allocations: 67.97 kB / 407.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01799/0.6101, allocations: 4.155 MB / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6101, allocations: 4 kB / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.6101, allocations: 0 / 411.3 MB, free: 14.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005827/0.6107, allocations: 443.6 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6108, allocations: 12.03 kB / 411.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.6108, allocations: 30.56 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.6109, allocations: 15.75 kB / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.6112, allocations: 214.8 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6113, allocations: 4 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.6113, allocations: 4 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.6114, allocations: 41.69 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6114, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6114, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6115, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.65e-05/0.6115, allocations: 8 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.6118, allocations: 193.6 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.6119, allocations: 38.5 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.6119, allocations: 0 / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.6121, allocations: 59.45 kB / 412.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.6121, allocations: 0 / 412.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.000255/0.6123, allocations: 73.44 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.6124, allocations: 51.41 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.6128, allocations: 226.6 kB / 412.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.6128, allocations: 29.64 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.6129, allocations: 170.6 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.613, allocations: 7.906 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.613, allocations: 0 / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6131, allocations: 314.8 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.6132, allocations: 19.98 kB / 413.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.6133, allocations: 19.98 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.6134, allocations: 49.66 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6134, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002385/0.6136, allocations: 115.4 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.6137, allocations: 37.64 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6137, allocations: 3.938 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6137, allocations: 0 / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.6138, allocations: 8 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.6138, allocations: 0 / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.6139, allocations: 15.83 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6139, allocations: 0 / 413.5 MB, free: 11.96 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 (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.0001458/0.6141, allocations: 137.8 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.6141, allocations: 8.094 kB / 413.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.6144, allocations: 82.59 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6144, allocations: 0 / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6144, allocations: 4.062 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6144, allocations: 4 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.6146, allocations: 197.5 kB / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.6146, allocations: 3.953 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.6147, allocations: 7.984 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6147, allocations: 0 / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.6147, allocations: 0 / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6147, allocations: 0 / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6148, allocations: 8 kB / 413.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.6149, allocations: 85.03 kB / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.615, allocations: 104.9 kB / 414.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.6151, allocations: 0 / 414.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.6152, allocations: 4 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.6152, allocations: 3.984 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6152, allocations: 4 kB / 414.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002575/0.6155, allocations: 189.1 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6155, allocations: 7.875 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.6158, allocations: 31.94 kB / 414.3 MB, free: 10.99 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 (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.001307/0.6171, allocations: 0.8518 MB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.6174, allocations: 107.3 kB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6174, allocations: 4 kB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.6175, allocations: 16 kB / 415.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.6177, allocations: 12.17 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.6187, allocations: 0.5311 MB / 415.8 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.6191, allocations: 0.7082 MB / 416.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-05/0.6192, allocations: 35.42 kB / 416.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6192, allocations: 0 / 416.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.375, allocations: 2.307 MB / 418.9 MB, free: 6.387 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat