Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test13",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.01098/0.01098, allocations: 107 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.001231/0.001231, allocations: 179.7 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.06/2.06, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.2762/0.2762, allocations: 40.03 MB / 296.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 12 kB / 361.2 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002808/0.1192, allocations: 1.51 MB / 417.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.121, allocations: 0.7461 MB / 418.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1211, allocations: 3.938 kB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1214, allocations: 27.89 kB / 418.3 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1217, allocations: 31.89 kB / 418.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.122, allocations: 67.8 kB / 418.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1222, allocations: 79.84 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1224, allocations: 25.44 kB / 418.5 MB, free: 64 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1225, allocations: 47.77 kB / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1226, allocations: 35.91 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1227, allocations: 4 kB / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1228, allocations: 27.81 kB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1229, allocations: 23.91 kB / 418.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.1229, allocations: 49.64 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1232, allocations: 96.06 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1232, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1232, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1232, allocations: 0 / 418.8 MB, free: 15.78 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007954/0.124, allocations: 0.4921 MB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1241, allocations: 8.031 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.1242, allocations: 38.55 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1242, allocations: 15.91 kB / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1245, allocations: 211.5 kB / 419.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1246, allocations: 4 kB / 419.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1246, allocations: 19.94 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.1249, allocations: 73.66 kB / 419.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.125, allocations: 0 / 419.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.125, allocations: 11.98 kB / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.125, allocations: 0 / 419.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1252, allocations: 51.97 kB / 419.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.1259, allocations: 356.5 kB / 420.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.1264, allocations: 94.66 kB / 420.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1265, allocations: 0 / 420.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.1268, allocations: 87.31 kB / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.1268, allocations: 0 / 420.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006101/0.1274, allocations: 153.4 kB / 420.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.1275, allocations: 51.41 kB / 420.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1277, allocations: 175.3 kB / 420.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.1278, allocations: 25.7 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.1279, allocations: 108 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.1279, allocations: 27.56 kB / 420.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.128, allocations: 8 kB / 420.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1281, allocations: 330.8 kB / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.1283, allocations: 39.92 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1285, allocations: 65.45 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1287, allocations: 81.81 kB / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1288, allocations: 0 / 421.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005222/0.1293, allocations: 175.2 kB / 421.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.1294, allocations: 37.69 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1294, allocations: 0 / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1294, allocations: 4 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.1296, allocations: 20.06 kB / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1296, allocations: 3.984 kB / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1297, allocations: 19.84 kB / 421.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1298, allocations: 8 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001505/0.1299, allocations: 129.7 kB / 421.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.13, allocations: 15.81 kB / 421.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.13, allocations: 13.41 kB / 421.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1301, allocations: 4 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1301, allocations: 4 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1301, allocations: 0 / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.1303, allocations: 205.7 kB / 421.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1304, allocations: 0 / 421.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1305, allocations: 12 kB / 421.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1305, allocations: 0 / 421.9 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.1306, allocations: 11.98 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1306, allocations: 4 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1306, allocations: 0 / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.1312, allocations: 193.2 kB / 422.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1313, allocations: 97.03 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1314, allocations: 3.938 kB / 422.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1315, allocations: 11.98 kB / 422.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1316, allocations: 12.05 kB / 422.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.1316, allocations: 4 kB / 422.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1318, allocations: 128.9 kB / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1318, allocations: 0 / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.1321, allocations: 32.12 kB / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001917/0.134, allocations: 1.013 MB / 423.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.1346, allocations: 167.3 kB / 423.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1346, allocations: 0 / 423.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1348, allocations: 48.03 kB / 423.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1351, allocations: 28.05 kB / 423.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1363, allocations: 0.8121 MB / 424.5 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1367, allocations: 0.7121 MB / 425.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1368, allocations: 12.55 kB / 425.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1369, allocations: 39.42 kB / 425.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1369, allocations: 0 / 425.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.165, allocations: 3.044 MB / 428.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.1654, allocations: 243 kB / 428.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/2.626, allocations: 0 / 428.5 MB, free: 5.566 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat