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.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.5369, allocations: 75.73 MB / 407.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004133/0.5374, allocations: 67.97 kB / 407.2 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03686/0.5743, allocations: 5.495 MB / 412.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5744, allocations: 4 kB / 412.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.887e-05/0.5745, allocations: 4 kB / 412.7 MB, free: 13.01 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.001763/0.5762, allocations: 0.7578 MB / 413.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.5763, allocations: 12.03 kB / 413.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.5764, allocations: 30.56 kB / 413.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5766, allocations: 47.38 kB / 413.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.5781, allocations: 463.1 kB / 414 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.5782, allocations: 4 kB / 414 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.5782, allocations: 4 kB / 414 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.5785, allocations: 67.38 kB / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5785, allocations: 0 / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.5786, allocations: 4 kB / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5786, allocations: 0 / 414 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5788, allocations: 23.92 kB / 414.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.5796, allocations: 378.3 kB / 414.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.5798, allocations: 65.17 kB / 414.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.5799, allocations: 11.88 kB / 414.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/0.5802, allocations: 89.16 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.886e-06/0.5802, allocations: 0 / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007174/0.581, allocations: 145 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.5811, allocations: 81.11 kB / 414.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003014/0.5841, allocations: 0.9197 MB / 415.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.5842, allocations: 29.7 kB / 415.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.5845, allocations: 246.6 kB / 416 MB, free: 9.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.5846, allocations: 23.73 kB / 416 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.5847, allocations: 4 kB / 416 MB, free: 9.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5849, allocations: 318.8 kB / 416.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.5851, allocations: 35.98 kB / 416.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5853, allocations: 57.62 kB / 416.4 MB, free: 8.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.5856, allocations: 103.4 kB / 416.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5856, allocations: 3.938 kB / 416.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006867/0.5863, allocations: 197 kB / 416.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.5865, allocations: 63.41 kB / 416.8 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5865, allocations: 3.938 kB / 416.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.5865, allocations: 0 / 416.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.5867, allocations: 15.98 kB / 416.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5868, allocations: 0 / 416.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.5871, allocations: 8 kB / 416.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.5872, allocations: 4 kB / 416.8 MB, free: 8.535 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0005803/0.5878, allocations: 229.7 kB / 417.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.5881, allocations: 47.44 kB / 417.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.5888, allocations: 157.2 kB / 417.3 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5888, allocations: 4 kB / 417.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5889, allocations: 0 / 417.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5889, allocations: 0 / 417.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007514/0.5896, allocations: 373.3 kB / 417.6 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.5897, allocations: 4 kB / 417.6 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5898, allocations: 11.94 kB / 417.6 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5898, allocations: 0 / 417.6 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5899, allocations: 4 kB / 417.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.5899, allocations: 0 / 417.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.5899, allocations: 0 / 417.6 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005922/0.5905, allocations: 187.1 kB / 417.8 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.5911, allocations: 192.5 kB / 418 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.5912, allocations: 0 / 418 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.5914, allocations: 16.45 kB / 418 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.5915, allocations: 4 kB / 418 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.5916, allocations: 0 / 418 MB, free: 7.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002179/0.5938, allocations: 0.7291 MB / 418.8 MB, free: 6.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5938, allocations: 0 / 418.8 MB, free: 6.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008214/0.5946, allocations: 99.92 kB / 418.9 MB, free: 6.391 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003121/0.5978, allocations: 1.172 MB / 420 MB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.5984, allocations: 206.7 kB / 420.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5984, allocations: 0 / 420.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.5986, allocations: 27.92 kB / 420.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.5993, allocations: 46.53 kB / 420.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.6038, allocations: 1.616 MB / 421.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008181/0.6047, allocations: 0.839 MB / 422.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.6052, allocations: 139.4 kB / 422.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6052, allocations: 4 kB / 422.9 MB, free: 2.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.733/3.339, allocations: 7.961 MB / 430.9 MB, free: 10.3 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat