Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test45",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.01094/0.01095, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001198/0.001199, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.006/2.006, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2677/0.2677, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006902, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1164, allocations: 54.88 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002563/0.119, allocations: 1.349 MB / 417.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.121, allocations: 0.7228 MB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1212, allocations: 4 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1216, allocations: 19.92 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.1219, allocations: 39.81 kB / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1222, allocations: 55.81 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1224, allocations: 67.86 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1226, allocations: 4 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1227, allocations: 39.84 kB / 418.3 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1229, allocations: 31.84 kB / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1229, allocations: 0 / 418.4 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1231, allocations: 24 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1232, allocations: 23.91 kB / 418.4 MB, free: 136 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.646e-05/0.1232, allocations: 37.64 kB / 418.4 MB, free: 92 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1235, allocations: 88.03 kB / 418.5 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1235, allocations: 4 kB / 418.5 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1236, allocations: 0 / 418.5 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1236, allocations: 0 / 418.5 MB, free: 0 / 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.0008111/0.1244, allocations: 446.4 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/0.1245, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.1246, allocations: 34.56 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.1246, allocations: 15.81 kB / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.125, allocations: 198.9 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.125, allocations: 4 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1251, allocations: 23.88 kB / 419.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1253, allocations: 53.61 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1253, allocations: 0 / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1254, allocations: 4 kB / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1254, allocations: 0 / 419.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1255, allocations: 19.98 kB / 419.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.1261, allocations: 292.9 kB / 419.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1264, allocations: 66.55 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1265, allocations: 4.125 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.1267, allocations: 63.39 kB / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.1268, allocations: 0 / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008938/0.1277, allocations: 189.1 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1277, allocations: 55.41 kB / 420 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.128, allocations: 187.3 kB / 420.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1281, allocations: 33.7 kB / 420.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.1282, allocations: 104 kB / 420.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1282, allocations: 23.66 kB / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/0.1283, allocations: 0 / 420.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1284, allocations: 326.8 kB / 420.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1286, allocations: 31.98 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1288, allocations: 53.69 kB / 420.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1289, allocations: 65.64 kB / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.129, allocations: 0 / 420.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004488/0.1294, allocations: 155.3 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.1295, allocations: 41.69 kB / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1295, allocations: 0 / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1296, allocations: 0 / 421 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1297, allocations: 23.95 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1298, allocations: 4 kB / 421 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1299, allocations: 4 kB / 421 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1299, allocations: 4 kB / 421 MB, free: 13.25 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.0001771/0.1301, allocations: 133.8 kB / 421.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1301, allocations: 11.81 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.1302, allocations: 13.41 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1302, allocations: 0 / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1302, allocations: 0 / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1303, allocations: 8 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.131, allocations: 399.3 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1311, allocations: 0 / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1311, allocations: 11.98 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.1312, allocations: 7.969 kB / 421.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1312, allocations: 3.938 kB / 421.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.1312, allocations: 4 kB / 421.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1312, allocations: 0 / 421.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.1316, allocations: 214 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1317, allocations: 96.91 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1318, allocations: 4 kB / 421.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1319, allocations: 7.984 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.132, allocations: 4 kB / 421.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.132, allocations: 8 kB / 421.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.1322, allocations: 148.8 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1322, allocations: 0 / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006519/0.1329, allocations: 27.98 kB / 422.1 MB, free: 12.07 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.002093/0.135, allocations: 1.157 MB / 423.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.1355, allocations: 147.3 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1355, allocations: 3.938 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1356, 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.0003563/0.136, allocations: 28.34 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.001023/0.1371, allocations: 0.6333 MB / 424.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1374, allocations: 0.7043 MB / 424.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.1375, allocations: 12.42 kB / 424.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.1376, allocations: 31.42 kB / 424.8 MB, free: 9.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1376, allocations: 4 kB / 424.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.164, allocations: 2.904 MB / 427.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.1643, allocations: 246.2 kB / 428 MB, free: 6.051 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.445, allocations: 0 / 428 MB, free: 6.051 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat