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.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.123/2.123, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007442/0.0007442, allocations: 16 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3574, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.4924, allocations: 75.71 MB / 407.1 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.4927, allocations: 67.97 kB / 407.1 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.5105, allocations: 4.155 MB / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5106, allocations: 0 / 411.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.5106, allocations: 0 / 411.3 MB, free: 14.38 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.0006046/0.5112, allocations: 443.4 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5113, allocations: 8.031 kB / 411.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.5114, allocations: 30.56 kB / 411.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.5114, allocations: 15.81 kB / 411.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.5118, allocations: 210.8 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5118, allocations: 3.984 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.5118, allocations: 8 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5119, allocations: 37.69 kB / 412 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.512, allocations: 0 / 412 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.512, allocations: 4 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.512, allocations: 0 / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.5121, allocations: 8 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.5123, allocations: 193.6 kB / 412.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.5125, allocations: 38.5 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.5125, allocations: 3.938 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5127, allocations: 51.47 kB / 412.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.5127, allocations: 0 / 412.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002727/0.5129, allocations: 77.48 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.513, allocations: 59.34 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.5134, allocations: 218.6 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5134, allocations: 29.7 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.5135, allocations: 170.6 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.5136, allocations: 7.906 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5136, allocations: 0 / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5137, allocations: 314.8 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.5138, allocations: 19.98 kB / 413.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.5139, allocations: 19.98 kB / 413.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.514, allocations: 49.66 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.514, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002498/0.5143, allocations: 111.4 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.5143, allocations: 37.7 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5143, allocations: 0 / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5144, allocations: 3.938 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.5145, allocations: 7.938 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5145, allocations: 0 / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.5146, allocations: 15.84 kB / 413.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5146, allocations: 7.984 kB / 413.5 MB, free: 11.96 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.0001437/0.5148, allocations: 133.8 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.5148, allocations: 7.906 kB / 413.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.515, allocations: 78.8 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5151, allocations: 48 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.5151, allocations: 3.984 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5151, allocations: 4 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.5153, allocations: 193.7 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5153, allocations: 7.953 kB / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.5154, allocations: 3.938 kB / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.5154, allocations: 4 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5154, allocations: 3.984 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5154, allocations: 0 / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5154, allocations: 4 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.5156, allocations: 89.03 kB / 414 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.5157, allocations: 108.8 kB / 414.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.5158, allocations: 0 / 414.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.5158, allocations: 4 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.5159, allocations: 4 kB / 414.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5159, allocations: 3.984 kB / 414.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002619/0.5162, allocations: 189.1 kB / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5162, allocations: 0 / 414.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.5166, allocations: 31.94 kB / 414.3 MB, free: 11 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.00132/0.5179, allocations: 0.8588 MB / 415.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.5182, allocations: 103.4 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5182, allocations: 3.938 kB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.5183, allocations: 15.94 kB / 415.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5186, allocations: 16.17 kB / 415.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.5196, allocations: 0.5273 MB / 415.8 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.52, allocations: 0.716 MB / 416.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5201, allocations: 31.42 kB / 416.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5201, allocations: 0 / 416.6 MB, free: 8.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.385, allocations: 2.307 MB / 418.9 MB, free: 6.387 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat