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.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4203, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.5778, allocations: 76.1 MB / 407.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5782, allocations: 67.97 kB / 407.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02404/0.6022, allocations: 5.24 MB / 412.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6023, allocations: 0 / 412.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.6023, allocations: 0 / 412.8 MB, free: 12.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000653/0.603, allocations: 435.8 kB / 413.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.603, allocations: 8.031 kB / 413.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.6031, allocations: 30.56 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.6032, allocations: 7.906 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6035, allocations: 198.9 kB / 413.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.6035, allocations: 11.98 kB / 413.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.6035, allocations: 0 / 413.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.6037, allocations: 71.38 kB / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6038, allocations: 0 / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6038, allocations: 0 / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6038, allocations: 0 / 413.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.6039, allocations: 27.98 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.6044, allocations: 300.7 kB / 413.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.6046, allocations: 58.55 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.6047, allocations: 0 / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.6048, allocations: 63.48 kB / 414 MB, free: 11.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.6048, allocations: 7.875 kB / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006217/0.6055, allocations: 141.5 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.6056, allocations: 85.06 kB / 414.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.6058, allocations: 144.9 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.6058, allocations: 25.7 kB / 414.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.6059, allocations: 162.5 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.606, allocations: 19.8 kB / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.606, allocations: 0 / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6062, allocations: 314.8 kB / 414.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/0.6063, allocations: 31.92 kB / 414.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.6064, allocations: 41.7 kB / 414.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.6065, allocations: 57.69 kB / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6065, allocations: 0 / 415 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003367/0.6069, allocations: 139.2 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.6069, allocations: 33.7 kB / 415.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.607, allocations: 0 / 415.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.607, allocations: 0 / 415.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.6071, allocations: 11.98 kB / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6071, allocations: 0 / 415.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.6072, allocations: 7.953 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.6073, allocations: 12.03 kB / 415.2 MB, free: 10.22 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 (8): * Single equations (assignments): 7 * 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.0001416/0.6074, allocations: 117.8 kB / 415.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.6075, allocations: 7.906 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.6078, allocations: 114.4 kB / 415.4 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6078, allocations: 4 kB / 415.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6079, allocations: 0 / 415.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6079, allocations: 96 / 415.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.6085, allocations: 382.5 kB / 415.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6085, allocations: 0 / 415.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6086, allocations: 15.92 kB / 415.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6086, allocations: 0 / 415.8 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.6087, allocations: 8 kB / 415.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6087, allocations: 0 / 415.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6087, allocations: 3.953 kB / 415.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.609, allocations: 183.4 kB / 416 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.6091, allocations: 93 kB / 416.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.6091, allocations: 11.94 kB / 416.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6093, allocations: 0 / 416.1 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.6093, allocations: 15.92 kB / 416.1 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.6093, allocations: 4 kB / 416.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.6095, allocations: 110.1 kB / 416.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.627e-06/0.6095, allocations: 0 / 416.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.61, allocations: 55.86 kB / 416.3 MB, free: 9.02 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 (8): * Single equations (assignments): 7 * 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.001901/0.6119, allocations: 1.071 MB / 417.3 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.6123, allocations: 123.3 kB / 417.5 MB, free: 7.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6123, allocations: 3.938 kB / 417.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.6124, allocations: 28.14 kB / 417.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6128, allocations: 24.03 kB / 417.5 MB, free: 7.816 MB / 346.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.6161, allocations: 1.175 MB / 418.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.6165, allocations: 0.7043 MB / 419.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.6166, allocations: 31.42 kB / 419.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6167, allocations: 0 / 419.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.473, allocations: 2.431 MB / 421.9 MB, free: 3.402 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat