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.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004494, allocations: 15.98 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4042, allocations: 48.69 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5383, allocations: 75.72 MB / 407.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5387, allocations: 71.97 kB / 407.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.5559, allocations: 3.838 MB / 411 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.556, allocations: 0 / 411 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.556, allocations: 0 / 411 MB, free: 14.78 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.000571/0.5566, allocations: 431.7 kB / 411.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5566, allocations: 12.03 kB / 411.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.5567, allocations: 30.56 kB / 411.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.5567, allocations: 7.906 kB / 411.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.557, allocations: 190.9 kB / 411.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.557, allocations: 3.984 kB / 411.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5571, allocations: 7.984 kB / 411.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.5572, allocations: 45.62 kB / 411.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5572, allocations: 4 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5572, allocations: 0 / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5573, allocations: 0 / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.5573, allocations: 8 kB / 411.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.5576, allocations: 185.6 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.5577, allocations: 26.58 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5577, allocations: 0 / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.5579, allocations: 67.39 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.5579, allocations: 0 / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002594/0.5582, allocations: 69.58 kB / 412.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5582, allocations: 55.41 kB / 412.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.5584, allocations: 156.5 kB / 412.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5585, allocations: 25.7 kB / 412.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.5586, allocations: 170.5 kB / 412.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.5586, allocations: 7.844 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.557e-06/0.5586, allocations: 8 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5588, allocations: 318.8 kB / 412.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.5589, allocations: 15.98 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.559, allocations: 27.92 kB / 412.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.319e-05/0.5591, allocations: 45.7 kB / 412.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5591, allocations: 0 / 412.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000242/0.5593, allocations: 115.2 kB / 413 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.5594, allocations: 29.7 kB / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5594, allocations: 4 kB / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5594, allocations: 0 / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.5595, allocations: 8 kB / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5596, allocations: 0 / 413 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.5597, allocations: 8 kB / 413 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5597, allocations: 7.984 kB / 413 MB, free: 12.48 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.0001305/0.5598, allocations: 121.8 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.5599, allocations: 3.906 kB / 413.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.5601, allocations: 73.86 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.5601, allocations: 0 / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5601, allocations: 4 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5601, allocations: 0 / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.5603, allocations: 185.6 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5603, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.5604, allocations: 7.984 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5604, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.5604, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5604, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5604, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.5606, allocations: 101.1 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.5607, allocations: 93.05 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.5608, allocations: 4 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.5608, allocations: 0 / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.5609, allocations: 3.984 kB / 413.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5609, allocations: 4 kB / 413.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.5611, allocations: 127.8 kB / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5611, allocations: 0 / 413.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.5614, allocations: 31.88 kB / 413.8 MB, free: 11.64 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.001332/0.5628, allocations: 0.8647 MB / 414.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.5631, allocations: 103.4 kB / 414.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5631, allocations: 0 / 414.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.5631, allocations: 12 kB / 414.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.5634, allocations: 15.98 kB / 414.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.5643, allocations: 449.9 kB / 415.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5646, allocations: 0.7043 MB / 415.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.5647, allocations: 27.42 kB / 415.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5647, allocations: 0 / 415.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.849/3.413, allocations: 1.918 MB / 417.9 MB, free: 7.504 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat