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.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000598/0.0005981, allocations: 16 kB / 282.7 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1202, allocations: 48.7 MB / 331.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.5174, allocations: 75.86 MB / 407.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5178, allocations: 75.89 kB / 407.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.536, allocations: 4.023 MB / 411.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.536, allocations: 0 / 411.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5361, allocations: 4 kB / 411.3 MB, free: 5.062 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.0006452/0.5367, allocations: 427.4 kB / 411.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.5368, allocations: 16.02 kB / 411.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.5369, allocations: 30.56 kB / 411.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.5369, allocations: 7.906 kB / 411.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.5372, allocations: 202.8 kB / 412 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.5373, allocations: 8 kB / 412 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.5373, allocations: 0 / 412 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5375, allocations: 49.67 kB / 412.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5375, allocations: 0 / 412.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5375, allocations: 0 / 412.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5375, allocations: 0 / 412.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.5376, allocations: 19.94 kB / 412.1 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.5381, allocations: 280.9 kB / 412.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.5384, allocations: 50.5 kB / 412.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5384, allocations: 4 kB / 412.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.5386, allocations: 63.39 kB / 412.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.5386, allocations: 0 / 412.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005275/0.5391, allocations: 121.5 kB / 412.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5392, allocations: 55.41 kB / 412.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.5394, allocations: 164.6 kB / 412.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.5395, allocations: 25.7 kB / 412.8 MB, free: 3.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.5396, allocations: 162.6 kB / 413 MB, free: 3.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5396, allocations: 11.75 kB / 413 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5396, allocations: 8 kB / 413 MB, free: 3.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5398, allocations: 318.8 kB / 413.3 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.5399, allocations: 20 kB / 413.3 MB, free: 2.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.54, allocations: 31.91 kB / 413.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.5401, allocations: 57.7 kB / 413.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5401, allocations: 3.984 kB / 413.4 MB, free: 2.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002813/0.5404, allocations: 115.5 kB / 413.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.5405, allocations: 41.62 kB / 413.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5405, allocations: 0 / 413.6 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5405, allocations: 3.984 kB / 413.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.5406, allocations: 11.95 kB / 413.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5406, allocations: 0 / 413.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.5407, allocations: 4 kB / 413.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5407, allocations: 8 kB / 413.6 MB, free: 2.543 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.0001345/0.5409, allocations: 125.8 kB / 413.7 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.5409, allocations: 7.906 kB / 413.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.5412, allocations: 93.98 kB / 413.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5413, allocations: 0 / 413.8 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.5413, allocations: 3.953 kB / 413.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5413, allocations: 0 / 413.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.5418, allocations: 358.4 kB / 414.2 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5418, allocations: 4 kB / 414.2 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.5419, allocations: 8 kB / 414.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5419, allocations: 0 / 414.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5419, allocations: 3.953 kB / 414.2 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.542, allocations: 0 / 414.2 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.542, allocations: 3.938 kB / 414.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.5422, allocations: 175.4 kB / 414.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.5423, allocations: 85.11 kB / 414.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.5424, allocations: 11.94 kB / 414.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.5425, allocations: 7.953 kB / 414.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5425, allocations: 7.984 kB / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5425, allocations: 0 / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.5427, allocations: 131.8 kB / 414.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.635e-06/0.5427, allocations: 0 / 414.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.5431, allocations: 35.92 kB / 414.6 MB, free: 1.395 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.001517/0.5446, allocations: 0.9778 MB / 415.6 MB, free: 484 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.545, allocations: 111.4 kB / 415.7 MB, free: 360 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.545, allocations: 0 / 415.7 MB, free: 360 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.5451, allocations: 27.92 kB / 415.8 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.5454, allocations: 19.94 kB / 415.8 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.5464, allocations: 465.4 kB / 416.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5468, allocations: 0.7043 MB / 416.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.5469, allocations: 23.44 kB / 417 MB, free: 15.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.113e-06/0.5469, allocations: 3.938 kB / 417 MB, free: 15.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.158, allocations: 2.146 MB / 419.1 MB, free: 12.9 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat