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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 12 kB / 282.7 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 48.7 MB / 331.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.489, allocations: 75.81 MB / 407.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4893, allocations: 71.95 kB / 407.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.5066, allocations: 3.85 MB / 411.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5066, allocations: 0 / 411.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5067, allocations: 0 / 411.1 MB, free: 5.418 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.0006114/0.5073, allocations: 424.7 kB / 411.5 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5073, allocations: 16.03 kB / 411.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.5074, allocations: 30.56 kB / 411.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.5075, allocations: 4 kB / 411.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.5077, allocations: 198.8 kB / 411.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5078, allocations: 0 / 411.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.5078, allocations: 8 kB / 411.8 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5079, allocations: 45.62 kB / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.508, allocations: 0 / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.508, allocations: 0 / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.508, allocations: 0 / 411.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.5081, allocations: 19.98 kB / 411.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.5085, allocations: 292.8 kB / 412.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.5088, allocations: 42.5 kB / 412.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.5088, allocations: 4 kB / 412.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.509, allocations: 51.5 kB / 412.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.509, allocations: 4 kB / 412.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004975/0.5095, allocations: 117.4 kB / 412.3 MB, free: 4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5096, allocations: 55.36 kB / 412.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.5098, allocations: 141 kB / 412.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.5098, allocations: 25.7 kB / 412.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.5099, allocations: 166.5 kB / 412.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.51, allocations: 15.81 kB / 412.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.51, allocations: 4 kB / 412.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5101, allocations: 318.8 kB / 413 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.5102, allocations: 23.98 kB / 413.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.5103, allocations: 19.98 kB / 413.1 MB, free: 3.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.5104, allocations: 57.73 kB / 413.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5104, allocations: 0 / 413.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002867/0.5107, allocations: 131.2 kB / 413.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.5108, allocations: 33.7 kB / 413.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5108, allocations: 0 / 413.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5108, allocations: 0 / 413.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.5109, allocations: 11.98 kB / 413.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5109, allocations: 4 kB / 413.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.511, allocations: 7.953 kB / 413.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.511, allocations: 4 kB / 413.3 MB, free: 2.938 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.0001125/0.5112, allocations: 120.5 kB / 413.5 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.5112, allocations: 7.906 kB / 413.5 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.5115, allocations: 94.03 kB / 413.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5115, allocations: 0 / 413.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5115, allocations: 288 / 413.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.5115, allocations: 8 kB / 413.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.512, allocations: 342.5 kB / 413.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.512, allocations: 0 / 413.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.5121, allocations: 15.97 kB / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5121, allocations: 0 / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5121, allocations: 0 / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5121, allocations: 0 / 413.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5121, allocations: 3.953 kB / 413.9 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.5124, allocations: 183.4 kB / 414.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.5125, allocations: 85.02 kB / 414.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.5125, allocations: 0 / 414.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.5126, allocations: 8 kB / 414.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.5127, allocations: 7.938 kB / 414.2 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5127, allocations: 4 kB / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.5128, allocations: 111.6 kB / 414.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.214e-06/0.5129, allocations: 0 / 414.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.5132, allocations: 47.86 kB / 414.4 MB, free: 1.824 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.001481/0.5147, allocations: 0.9721 MB / 415.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.515, allocations: 115.4 kB / 415.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5151, allocations: 0 / 415.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.5151, allocations: 16 kB / 415.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5155, allocations: 23.86 kB / 415.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.5164, allocations: 445.2 kB / 415.9 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5167, allocations: 0.6965 MB / 416.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.5168, allocations: 27.42 kB / 416.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5168, allocations: 0 / 416.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.648/3.165, allocations: 2.005 MB / 418.6 MB, free: 13.5 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat