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.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004468, allocations: 20 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.483, allocations: 75.87 MB / 407.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4834, allocations: 71.95 kB / 407.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.5018, allocations: 4.035 MB / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.5019, allocations: 0 / 411.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.5019, allocations: 0 / 411.3 MB, free: 14.35 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.000665/0.5026, allocations: 428.6 kB / 411.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5027, allocations: 8.031 kB / 411.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.5027, allocations: 42.55 kB / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.5028, allocations: 11.84 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5032, allocations: 194.9 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5032, allocations: 4 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.5032, allocations: 4 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5034, allocations: 41.69 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5034, allocations: 4 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5034, allocations: 3.984 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5034, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.561e-05/0.5035, allocations: 8 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.504, allocations: 300.8 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.5043, allocations: 42.56 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.5043, allocations: 4 kB / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5045, allocations: 59.39 kB / 412.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.785e-06/0.5045, allocations: 0 / 412.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005546/0.5051, allocations: 125.3 kB / 412.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.5052, allocations: 55.41 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.5054, allocations: 160.8 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.5055, allocations: 33.7 kB / 412.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.5056, allocations: 158.5 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.5056, allocations: 15.81 kB / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.5056, allocations: 0 / 413 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5058, allocations: 326.8 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.5059, allocations: 16 kB / 413.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.506, allocations: 27.92 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.5061, allocations: 49.7 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5061, allocations: 4 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002921/0.5064, allocations: 127.3 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.5065, allocations: 33.7 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5065, allocations: 4 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5065, allocations: 0 / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.5066, allocations: 11.98 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5066, allocations: 3.953 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.5067, allocations: 4 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.5067, allocations: 0 / 413.6 MB, free: 11.83 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.0001563/0.5069, allocations: 125.8 kB / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.507, allocations: 7.906 kB / 413.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.5073, allocations: 93.92 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5073, allocations: 0 / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5073, allocations: 0 / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5073, allocations: 3.953 kB / 413.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.5078, allocations: 366.5 kB / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5079, allocations: 288 / 414.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.5079, allocations: 15.92 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.508, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.508, allocations: 4 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.508, allocations: 3.953 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.508, allocations: 0 / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.5083, allocations: 175.4 kB / 414.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.5084, allocations: 89.02 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.5084, allocations: 0 / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.5085, allocations: 8 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5086, allocations: 7.938 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5086, allocations: 4.094 kB / 414.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.5088, allocations: 131.8 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5088, allocations: 3.938 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006756/0.5095, allocations: 39.98 kB / 414.7 MB, free: 10.67 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.002211/0.5117, allocations: 0.97 MB / 415.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.5121, allocations: 107.4 kB / 415.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5121, allocations: 3.938 kB / 415.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.5122, allocations: 27.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.0003593/0.5126, allocations: 19.94 kB / 415.8 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5136, allocations: 465.3 kB / 416.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.514, allocations: 0.7075 MB / 417 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.5141, allocations: 31.42 kB / 417 MB, free: 8.312 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5141, allocations: 0 / 417 MB, free: 8.312 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/3.09, allocations: 2.137 MB / 419.1 MB, free: 6.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat