Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01081/0.01081, allocations: 107.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001637/0.001637, allocations: 179.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.028/2.028, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2593/0.2593, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002446/0.1179, allocations: 1.345 MB / 417.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1196, allocations: 0.7267 MB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.1197, allocations: 0 / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.12, allocations: 27.91 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1202, allocations: 39.81 kB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1204, allocations: 51.83 kB / 418.2 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1206, allocations: 71.84 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.1208, allocations: 7.984 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1209, allocations: 35.86 kB / 418.3 MB, free: 236 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.121, allocations: 27.84 kB / 418.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.121, allocations: 4 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1211, allocations: 27.98 kB / 418.4 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.1212, allocations: 15.92 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.1212, allocations: 33.7 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1215, allocations: 99.95 kB / 418.5 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1215, allocations: 4 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1215, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1215, allocations: 0 / 418.5 MB, free: 16 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006383/0.1222, allocations: 446.4 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1222, allocations: 8.031 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.1223, allocations: 34.56 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.1223, allocations: 19.81 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1226, allocations: 198.9 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.1227, allocations: 8 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1227, allocations: 7.953 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1229, allocations: 57.61 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1229, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1229, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1229, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1231, allocations: 23.98 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1235, allocations: 288.9 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1238, allocations: 70.55 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1238, allocations: 0 / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.124, allocations: 67.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1241, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007511/0.1248, allocations: 181.1 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1249, allocations: 55.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1251, allocations: 187.3 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1252, allocations: 33.7 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.1253, allocations: 104 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1253, allocations: 23.64 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1253, allocations: 7.938 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1255, allocations: 326.8 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1256, allocations: 31.98 kB / 420.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1258, allocations: 53.69 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.126, allocations: 69.64 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.126, allocations: 0 / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003807/0.1264, allocations: 155.3 kB / 420.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.1264, allocations: 40.66 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1264, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1265, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1266, allocations: 19.97 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.1266, allocations: 7.984 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.1267, allocations: 8 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.1268, allocations: 4 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001345/0.1269, allocations: 129.8 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1269, allocations: 15.81 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.127, allocations: 13.48 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.127, allocations: 0 / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.127, allocations: 384 / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.127, allocations: 4 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.1277, allocations: 399.3 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1277, allocations: 8 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.1278, allocations: 11.98 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1278, allocations: 3.938 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1278, allocations: 3.938 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1278, allocations: 4 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1278, allocations: 3.984 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1282, allocations: 214 kB / 421.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.1283, allocations: 96.91 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.1283, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1284, allocations: 3.984 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1285, allocations: 12 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1285, allocations: 4 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.1287, allocations: 148.8 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1287, allocations: 0 / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.1291, allocations: 24 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001834/0.1309, allocations: 1.154 MB / 423.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1313, allocations: 151.3 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.1314, allocations: 7.938 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1315, allocations: 31.92 kB / 423.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1318, allocations: 32.14 kB / 423.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.1328, allocations: 0.6217 MB / 424.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1331, allocations: 0.7082 MB / 424.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.232e-05/0.1332, allocations: 12.42 kB / 424.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.1333, allocations: 35.42 kB / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1334, allocations: 0 / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1599, allocations: 2.901 MB / 427.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003763/0.1604, allocations: 250.3 kB / 428 MB, free: 6.062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.432, allocations: 0 / 428 MB, free: 6.062 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat