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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.02/2.02, allocations: 209.2 MB / 224.8 MB, free: 304 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004501, allocations: 12 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3599, allocations: 48.71 MB / 331.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.4921, allocations: 75.87 MB / 407.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4925, allocations: 71.95 kB / 407.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01849/0.511, allocations: 4.329 MB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.511, allocations: 0 / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.511, allocations: 4 kB / 411.6 MB, free: 14.03 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.0006168/0.5117, allocations: 452.4 kB / 412.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5117, allocations: 12.03 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.5118, allocations: 38.5 kB / 412.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.5118, allocations: 7.906 kB / 412.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.5122, allocations: 206.8 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5122, allocations: 8 kB / 412.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.5122, allocations: 3.984 kB / 412.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5124, allocations: 41.69 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5124, allocations: 4 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5124, allocations: 0 / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5124, allocations: 0 / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.5125, allocations: 19.98 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.513, allocations: 308.7 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.5133, allocations: 42.56 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5134, allocations: 96 / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.5135, allocations: 63.39 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.988e-06/0.5135, allocations: 4 kB / 412.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005423/0.5141, allocations: 125.2 kB / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.5142, allocations: 55.41 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.5145, allocations: 226.5 kB / 413.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.5146, allocations: 29.7 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.5147, allocations: 174.5 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.5147, allocations: 15.78 kB / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.5148, allocations: 0 / 413.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5149, allocations: 322.8 kB / 413.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.515, allocations: 19.98 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.5151, allocations: 27.97 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5152, allocations: 53.7 kB / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5152, allocations: 0 / 413.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002856/0.5155, allocations: 131.2 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.5155, allocations: 30.33 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5156, allocations: 0 / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5156, allocations: 4 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.5157, allocations: 11.98 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5157, allocations: 4 kB / 414 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.5158, allocations: 4 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.5158, allocations: 3.953 kB / 414 MB, free: 11.38 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.0001526/0.516, allocations: 133.8 kB / 414.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.516, allocations: 11.91 kB / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.5163, allocations: 98.86 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5164, allocations: 4 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5164, allocations: 3.984 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5164, allocations: 7.984 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.5169, allocations: 374.5 kB / 414.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.517, allocations: 0 / 414.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.517, allocations: 11.92 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5171, allocations: 4.094 kB / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5171, allocations: 3.938 kB / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.5171, allocations: 0 / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5171, allocations: 0 / 414.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.5174, allocations: 179.4 kB / 414.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.5175, allocations: 100.9 kB / 415 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.5175, allocations: 0 / 415 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5176, allocations: 8 kB / 415 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.5177, allocations: 3.984 kB / 415 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5177, allocations: 4 kB / 415 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002563/0.518, allocations: 185.1 kB / 415.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.883e-06/0.518, allocations: 0 / 415.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.5184, allocations: 55.86 kB / 415.2 MB, free: 10.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 (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.001463/0.5199, allocations: 0.9767 MB / 416.2 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.5202, allocations: 119.3 kB / 416.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5202, allocations: 0 / 416.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.5203, allocations: 19.98 kB / 416.3 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5206, allocations: 20.16 kB / 416.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5218, allocations: 0.5504 MB / 416.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.5221, allocations: 0.7121 MB / 417.6 MB, free: 7.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5223, allocations: 39.42 kB / 417.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5223, allocations: 0 / 417.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.683/3.206, allocations: 2.529 MB / 420.2 MB, free: 5.117 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat