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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3645, allocations: 48.7 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5022, allocations: 75.87 MB / 407.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5025, allocations: 71.95 kB / 407.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.52, allocations: 3.971 MB / 411.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5201, allocations: 0 / 411.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.5201, allocations: 0 / 411.3 MB, free: 14.48 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.0006525/0.5207, allocations: 439.7 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5208, allocations: 12.03 kB / 411.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.5209, allocations: 30.56 kB / 411.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.5209, allocations: 7.906 kB / 411.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.5212, allocations: 194.9 kB / 412 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5213, allocations: 4 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.5213, allocations: 7.984 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.5214, allocations: 41.69 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5215, allocations: 0 / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.5215, allocations: 3.938 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5215, allocations: 8 kB / 412 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.5216, allocations: 15.98 kB / 412 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.5221, allocations: 292.8 kB / 412.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.5223, allocations: 38.56 kB / 412.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.5223, allocations: 0 / 412.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.5225, allocations: 71.42 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.5225, allocations: 3.938 kB / 412.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005134/0.5231, allocations: 113.3 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.5231, allocations: 51.41 kB / 412.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5233, allocations: 153.2 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.5234, allocations: 29.7 kB / 412.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.5235, allocations: 158.6 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.5235, allocations: 15.75 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5235, allocations: 4 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5237, allocations: 322.8 kB / 413.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.5238, allocations: 19.98 kB / 413.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.5238, allocations: 23.98 kB / 413.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.524, allocations: 53.69 kB / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.524, allocations: 0 / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000316/0.5243, allocations: 127.4 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.5244, allocations: 33.69 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5244, allocations: 4 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5244, allocations: 8 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.5245, allocations: 8 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.5245, allocations: 3.953 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.5246, allocations: 3.906 kB / 413.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.5246, allocations: 4 kB / 413.5 MB, free: 11.97 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.0001312/0.5248, allocations: 125.8 kB / 413.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.5248, allocations: 7.906 kB / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.5251, allocations: 85.98 kB / 413.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5251, allocations: 4 kB / 413.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5251, allocations: 0 / 413.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5252, allocations: 7.953 kB / 413.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.5256, allocations: 342.6 kB / 414.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5257, allocations: 7.938 kB / 414.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.5257, allocations: 11.98 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.5257, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5258, allocations: 4 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5258, allocations: 3.953 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5258, allocations: 4 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.526, allocations: 167.7 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.5261, allocations: 93 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.5262, allocations: 7.922 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.5263, allocations: 192 / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5263, allocations: 11.94 kB / 414.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.5263, allocations: 11.94 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.5265, allocations: 126 kB / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5265, allocations: 0 / 414.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000368/0.5269, allocations: 31.94 kB / 414.6 MB, free: 10.83 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.001461/0.5284, allocations: 0.9668 MB / 415.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5287, allocations: 119.3 kB / 415.7 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5287, allocations: 0 / 415.7 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.5287, allocations: 16 kB / 415.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.5291, allocations: 23.88 kB / 415.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.53, allocations: 457 kB / 416.1 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5303, allocations: 0.6965 MB / 416.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.5304, allocations: 27.42 kB / 416.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5304, allocations: 0 / 416.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.324, allocations: 2.07 MB / 418.9 MB, free: 6.434 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat