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.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.081/2.081, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004393, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4197, allocations: 48.7 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5586, allocations: 75.86 MB / 407.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.559, allocations: 67.97 kB / 407.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.5769, allocations: 4.098 MB / 411.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.429e-06/0.577, allocations: 3.984 kB / 411.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.577, allocations: 8 kB / 411.4 MB, free: 14.37 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.0006055/0.5776, allocations: 432.7 kB / 411.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5777, allocations: 8.031 kB / 411.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.5777, allocations: 34.56 kB / 411.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.5778, allocations: 7.906 kB / 411.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.5781, allocations: 203.4 kB / 412.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5781, allocations: 0 / 412.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5782, allocations: 7.938 kB / 412.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5783, allocations: 49.67 kB / 412.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5784, allocations: 0 / 412.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5784, allocations: 4 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5784, allocations: 0 / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.5785, allocations: 15.98 kB / 412.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.579, allocations: 292.8 kB / 412.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.5792, allocations: 50.48 kB / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.5792, allocations: 4 kB / 412.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.5794, allocations: 55.5 kB / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.5794, allocations: 0 / 412.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005739/0.58, allocations: 121.3 kB / 412.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5801, allocations: 51.41 kB / 412.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.5803, allocations: 169.6 kB / 412.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.5804, allocations: 25.7 kB / 412.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.5805, allocations: 174.5 kB / 413.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.5805, allocations: 11.81 kB / 413.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.5805, allocations: 0 / 413.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5807, allocations: 322.8 kB / 413.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.5808, allocations: 19.98 kB / 413.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.5809, allocations: 23.98 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.581, allocations: 57.67 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.581, allocations: 0 / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002775/0.5813, allocations: 127.3 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.5813, allocations: 41.7 kB / 413.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5814, allocations: 0 / 413.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5814, allocations: 0 / 413.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.5815, allocations: 19.98 kB / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5815, allocations: 0 / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.5816, allocations: 4 kB / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.5816, allocations: 7.953 kB / 413.7 MB, free: 11.82 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.0001315/0.5817, allocations: 121.8 kB / 413.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5818, allocations: 7.906 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.5821, allocations: 89.98 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5821, allocations: 4 kB / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5821, allocations: 288 / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5821, allocations: 0 / 413.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.5826, allocations: 366.4 kB / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5827, allocations: 0 / 414.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.5827, allocations: 7.984 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5827, allocations: 4 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5828, allocations: 4 kB / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5828, allocations: 0 / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5828, allocations: 0 / 414.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.583, allocations: 183.3 kB / 414.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.5831, allocations: 92.92 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.5832, allocations: 0 / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.5833, allocations: 0 / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5833, allocations: 11.98 kB / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.5834, allocations: 8 kB / 414.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.5835, allocations: 142.4 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5836, allocations: 0 / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.584, allocations: 39.88 kB / 414.8 MB, free: 10.66 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.001526/0.5855, allocations: 0.9775 MB / 415.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.5858, allocations: 111.4 kB / 415.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5859, allocations: 0 / 415.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.5859, allocations: 23.94 kB / 415.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.5863, allocations: 11.92 kB / 415.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.5873, allocations: 497.3 kB / 416.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.5877, allocations: 0.7082 MB / 417.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.5878, allocations: 27.44 kB / 417.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5878, allocations: 0 / 417.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.697/3.285, allocations: 2.206 MB / 419.3 MB, free: 6.074 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat