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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006604, allocations: 15.98 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4254, allocations: 48.7 MB / 331.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.5821, allocations: 75.84 MB / 407.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5825, allocations: 71.97 kB / 407.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.6003, allocations: 3.937 MB / 411.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6004, allocations: 0 / 411.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.6004, allocations: 4 kB / 411.2 MB, free: 14.55 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.0006205/0.6011, allocations: 431.7 kB / 411.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6011, allocations: 12.03 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.6012, allocations: 34.56 kB / 411.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.6012, allocations: 11.89 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.6015, allocations: 190.9 kB / 411.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.6016, allocations: 8 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.6016, allocations: 0 / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.6017, allocations: 49.62 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6018, allocations: 0 / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6018, allocations: 0 / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6018, allocations: 0 / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.6019, allocations: 15.98 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.6024, allocations: 292.9 kB / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.6027, allocations: 50.48 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.6027, allocations: 0 / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.6029, allocations: 63.39 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.6029, allocations: 4 kB / 412.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005172/0.6035, allocations: 121.3 kB / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6035, allocations: 51.41 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.6038, allocations: 164.4 kB / 412.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.6038, allocations: 25.7 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.6039, allocations: 170.5 kB / 412.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.6039, allocations: 11.75 kB / 412.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.604, allocations: 11.94 kB / 412.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6041, allocations: 310.8 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.6042, allocations: 27.98 kB / 413.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.6043, allocations: 23.98 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.6044, allocations: 53.64 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6044, allocations: 4 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002765/0.6047, allocations: 119.4 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.6047, allocations: 33.7 kB / 413.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6048, allocations: 0 / 413.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6048, allocations: 0 / 413.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.6049, allocations: 12.05 kB / 413.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6049, allocations: 11.89 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.605, allocations: 8 kB / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.605, allocations: 4 kB / 413.5 MB, free: 12.02 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.0001315/0.6052, allocations: 125.8 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.6052, allocations: 7.906 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.6055, allocations: 85.98 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6055, allocations: 0 / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6055, allocations: 0 / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6055, allocations: 3.953 kB / 413.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.606, allocations: 362.4 kB / 414.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6061, allocations: 0 / 414.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.6061, allocations: 11.98 kB / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6061, allocations: 0 / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6062, allocations: 0 / 414.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.6062, allocations: 3.953 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6062, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.6064, allocations: 179.5 kB / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.6065, allocations: 92.94 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.6066, allocations: 4 kB / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.6067, allocations: 0 / 414.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.6067, allocations: 15.94 kB / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6068, allocations: 0 / 414.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.6069, allocations: 131.8 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.325e-06/0.6069, allocations: 0 / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000379/0.6073, allocations: 35.92 kB / 414.5 MB, free: 10.88 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.001497/0.6088, allocations: 0.9815 MB / 415.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.6092, allocations: 115.4 kB / 415.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6092, allocations: 0 / 415.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.6093, allocations: 23.92 kB / 415.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.6096, allocations: 23.88 kB / 415.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.6106, allocations: 465.4 kB / 416.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.611, allocations: 0.7004 MB / 416.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.6111, allocations: 27.42 kB / 416.9 MB, free: 8.516 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6111, allocations: 0 / 416.9 MB, free: 8.516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.683/3.294, allocations: 2.142 MB / 419 MB, free: 6.379 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat