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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005979/0.0005981, allocations: 16 kB / 282.7 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3452, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.48, allocations: 75.84 MB / 407.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4803, allocations: 71.97 kB / 407.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.4976, allocations: 3.925 MB / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4977, allocations: 0 / 411.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4977, allocations: 4 kB / 411.2 MB, free: 14.48 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.0005788/0.4983, allocations: 428.7 kB / 411.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4984, allocations: 12.03 kB / 411.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.4984, allocations: 30.56 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.4985, allocations: 7.906 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4988, allocations: 198.8 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4988, allocations: 8 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.4988, allocations: 4 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.499, allocations: 49.66 kB / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.499, allocations: 4 kB / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.499, allocations: 0 / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.499, allocations: 0 / 411.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.4991, allocations: 15.98 kB / 411.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.4996, allocations: 288.8 kB / 412.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.4998, allocations: 42.56 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4999, allocations: 4 kB / 412.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.5, allocations: 67.39 kB / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.5, allocations: 0 / 412.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000489/0.5005, allocations: 121.3 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5006, allocations: 51.41 kB / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5008, allocations: 164.4 kB / 412.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5009, allocations: 25.7 kB / 412.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.501, allocations: 166.5 kB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.501, allocations: 11.81 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.501, allocations: 8 kB / 412.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5011, allocations: 314.8 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.5012, allocations: 23.94 kB / 413.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.5013, allocations: 23.98 kB / 413.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.5014, allocations: 61.72 kB / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5015, allocations: 0 / 413.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002749/0.5017, allocations: 119.3 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.5018, allocations: 38.31 kB / 413.4 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5018, allocations: 4 kB / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5018, allocations: 0 / 413.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.5019, allocations: 8 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5019, allocations: 3.953 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.502, allocations: 4 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.5021, allocations: 8 kB / 413.5 MB, free: 11.97 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.0001265/0.5022, allocations: 121.8 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.5022, allocations: 7.906 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.5025, allocations: 97.98 kB / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5025, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5026, allocations: 0 / 413.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.5026, allocations: 11.94 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.5031, allocations: 354.4 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5031, allocations: 0 / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.5031, allocations: 8 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5032, allocations: 0 / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5032, allocations: 0 / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5032, allocations: 11.89 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5032, allocations: 0 / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.5035, allocations: 175.4 kB / 414.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.5035, allocations: 85.3 kB / 414.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.5036, allocations: 4 kB / 414.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.5037, allocations: 4 kB / 414.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5037, allocations: 15.92 kB / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.5038, allocations: 0 / 414.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.5039, allocations: 135.8 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5039, allocations: 3.938 kB / 414.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.5043, allocations: 31.98 kB / 414.5 MB, free: 10.82 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.001484/0.5058, allocations: 0.9771 MB / 415.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.5061, allocations: 119.4 kB / 415.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5061, allocations: 0 / 415.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.5062, allocations: 19.94 kB / 415.6 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.5066, allocations: 27.81 kB / 415.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.5075, allocations: 469.4 kB / 416.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.5079, allocations: 0.7004 MB / 416.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.508, allocations: 27.38 kB / 416.8 MB, free: 8.449 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.508, allocations: 4 kB / 416.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.254, allocations: 2.131 MB / 419 MB, free: 6.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat