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.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006358, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.511, allocations: 48.71 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.7479, allocations: 75.66 MB / 407 MB, free: 2.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/0.7483, allocations: 75.95 kB / 407.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.7704, allocations: 3.889 MB / 411 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7705, allocations: 0 / 411 MB, free: 14.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.7705, allocations: 4 kB / 411 MB, free: 14.67 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006838/0.7712, allocations: 428.5 kB / 411.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.7713, allocations: 12.03 kB / 411.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.7713, allocations: 34.56 kB / 411.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.7714, allocations: 11.84 kB / 411.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.7717, allocations: 194.9 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.7717, allocations: 0 / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.7717, allocations: 4 kB / 411.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.7719, allocations: 41.69 kB / 411.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7719, allocations: 0 / 411.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7719, allocations: 0 / 411.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7719, allocations: 0 / 411.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.772, allocations: 15.98 kB / 411.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.7723, allocations: 193.5 kB / 411.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.7724, allocations: 30.52 kB / 411.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.7724, allocations: 0 / 411.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.7726, allocations: 59.45 kB / 412 MB, free: 13.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.7726, allocations: 0 / 412 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002928/0.7729, allocations: 73.7 kB / 412.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.773, allocations: 55.39 kB / 412.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.7733, allocations: 170.3 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7733, allocations: 33.7 kB / 412.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.7734, allocations: 162.5 kB / 412.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.7735, allocations: 15.89 kB / 412.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.7735, allocations: 0 / 412.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7736, allocations: 314.8 kB / 412.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.7737, allocations: 19.98 kB / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.7738, allocations: 16 kB / 412.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.7739, allocations: 53.64 kB / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.7739, allocations: 0 / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002435/0.7742, allocations: 111.2 kB / 413 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.7742, allocations: 45.56 kB / 413 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7743, allocations: 4 kB / 413 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7743, allocations: 0 / 413 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.7744, allocations: 8 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.7744, allocations: 0 / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.7745, allocations: 4 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.7745, allocations: 4 kB / 413.1 MB, free: 12.36 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 (5): * Single equations (assignments): 4 * 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.0001333/0.7746, allocations: 129.8 kB / 413.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.7747, allocations: 7.906 kB / 413.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.7749, allocations: 69.92 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7749, allocations: 8 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7749, allocations: 8.062 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.775, allocations: 0 / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.7752, allocations: 181.6 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7752, allocations: 3.953 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.7752, allocations: 4 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7752, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.7753, allocations: 4 kB / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7753, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7753, allocations: 0 / 413.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.7755, allocations: 93.02 kB / 413.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.7756, allocations: 100.8 kB / 413.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.7756, allocations: 0 / 413.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.7757, allocations: 7.984 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.7757, allocations: 4 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.7757, allocations: 0 / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.7759, allocations: 156 kB / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.776, allocations: 3.938 kB / 413.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.7763, allocations: 28 kB / 413.9 MB, free: 11.46 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 (4): * Single equations (assignments): 3 * 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.001322/0.7776, allocations: 0.8582 MB / 414.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.7779, allocations: 107.3 kB / 414.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7779, allocations: 0 / 414.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.778, allocations: 12 kB / 414.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.7782, allocations: 17.91 kB / 414.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.7791, allocations: 486 kB / 415.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.7795, allocations: 0.7043 MB / 416 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.7796, allocations: 27.42 kB / 416.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7796, allocations: 0 / 416.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/3.428, allocations: 2.048 MB / 418.1 MB, free: 7.168 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat