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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.2 MB / 224.8 MB, free: 0.7578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005978, allocations: 12 kB / 282.7 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 48.71 MB / 331.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.4975, allocations: 75.83 MB / 407.2 MB, free: 9.156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4978, allocations: 67.97 kB / 407.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.5159, allocations: 3.978 MB / 411.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.516, allocations: 0 / 411.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.516, allocations: 0 / 411.2 MB, free: 5.129 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.0006411/0.5167, allocations: 435.8 kB / 411.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.5167, allocations: 16.03 kB / 411.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.5168, allocations: 34.55 kB / 411.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.5169, allocations: 7.906 kB / 411.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.5172, allocations: 211.3 kB / 411.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5172, allocations: 3.984 kB / 411.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.5173, allocations: 4 kB / 411.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.5174, allocations: 41.69 kB / 412 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5174, allocations: 0 / 412 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5174, allocations: 0 / 412 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5175, allocations: 3.984 kB / 412 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.5175, allocations: 16 kB / 412 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.518, allocations: 300.7 kB / 412.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5183, allocations: 46.56 kB / 412.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.5183, allocations: 0 / 412.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.5185, allocations: 59.48 kB / 412.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.5185, allocations: 0 / 412.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005762/0.5191, allocations: 125.2 kB / 412.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5192, allocations: 59.34 kB / 412.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.5194, allocations: 165.6 kB / 412.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.5195, allocations: 29.7 kB / 412.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.5196, allocations: 162.5 kB / 412.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.5196, allocations: 19.8 kB / 412.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.5196, allocations: 0 / 412.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5198, allocations: 314.8 kB / 413.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.5199, allocations: 27.92 kB / 413.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.5199, allocations: 23.98 kB / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.5201, allocations: 57.69 kB / 413.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5201, allocations: 0 / 413.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003016/0.5204, allocations: 131.2 kB / 413.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.5204, allocations: 29.7 kB / 413.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.5205, allocations: 4.062 kB / 413.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5205, allocations: 4 kB / 413.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.5206, allocations: 4 kB / 413.5 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.5206, allocations: 8 kB / 413.5 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.5207, allocations: 7.984 kB / 413.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.5207, allocations: 7.953 kB / 413.6 MB, free: 2.566 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.0001511/0.5209, allocations: 121.8 kB / 413.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.5209, allocations: 7.906 kB / 413.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.5212, allocations: 93.91 kB / 413.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5213, allocations: 0 / 413.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5213, allocations: 0 / 413.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5213, allocations: 4 kB / 413.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.5218, allocations: 354.5 kB / 414.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5218, allocations: 96 / 414.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.5219, allocations: 15.92 kB / 414.1 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.5219, allocations: 4.219 kB / 414.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5219, allocations: 4 kB / 414.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5219, allocations: 0 / 414.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.522, allocations: 0 / 414.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5222, allocations: 175.4 kB / 414.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.5223, allocations: 100.9 kB / 414.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5223, allocations: 0 / 414.4 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.5225, allocations: 4 kB / 414.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.5225, allocations: 12.11 kB / 414.4 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.5225, allocations: 4 kB / 414.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.5227, allocations: 145.8 kB / 414.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5227, allocations: 0 / 414.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.5232, allocations: 35.92 kB / 414.6 MB, free: 1.402 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.001547/0.5247, allocations: 0.9739 MB / 415.6 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.5251, allocations: 111.4 kB / 415.7 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5251, allocations: 0 / 415.7 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.5252, allocations: 23.92 kB / 415.7 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.5255, allocations: 15.98 kB / 415.7 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009998/0.5266, allocations: 497.3 kB / 416.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5269, allocations: 0.7004 MB / 416.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.527, allocations: 27.42 kB / 416.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5271, allocations: 0 / 416.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.708/3.235, allocations: 2.214 MB / 419.2 MB, free: 12.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat