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.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.025/2.025, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4789, allocations: 75.7 MB / 407.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.4793, allocations: 71.95 kB / 407.1 MB, free: 2.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.4965, allocations: 3.838 MB / 411 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4965, allocations: 0 / 411 MB, free: 14.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4966, allocations: 4 kB / 411 MB, free: 14.82 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.0005805/0.4971, allocations: 424.6 kB / 411.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4972, allocations: 8.031 kB / 411.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.4973, allocations: 30.56 kB / 411.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.4973, allocations: 11.91 kB / 411.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4976, allocations: 194.8 kB / 411.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4977, allocations: 4 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.4977, allocations: 3.984 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4978, allocations: 45.67 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4978, allocations: 0 / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4979, allocations: 0 / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4979, allocations: 0 / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.4979, allocations: 12 kB / 411.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.4982, allocations: 189.6 kB / 411.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.4983, allocations: 26.52 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4983, allocations: 4 kB / 411.9 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.4985, allocations: 59.45 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.4985, allocations: 0 / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002486/0.4987, allocations: 69.58 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4988, allocations: 59.34 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4991, allocations: 160.6 kB / 412.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4991, allocations: 25.7 kB / 412.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.4992, allocations: 158.6 kB / 412.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.4992, allocations: 15.83 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.4992, allocations: 0 / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4994, allocations: 318.8 kB / 412.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.4995, allocations: 19.98 kB / 412.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.953e-05/0.4995, allocations: 20 kB / 412.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.4996, allocations: 49.69 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4997, allocations: 0 / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002364/0.4999, allocations: 107.3 kB / 413 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/0.5, allocations: 41.69 kB / 413 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5, allocations: 3.938 kB / 413 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5, allocations: 0 / 413 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.5001, allocations: 7.938 kB / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.5001, allocations: 0 / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.5002, allocations: 4 kB / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.5002, allocations: 8 kB / 413 MB, free: 12.54 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.0001248/0.5004, allocations: 125.8 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.5004, allocations: 7.906 kB / 413.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.5006, allocations: 65.92 kB / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5006, allocations: 4 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5006, allocations: 0 / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5007, allocations: 0 / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.5008, allocations: 181.6 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5009, allocations: 0 / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.5009, allocations: 15.92 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5009, allocations: 0 / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.5009, allocations: 0 / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.501, allocations: 4.125 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.501, allocations: 4 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.5012, allocations: 93.22 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.481e-05/0.5012, allocations: 93.03 kB / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.5013, allocations: 0 / 413.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.5013, allocations: 4 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5014, allocations: 4 kB / 413.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5014, allocations: 3.984 kB / 413.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.5016, allocations: 131.8 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5016, allocations: 0 / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.5019, allocations: 31.94 kB / 413.8 MB, free: 11.68 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.001316/0.5033, allocations: 0.8605 MB / 414.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.5035, allocations: 103.4 kB / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5035, allocations: 0 / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.5036, allocations: 15.94 kB / 414.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5039, allocations: 19.92 kB / 414.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.5047, allocations: 453.9 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.505, allocations: 0.6965 MB / 415.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.5051, allocations: 27.42 kB / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of SimCode: time 3.887e-06/0.5051, allocations: 0 / 415.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.296, allocations: 1.914 MB / 417.8 MB, free: 7.559 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat