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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006121/0.0006125, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3694, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5178, allocations: 75.88 MB / 407.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5182, allocations: 67.97 kB / 407.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.5363, allocations: 4.031 MB / 411.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.5364, allocations: 3.984 kB / 411.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.5364, allocations: 4 kB / 411.4 MB, free: 14.33 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.000606/0.537, allocations: 428.7 kB / 411.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5371, allocations: 8.031 kB / 411.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.5371, allocations: 34.56 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.5372, allocations: 7.906 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.5375, allocations: 198.9 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.5375, allocations: 0 / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.5375, allocations: 4 kB / 412 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5377, allocations: 53.61 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5377, allocations: 0 / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5377, allocations: 4 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5377, allocations: 0 / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.5378, allocations: 15.98 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.5383, allocations: 284.9 kB / 412.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.5386, allocations: 54.5 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5386, allocations: 0 / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.5388, allocations: 59.39 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.5388, allocations: 0 / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005382/0.5393, allocations: 125.3 kB / 412.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5394, allocations: 55.41 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.5396, allocations: 156.6 kB / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.5397, allocations: 29.7 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.5398, allocations: 162.6 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.5398, allocations: 19.75 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.5398, allocations: 0 / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.54, allocations: 318.8 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.5401, allocations: 20 kB / 413.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.5401, allocations: 27.97 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5403, allocations: 61.66 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5403, allocations: 0 / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000281/0.5406, allocations: 119.4 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.5406, allocations: 41.69 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5406, allocations: 0 / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5407, allocations: 0 / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.5408, allocations: 11.94 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5408, allocations: 3.953 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.5409, allocations: 8 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5409, allocations: 0 / 413.6 MB, free: 11.82 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.000126/0.541, allocations: 125.8 kB / 413.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.5411, allocations: 7.906 kB / 413.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.5413, allocations: 90.27 kB / 413.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5414, allocations: 0 / 413.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5414, allocations: 0 / 413.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5414, allocations: 7.938 kB / 413.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.5419, allocations: 366.5 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5419, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.542, allocations: 4 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.542, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.542, allocations: 12 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.542, allocations: 3.953 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.542, allocations: 0 / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.5423, allocations: 175.4 kB / 414.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.5424, allocations: 85.02 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.5424, allocations: 8 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.5425, allocations: 0 / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5426, allocations: 11.94 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.5426, allocations: 4 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.5428, allocations: 127.8 kB / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.444e-06/0.5428, allocations: 0 / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.5432, allocations: 43.92 kB / 414.7 MB, free: 10.66 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.001502/0.5447, allocations: 0.9702 MB / 415.6 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.545, allocations: 103.4 kB / 415.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5451, allocations: 4 kB / 415.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.5451, allocations: 23.92 kB / 415.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.5455, allocations: 23.88 kB / 415.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.5464, allocations: 473.4 kB / 416.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5468, allocations: 0.7083 MB / 417 MB, free: 8.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.5469, allocations: 23.44 kB / 417 MB, free: 8.305 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5469, allocations: 0 / 417 MB, free: 8.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.173, allocations: 2.139 MB / 419.1 MB, free: 6.172 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat