Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 117.4 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 210.5 kB / 21.41 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 251.7 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2404/0.2404, allocations: 46.15 MB / 351.1 MB, free: 14.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 88.2 kB / 489.7 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 62.45 MB / 0.5392 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003207/0.1336, allocations: 1.817 MB / 0.541 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1354, allocations: 1.091 MB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1355, allocations: 7.938 kB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.1361, allocations: 311.3 kB / 0.5424 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.1366, allocations: 263.2 kB / 0.5426 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1368, allocations: 103.6 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.1371, allocations: 263.3 kB / 0.543 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.1372, allocations: 13.67 kB / 0.543 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.1374, allocations: 135.5 kB / 0.5431 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1376, allocations: 199.5 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.1377, allocations: 4 kB / 0.5433 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1378, allocations: 43.98 kB / 0.5434 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1379, allocations: 139.5 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1381, allocations: 150.8 kB / 0.5436 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.1385, allocations: 378.5 kB / 0.544 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1386, allocations: 4 kB / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1386, allocations: 0 / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1386, allocations: 0 / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009814/0.1396, allocations: 0.7693 MB / 0.5448 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1396, allocations: 8.031 kB / 0.5448 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1397, allocations: 34.75 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.1397, allocations: 56.61 kB / 0.5449 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.1403, allocations: 452.4 kB / 0.5453 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1404, allocations: 8.375 kB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1404, allocations: 384 / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1406, allocations: 91.48 kB / 0.5454 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1406, allocations: 3.938 kB / 0.5454 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1406, allocations: 0 / 0.5454 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1406, allocations: 0 / 0.5454 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1408, allocations: 35.97 kB / 0.5454 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1412, allocations: 390.2 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1415, allocations: 109.2 kB / 0.5459 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.1416, allocations: 45.69 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1416, allocations: 7.938 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1418, allocations: 105 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1418, allocations: 0 / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004889/0.1423, allocations: 205.2 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1424, allocations: 81.09 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1436, allocations: 1.05 MB / 0.5473 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1436, allocations: 29.7 kB / 0.5474 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1438, allocations: 236.1 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.1439, allocations: 35.73 kB / 0.5476 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1439, allocations: 21.72 kB / 0.5477 GB, free: 11.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1441, allocations: 378.8 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.1442, allocations: 27.98 kB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.1443, allocations: 51.42 kB / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1445, allocations: 95.84 kB / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1445, allocations: 0 / 0.5482 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003105/0.1448, allocations: 181.1 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1448, allocations: 4 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1449, allocations: 0 / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1449, allocations: 4 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.145, allocations: 19.98 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.145, allocations: 4 kB / 0.5484 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.1451, allocations: 16.05 kB / 0.5484 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1451, allocations: 4 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.1454, allocations: 217.7 kB / 0.5486 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.1455, allocations: 67.55 kB / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.1456, allocations: 56.14 kB / 0.5487 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1456, allocations: 4 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1456, allocations: 0 / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1456, allocations: 0 / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.146, allocations: 345.4 kB / 0.5491 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.146, allocations: 11.94 kB / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.146, allocations: 4 kB / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.146, allocations: 0 / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1461, allocations: 15.92 kB / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1461, allocations: 0 / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1461, allocations: 0 / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.1464, allocations: 205.5 kB / 0.5493 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1466, allocations: 148.7 kB / 0.5494 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1466, allocations: 0 / 0.5494 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1467, allocations: 11.98 kB / 0.5494 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1467, allocations: 7.984 kB / 0.5494 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1468, allocations: 4 kB / 0.5495 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008494/0.1476, allocations: 0.7878 MB / 0.5502 GB, free: 9.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1476, allocations: 0 / 0.5502 GB, free: 9.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1479, allocations: 40 kB / 0.5503 GB, free: 9.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.1499, allocations: 1.05 MB / 0.5513 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1502, allocations: 79.91 kB / 0.5514 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1502, allocations: 0 / 0.5514 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1503, allocations: 44.03 kB / 0.5514 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1508, allocations: 75.73 kB / 0.5515 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.1566, allocations: 4.578 MB / 0.5559 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.1572, allocations: 0.8505 MB / 0.5568 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000173/0.1574, allocations: 58.94 kB / 0.5568 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.1576, allocations: 151.4 kB / 0.557 GB, free: 2.137 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1576, allocations: 0 / 0.557 GB, free: 2.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.1907, allocations: 9.105 MB / 0.5659 GB, free: 9.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.704, allocations: 3.859 kB / 0.5659 GB, free: 9.125 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.119464179035276] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.841679577017203 8.855680461 8.714462342 Calling exit ...