Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.001654/0.001654, allocations: 121.4 kB / 18.46 MB, free: 4.566 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.001819/0.001819, allocations: 214.5 kB / 21.41 MB, free: 1.617 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.548/1.548, allocations: 227.4 MB / 251.7 MB, free: 15.9 MB / 206.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.2348/0.2348, allocations: 46.15 MB / 351.1 MB, free: 14.29 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",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.00231/0.00231, allocations: 79.89 kB / 489.7 MB, free: 28.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 62.46 MB / 0.5393 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003275/0.132, allocations: 1.716 MB / 0.5409 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1338, allocations: 1.021 MB / 0.5419 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.1339, allocations: 8 kB / 0.5419 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1343, allocations: 47.75 kB / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1347, allocations: 91.55 kB / 0.5421 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.135, allocations: 83.66 kB / 0.5422 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1352, allocations: 95.7 kB / 0.5422 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1354, allocations: 24.27 kB / 0.5423 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.1355, allocations: 39.78 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.1356, allocations: 27.86 kB / 0.5423 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1356, allocations: 4 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1357, allocations: 47.97 kB / 0.5424 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.1358, allocations: 19.92 kB / 0.5424 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.1359, allocations: 35.73 kB / 0.5424 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1361, allocations: 123.4 kB / 0.5426 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1362, allocations: 4 kB / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1362, allocations: 0 / 0.5426 GB, free: 1.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1362, allocations: 0 / 0.5426 GB, free: 1.301 MB / 398.1 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.0007537/0.1369, allocations: 430.6 kB / 0.543 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.137, allocations: 12.03 kB / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.1371, allocations: 30.75 kB / 0.543 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.1371, allocations: 8.891 kB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.1375, allocations: 216.8 kB / 0.5432 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1376, allocations: 4.375 kB / 0.5432 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.1376, allocations: 4.312 kB / 0.5432 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1378, allocations: 57.8 kB / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1378, allocations: 4 kB / 0.5433 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1378, allocations: 0 / 0.5433 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1378, allocations: 4 kB / 0.5433 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.1379, allocations: 15.98 kB / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1384, allocations: 288.9 kB / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1386, allocations: 62.61 kB / 0.5436 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.1387, allocations: 24.84 kB / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1387, allocations: 0 / 0.5437 GB, free: 0 / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1389, allocations: 67.39 kB / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1389, allocations: 0 / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.1395, allocations: 185.3 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1396, allocations: 51.41 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1398, allocations: 198.3 kB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1398, allocations: 29.7 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.1399, allocations: 100.1 kB / 0.5443 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1399, allocations: 19.86 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.14, allocations: 29.64 kB / 0.5443 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1402, allocations: 326.8 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.1403, allocations: 19.94 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.1403, allocations: 41.7 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1405, allocations: 61.77 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1405, allocations: 0 / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1407, allocations: 105.5 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.1407, allocations: 4 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1407, allocations: 0 / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1407, allocations: 4 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.1408, allocations: 16.41 kB / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1409, allocations: 0 / 0.5449 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.1409, allocations: 15.98 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.141, allocations: 0 / 0.5449 GB, free: 14.67 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000182/0.1412, allocations: 129.7 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1412, allocations: 11.91 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.1413, allocations: 21.39 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1413, allocations: 4 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1413, allocations: 0 / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1413, allocations: 4 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.1419, allocations: 403.2 kB / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1419, allocations: 0 / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.142, allocations: 8 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.142, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.142, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.142, allocations: 7.938 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.142, allocations: 0 / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1423, allocations: 208.3 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.1424, allocations: 93 kB / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1424, allocations: 0 / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.1425, allocations: 7.938 kB / 0.5457 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1425, allocations: 11.98 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1426, allocations: 192 / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1427, allocations: 157.4 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1427, allocations: 7.938 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.143, allocations: 20 kB / 0.5459 GB, free: 13.48 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: 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 (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.002164/0.1451, allocations: 1.086 MB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1454, allocations: 63.84 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1454, allocations: 7.938 kB / 0.5471 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1455, allocations: 27.97 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1458, allocations: 28.11 kB / 0.5471 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1477, allocations: 1.656 MB / 0.5487 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1481, allocations: 0.7041 MB / 0.5494 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.1481, allocations: 21.2 kB / 0.5494 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.1482, allocations: 39.42 kB / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1482, allocations: 0 / 0.5495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1733, allocations: 3.469 MB / 0.5529 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.89, allocations: 4.062 kB / 0.5529 GB, free: 6.516 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.143135894089937] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.009246470988728 8.023535207 7.884748056 Calling exit ...