Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test25",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.01474/0.01474, allocations: 106.9 kB / 15.06 MB, free: 6.035 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.001636/0.001636, allocations: 181.9 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.244/2.244, allocations: 194.5 MB / 211.2 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.2729/0.2729, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 16 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 54.89 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002454/0.1225, allocations: 1.349 MB / 417.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1242, allocations: 0.7189 MB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.1243, allocations: 4 kB / 418.1 MB, free: 468 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1246, allocations: 23.91 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1249, allocations: 39.81 kB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1251, allocations: 55.83 kB / 418.2 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1253, allocations: 59.86 kB / 418.3 MB, free: 288 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.1254, allocations: 7.984 kB / 418.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1255, allocations: 35.86 kB / 418.3 MB, free: 244 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1257, allocations: 39.83 kB / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1257, allocations: 0 / 418.4 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1258, allocations: 24 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.1259, allocations: 15.92 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1259, allocations: 37.7 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1262, allocations: 95.95 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1262, allocations: 0 / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1262, allocations: 0 / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1262, allocations: 0 / 418.5 MB, free: 24 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.0006504/0.1269, allocations: 446.4 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1269, allocations: 12.03 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.127, allocations: 34.56 kB / 419 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.127, allocations: 15.81 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1273, allocations: 194.9 kB / 419.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.1273, allocations: 4 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1274, allocations: 7.953 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1276, allocations: 61.61 kB / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1276, allocations: 0 / 419.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1276, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1277, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1278, allocations: 19.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1282, allocations: 296.9 kB / 419.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1285, allocations: 62.59 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1286, allocations: 7.938 kB / 419.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1288, allocations: 67.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.1288, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007718/0.1296, allocations: 181.1 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1297, allocations: 51.41 kB / 420 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.13, allocations: 191.3 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.13, allocations: 29.7 kB / 420.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.1301, allocations: 104 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.1301, allocations: 27.66 kB / 420.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.1302, allocations: 4 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1303, allocations: 326.7 kB / 420.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1304, allocations: 31.98 kB / 420.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1306, allocations: 49.69 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1307, allocations: 69.64 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1308, allocations: 0 / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003874/0.1312, allocations: 159.3 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.1312, allocations: 37.69 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1312, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1313, allocations: 0 / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1314, allocations: 27.92 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1315, allocations: 0 / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.1315, allocations: 4 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1316, allocations: 4 kB / 421 MB, free: 13.28 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.0001422/0.1317, allocations: 137.8 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1318, allocations: 11.81 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1318, allocations: 13.41 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1318, allocations: 0 / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1319, allocations: 4 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1319, allocations: 0 / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.1325, allocations: 395.3 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1325, allocations: 0 / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.1326, allocations: 16.39 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.1326, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1326, allocations: 7.875 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1327, allocations: 8 kB / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1327, allocations: 0 / 421.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.133, allocations: 214 kB / 421.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.1331, allocations: 100.9 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.1332, allocations: 4 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1333, allocations: 7.984 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.1334, allocations: 4 kB / 421.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.1334, allocations: 4 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1336, allocations: 148.8 kB / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1336, allocations: 0 / 422.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000415/0.134, allocations: 27.98 kB / 422.1 MB, free: 12.09 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.001824/0.1358, allocations: 1.156 MB / 423.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1363, allocations: 151.3 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1363, allocations: 0 / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1364, allocations: 35.86 kB / 423.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1368, allocations: 27.88 kB / 423.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1379, allocations: 0.6218 MB / 424.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1382, allocations: 0.7121 MB / 424.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.594e-05/0.1383, allocations: 12.42 kB / 424.8 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1384, allocations: 35.42 kB / 424.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1384, allocations: 0 / 424.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.1678, allocations: 2.903 MB / 427.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004286/0.1683, allocations: 246.2 kB / 428 MB, free: 6.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.509, allocations: 0 / 428 MB, free: 6.074 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat