Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test7",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.0111/0.01111, allocations: 111.4 kB / 15.06 MB, free: 5.551 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.001192/0.001192, allocations: 179.4 kB / 15.95 MB, free: 5.516 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.096/2.096, allocations: 194.5 MB / 211.2 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.2646/0.2646, allocations: 40.04 MB / 296.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 16 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002555/0.1265, allocations: 1.349 MB / 417.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1282, allocations: 0.719 MB / 418.1 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.1284, allocations: 7.938 kB / 418.1 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1288, allocations: 95.77 kB / 418.2 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1291, allocations: 67.78 kB / 418.3 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1293, allocations: 51.83 kB / 418.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1295, allocations: 75.83 kB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1297, allocations: 8 kB / 418.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1298, allocations: 47.83 kB / 418.4 MB, free: 108 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1299, allocations: 47.83 kB / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.13, allocations: 0 / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1301, allocations: 31.98 kB / 418.5 MB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1302, allocations: 19.91 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.1303, allocations: 45.64 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1305, allocations: 96.03 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1305, allocations: 0 / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1306, allocations: 0 / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1306, allocations: 0 / 418.7 MB, free: 15.86 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.0006733/0.1312, allocations: 462.3 kB / 419.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1313, allocations: 12.03 kB / 419.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.1314, allocations: 34.56 kB / 419.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1314, allocations: 11.81 kB / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1317, allocations: 211.6 kB / 419.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1318, allocations: 7.938 kB / 419.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1318, allocations: 7.953 kB / 419.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.132, allocations: 53.67 kB / 419.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.132, allocations: 0 / 419.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1321, allocations: 0 / 419.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1321, allocations: 0 / 419.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1322, allocations: 23.97 kB / 419.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1327, allocations: 308.8 kB / 419.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.133, allocations: 62.55 kB / 419.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.133, allocations: 3.984 kB / 419.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1333, allocations: 71.52 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.1333, allocations: 0 / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00082/0.1341, allocations: 181.1 kB / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1342, allocations: 51.41 kB / 420.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.1346, allocations: 238.9 kB / 420.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1346, allocations: 33.69 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.1347, allocations: 100.1 kB / 420.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1348, allocations: 27.64 kB / 420.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.1348, allocations: 12 kB / 420.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.135, allocations: 326.8 kB / 420.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1351, allocations: 35.92 kB / 420.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1352, allocations: 45.64 kB / 421 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1354, allocations: 65.69 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1354, allocations: 0 / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004287/0.1359, allocations: 159.1 kB / 421.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.1359, allocations: 41.72 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.136, allocations: 0 / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.136, allocations: 4 kB / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1362, allocations: 16 kB / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1362, allocations: 0 / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1363, allocations: 7.984 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1363, allocations: 4 kB / 421.2 MB, free: 13.04 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.0001846/0.1365, allocations: 137.8 kB / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1366, allocations: 15.84 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.1366, allocations: 17.78 kB / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1366, allocations: 0 / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1367, allocations: 0 / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1367, allocations: 4 kB / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.1375, allocations: 411.2 kB / 421.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1375, allocations: 4 kB / 421.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.1376, allocations: 8 kB / 421.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1376, allocations: 7.969 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1376, allocations: 0 / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.1376, allocations: 4 kB / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.1376, allocations: 0 / 421.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.138, allocations: 214 kB / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.1381, allocations: 100.9 kB / 422.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1382, allocations: 7.984 kB / 422.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1383, allocations: 7.938 kB / 422.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1383, allocations: 4 kB / 422.2 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1384, allocations: 7.984 kB / 422.2 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002413/0.1386, allocations: 185.1 kB / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1386, allocations: 0 / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.1393, allocations: 28 kB / 422.4 MB, free: 11.79 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.002051/0.1413, allocations: 1.161 MB / 423.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.1418, allocations: 151.3 kB / 423.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1418, allocations: 8 kB / 423.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.142, allocations: 31.92 kB / 423.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1424, allocations: 24.12 kB / 423.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1435, allocations: 0.6619 MB / 424.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1439, allocations: 0.7236 MB / 425.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.951e-05/0.144, allocations: 16.56 kB / 425.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1442, allocations: 39.42 kB / 425.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1442, allocations: 0 / 425.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.173, allocations: 3.083 MB / 428.3 MB, free: 5.863 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004951/0.1735, allocations: 249.2 kB / 428.5 MB, free: 5.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/2.811, allocations: 0 / 428.5 MB, free: 5.527 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat