Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test5",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.01311/0.01311, allocations: 107.2 kB / 15.06 MB, free: 6.027 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.001642/0.001642, allocations: 181.6 kB / 15.95 MB, free: 5.953 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.135/2.135, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.267/0.267, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006495, allocations: 12 kB / 361.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1226, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002818/0.1255, allocations: 1.357 MB / 417.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1273, allocations: 0.7423 MB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1275, allocations: 0 / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.1279, allocations: 95.73 kB / 418.2 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1281, allocations: 67.83 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1284, allocations: 51.83 kB / 418.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1286, allocations: 79.83 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1288, allocations: 16.22 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1289, allocations: 51.83 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.129, allocations: 51.81 kB / 418.5 MB, free: 40 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1291, allocations: 4 kB / 418.5 MB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1292, allocations: 24 kB / 418.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.1293, allocations: 31.84 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1294, allocations: 37.64 kB / 418.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1296, allocations: 104.1 kB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1296, allocations: 0 / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1296, allocations: 0 / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1297, allocations: 0 / 418.7 MB, free: 15.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006849/0.1304, allocations: 482.1 kB / 419.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.1304, allocations: 12.03 kB / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.1305, allocations: 30.56 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1305, allocations: 15.84 kB / 419.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1309, allocations: 218.7 kB / 419.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1309, allocations: 8 kB / 419.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1309, allocations: 7.953 kB / 419.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1312, allocations: 69.66 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1312, allocations: 4 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1312, allocations: 3.938 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1313, allocations: 0 / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1314, allocations: 39.91 kB / 419.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.1319, allocations: 324.7 kB / 419.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1322, allocations: 82.75 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1323, allocations: 4 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.1325, allocations: 79.42 kB / 420.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.1326, allocations: 0 / 420.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.00096/0.1335, allocations: 229.1 kB / 420.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1336, allocations: 51.41 kB / 420.4 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1339, allocations: 258 kB / 420.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.134, allocations: 29.7 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.1341, allocations: 112 kB / 420.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.1341, allocations: 31.55 kB / 420.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.1342, allocations: 11.94 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1343, allocations: 334.8 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1345, allocations: 35.98 kB / 421.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1347, allocations: 69.62 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1349, allocations: 73.7 kB / 421.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1349, allocations: 4 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004766/0.1354, allocations: 191.2 kB / 421.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.1354, allocations: 32.52 kB / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1354, allocations: 4 kB / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1355, allocations: 0 / 421.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1357, allocations: 23.92 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1357, allocations: 4 kB / 421.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.1358, allocations: 12.03 kB / 421.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1358, allocations: 4 kB / 421.6 MB, free: 12.74 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 (14): * Single equations (assignments): 13 * 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.0001613/0.136, allocations: 137.8 kB / 421.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.1361, allocations: 19.8 kB / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.1361, allocations: 21.41 kB / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1361, allocations: 0 / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1362, allocations: 0 / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1362, allocations: 0 / 421.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.137, allocations: 455.2 kB / 422.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.137, allocations: 96 / 422.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.1371, allocations: 19.92 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.1371, allocations: 4 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1371, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1372, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1372, allocations: 4 kB / 422.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1376, allocations: 253.8 kB / 422.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.1377, allocations: 104.9 kB / 422.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.1378, allocations: 4 kB / 422.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1379, allocations: 7.984 kB / 422.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.138, allocations: 11.95 kB / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.138, allocations: 7.984 kB / 422.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.1382, allocations: 180.4 kB / 422.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1383, allocations: 0 / 422.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.1387, allocations: 28 kB / 422.8 MB, free: 11.4 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 (11): * Single equations (assignments): 9 * 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.001949/0.1406, allocations: 1.191 MB / 424 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.1411, allocations: 183.2 kB / 424.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1412, allocations: 0 / 424.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1413, allocations: 39.92 kB / 424.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1417, allocations: 32.23 kB / 424.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1429, allocations: 0.7099 MB / 424.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1433, allocations: 0.7199 MB / 425.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1434, allocations: 20.88 kB / 425.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1436, allocations: 43.42 kB / 425.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1436, allocations: 0 / 425.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.1744, allocations: 3.372 MB / 429.1 MB, free: 5.055 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003965/0.1749, allocations: 256.9 kB / 429.3 MB, free: 4.711 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.604, allocations: 3.938 kB / 429.4 MB, free: 4.707 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat