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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004317, allocations: 12 kB / 282.7 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 48.7 MB / 331.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.525, allocations: 75.87 MB / 407.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5253, allocations: 71.95 kB / 407.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02815/0.5535, allocations: 4.077 MB / 411.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.5536, allocations: 0 / 411.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.5536, allocations: 0 / 411.4 MB, free: 5.145 MB / 330.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.0008959/0.5545, allocations: 436.7 kB / 411.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/0.5546, allocations: 12.03 kB / 411.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.5547, allocations: 34.5 kB / 411.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.5548, allocations: 7.906 kB / 411.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.5553, allocations: 203.4 kB / 412.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.5553, allocations: 7.984 kB / 412.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.5554, allocations: 4 kB / 412.1 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.5556, allocations: 41.69 kB / 412.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5556, allocations: 4 kB / 412.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5557, allocations: 0 / 412.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5557, allocations: 0 / 412.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.5558, allocations: 15.98 kB / 412.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.5565, allocations: 300.7 kB / 412.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.5569, allocations: 42.56 kB / 412.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.557, allocations: 8 kB / 412.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5572, allocations: 63.41 kB / 412.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.188e-06/0.5573, allocations: 0 / 412.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008136/0.5581, allocations: 109.4 kB / 412.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.5582, allocations: 59.36 kB / 412.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.5586, allocations: 172.9 kB / 412.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.5587, allocations: 29.64 kB / 412.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.5588, allocations: 170.4 kB / 413.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.5589, allocations: 15.81 kB / 413.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.5589, allocations: 4 kB / 413.1 MB, free: 3.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5591, allocations: 314.8 kB / 413.4 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5593, allocations: 20 kB / 413.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5594, allocations: 27.92 kB / 413.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.5596, allocations: 57.69 kB / 413.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5597, allocations: 0 / 413.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004723/0.5601, allocations: 127.2 kB / 413.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.5602, allocations: 33.69 kB / 413.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5603, allocations: 4 kB / 413.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.5603, allocations: 0 / 413.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5605, allocations: 8 kB / 413.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.5605, allocations: 4 kB / 413.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.5606, allocations: 3.953 kB / 413.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.5607, allocations: 12.06 kB / 413.7 MB, free: 2.59 MB / 330.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.0002041/0.5609, allocations: 124.6 kB / 413.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.561, allocations: 11.91 kB / 413.8 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.5614, allocations: 93.92 kB / 413.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5615, allocations: 0 / 413.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5615, allocations: 0 / 413.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5615, allocations: 3.984 kB / 413.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/0.5623, allocations: 354.5 kB / 414.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5623, allocations: 0 / 414.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.5625, allocations: 11.94 kB / 414.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5625, allocations: 0 / 414.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5625, allocations: 4 kB / 414.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5626, allocations: 11.98 kB / 414.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.5626, allocations: 3.953 kB / 414.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.563, allocations: 167.5 kB / 414.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5631, allocations: 88.92 kB / 414.5 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.5632, allocations: 7.984 kB / 414.5 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.5633, allocations: 4 kB / 414.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.5634, allocations: 7.953 kB / 414.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.5635, allocations: 4.094 kB / 414.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.5638, allocations: 145.6 kB / 414.7 MB, free: 1.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.5638, allocations: 7.938 kB / 414.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006381/0.5645, allocations: 31.92 kB / 414.7 MB, free: 1.426 MB / 330.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.002388/0.5669, allocations: 0.9758 MB / 415.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.5673, allocations: 115.3 kB / 415.8 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5674, allocations: 3.938 kB / 415.8 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5675, allocations: 19.98 kB / 415.9 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.568, allocations: 19.92 kB / 415.9 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.5695, allocations: 497.3 kB / 416.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.5701, allocations: 0.7004 MB / 417.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5702, allocations: 31.42 kB / 417.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5703, allocations: 0 / 417.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.371, allocations: 2.196 MB / 419.3 MB, free: 12.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat