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.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005971/0.0005972, allocations: 15.94 kB / 282.7 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1055, allocations: 48.7 MB / 331.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.5752, allocations: 75.83 MB / 407.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.5755, allocations: 67.97 kB / 407.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.5931, allocations: 3.94 MB / 411.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5931, allocations: 0 / 411.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5931, allocations: 0 / 411.2 MB, free: 5.199 MB / 330.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.0006165/0.5938, allocations: 432.7 kB / 411.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5938, allocations: 12.02 kB / 411.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.5939, allocations: 30.56 kB / 411.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.5939, allocations: 7.906 kB / 411.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.5942, allocations: 209.6 kB / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5943, allocations: 0 / 411.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.5943, allocations: 7.984 kB / 411.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5944, allocations: 45.67 kB / 411.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5945, allocations: 4 kB / 411.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5945, allocations: 0 / 411.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5945, allocations: 0 / 411.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.956e-05/0.5946, allocations: 19.95 kB / 412 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.5951, allocations: 284.9 kB / 412.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.5953, allocations: 46.5 kB / 412.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.5954, allocations: 0 / 412.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.5955, allocations: 67.39 kB / 412.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.5955, allocations: 0 / 412.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000521/0.5961, allocations: 125.3 kB / 412.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.5961, allocations: 51.41 kB / 412.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.5964, allocations: 160.6 kB / 412.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5964, allocations: 29.7 kB / 412.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.5965, allocations: 162.5 kB / 412.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.5965, allocations: 19.81 kB / 412.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5966, allocations: 0 / 412.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5967, allocations: 314.8 kB / 413.2 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.5968, allocations: 23.94 kB / 413.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.5969, allocations: 27.92 kB / 413.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.597, allocations: 53.7 kB / 413.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.597, allocations: 0 / 413.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002884/0.5973, allocations: 127.4 kB / 413.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.5974, allocations: 33.69 kB / 413.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5974, allocations: 0 / 413.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.158e-05/0.5974, allocations: 8 kB / 413.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.5975, allocations: 11.89 kB / 413.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5976, allocations: 4 kB / 413.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.5976, allocations: 4 kB / 413.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.5977, allocations: 4 kB / 413.5 MB, free: 2.676 MB / 330.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.0001291/0.5978, allocations: 121.8 kB / 413.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.5979, allocations: 7.906 kB / 413.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.5981, allocations: 94.05 kB / 413.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5982, allocations: 4 kB / 413.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.5982, allocations: 7.891 kB / 413.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5982, allocations: 0 / 413.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.5987, allocations: 354.4 kB / 414.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5987, allocations: 0 / 414.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.5988, allocations: 8 kB / 414.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5988, allocations: 0 / 414.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5988, allocations: 11.95 kB / 414.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5988, allocations: 0 / 414.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.5988, allocations: 4.281 kB / 414.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.5991, allocations: 175.4 kB / 414.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.5992, allocations: 89 kB / 414.3 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.5992, allocations: 4.094 kB / 414.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.5993, allocations: 11.89 kB / 414.4 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5994, allocations: 3.984 kB / 414.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.5994, allocations: 4 kB / 414.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.5995, allocations: 131.8 kB / 414.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5996, allocations: 3.938 kB / 414.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.5999, allocations: 39.98 kB / 414.5 MB, free: 1.516 MB / 330.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.001445/0.6014, allocations: 0.9772 MB / 415.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.6017, allocations: 103.4 kB / 415.6 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6017, allocations: 0 / 415.6 MB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.6018, allocations: 23.92 kB / 415.6 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.6022, allocations: 23.88 kB / 415.7 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.6031, allocations: 469.4 kB / 416.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6034, allocations: 0.7043 MB / 416.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.6035, allocations: 19.44 kB / 416.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6036, allocations: 4 kB / 416.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.722/3.325, allocations: 2.142 MB / 419 MB, free: 13.03 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat