Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test46",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.01064/0.01064, allocations: 108.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.001188/0.001188, allocations: 179.4 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 1.975/1.975, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2623/0.2623, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005828/0.0005831, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1148, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002396/0.1172, allocations: 1.353 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1188, allocations: 0.7306 MB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1189, allocations: 0 / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1191, allocations: 23.91 kB / 418.1 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1194, allocations: 43.81 kB / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1196, allocations: 59.81 kB / 418.2 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1198, allocations: 63.86 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.1199, allocations: 4 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.12, allocations: 39.84 kB / 418.3 MB, free: 216 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.1201, allocations: 35.84 kB / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1201, allocations: 0 / 418.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1202, allocations: 24 kB / 418.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1203, allocations: 27.89 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.1204, allocations: 45.64 kB / 418.5 MB, free: 76 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1206, allocations: 100 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1207, allocations: 4 kB / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1207, allocations: 0 / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1207, allocations: 0 / 418.6 MB, free: 15.97 MB / 362.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.0006478/0.1213, allocations: 470.1 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1214, allocations: 8.031 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1214, allocations: 30.56 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1215, allocations: 11.91 kB / 419.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1218, allocations: 214.7 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1218, allocations: 4 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1219, allocations: 3.953 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1221, allocations: 57.67 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1221, allocations: 0 / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1221, allocations: 0 / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.1221, allocations: 3.984 kB / 419.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1222, allocations: 19.98 kB / 419.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1227, allocations: 316.8 kB / 419.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.123, allocations: 58.62 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.123, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1232, allocations: 67.52 kB / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 4.028e-06/0.1232, allocations: 0 / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007186/0.124, allocations: 185 kB / 420 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.124, allocations: 59.41 kB / 420.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1244, allocations: 254.4 kB / 420.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1244, allocations: 37.69 kB / 420.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.1245, allocations: 112.1 kB / 420.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1246, allocations: 23.64 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.1246, allocations: 4 kB / 420.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1247, allocations: 330.8 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1248, allocations: 31.98 kB / 420.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.125, allocations: 49.69 kB / 420.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1252, allocations: 65.7 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1252, allocations: 0 / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003772/0.1256, allocations: 163.1 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.1256, allocations: 41.69 kB / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1256, allocations: 32 / 421.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1257, allocations: 4 kB / 421.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1258, allocations: 12.38 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1258, allocations: 4 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1259, allocations: 11.98 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.126, allocations: 4 kB / 421.2 MB, free: 13.1 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.0001466/0.1261, allocations: 141.7 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1262, allocations: 11.81 kB / 421.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.1262, allocations: 17.41 kB / 421.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1262, allocations: 8 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1263, allocations: 3.984 kB / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1263, allocations: 0 / 421.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.1269, allocations: 403.3 kB / 421.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1269, allocations: 0 / 421.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.127, allocations: 8 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.127, allocations: 3.938 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.127, allocations: 7.984 kB / 421.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.127, allocations: 4.031 kB / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.127, allocations: 0 / 421.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1274, allocations: 225.8 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.1275, allocations: 96.91 kB / 422.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1275, allocations: 8 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1276, allocations: 4 kB / 422.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.1277, allocations: 7.984 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1277, allocations: 4 kB / 422.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000239/0.128, allocations: 196.2 kB / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.128, allocations: 0 / 422.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.1284, allocations: 31.98 kB / 422.3 MB, free: 11.84 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.001867/0.1302, allocations: 1.159 MB / 423.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1306, allocations: 147.4 kB / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1306, allocations: 3.938 kB / 423.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1308, allocations: 36 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1311, allocations: 24.11 kB / 423.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1322, allocations: 0.6862 MB / 424.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1326, allocations: 0.716 MB / 425.1 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.1327, allocations: 12.44 kB / 425.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.1328, allocations: 43.41 kB / 425.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1328, allocations: 192 / 425.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1556, allocations: 3.179 MB / 428.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.1558, allocations: 246.2 kB / 428.6 MB, free: 5.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.426, allocations: 0 / 428.6 MB, free: 5.465 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat