Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.001256/0.001256, allocations: 117.4 kB / 18.45 MB, free: 4.59 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.001387/0.001386, allocations: 214.5 kB / 21.41 MB, free: 1.637 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.599/1.599, allocations: 227.4 MB / 251.7 MB, free: 308 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.2438/0.2438, allocations: 46.16 MB / 351.1 MB, free: 14.37 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test18",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.002237/0.002238, allocations: 84.11 kB / 489.8 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1276, allocations: 62.45 MB / 0.5393 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003607/0.1312, allocations: 1.726 MB / 0.5409 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1331, allocations: 1.021 MB / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.1332, allocations: 0 / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.1336, allocations: 43.77 kB / 0.542 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.134, allocations: 99.47 kB / 0.5421 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1342, allocations: 75.67 kB / 0.5422 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1345, allocations: 111.7 kB / 0.5423 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1346, allocations: 12.28 kB / 0.5423 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.1347, allocations: 39.8 kB / 0.5423 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.1348, allocations: 35.83 kB / 0.5423 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1348, allocations: 4 kB / 0.5423 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1349, allocations: 43.98 kB / 0.5424 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.135, allocations: 19.92 kB / 0.5424 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.1351, allocations: 35.73 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1353, allocations: 119.4 kB / 0.5426 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1354, allocations: 0 / 0.5426 GB, free: 1.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1354, allocations: 0 / 0.5426 GB, free: 1.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1354, allocations: 4 kB / 0.5426 GB, free: 1.332 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.0005866/0.136, allocations: 414.7 kB / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.136, allocations: 15.97 kB / 0.543 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.1361, allocations: 30.75 kB / 0.543 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1361, allocations: 12.84 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1364, allocations: 208.2 kB / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1365, allocations: 384 / 0.5432 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1365, allocations: 4.375 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1366, allocations: 65.73 kB / 0.5433 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1367, allocations: 3.984 kB / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1367, allocations: 0 / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1367, allocations: 0 / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.1368, allocations: 23.98 kB / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.1372, allocations: 292.8 kB / 0.5436 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1374, allocations: 58.62 kB / 0.5436 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1374, allocations: 20.84 kB / 0.5437 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1375, allocations: 4 kB / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1377, allocations: 63.39 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1377, allocations: 0 / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005907/0.1383, allocations: 177.3 kB / 0.5439 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.1383, allocations: 59.41 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1385, allocations: 173.5 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1386, allocations: 33.69 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.1387, allocations: 100.1 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.1387, allocations: 27.78 kB / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1388, allocations: 17.72 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1389, allocations: 330.8 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.139, allocations: 28.3 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.1391, allocations: 37.64 kB / 0.5447 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1392, allocations: 61.7 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1392, allocations: 4 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.1394, allocations: 101.5 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1395, allocations: 9.875 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1395, allocations: 32 / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1395, allocations: 4 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1396, allocations: 19.98 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1396, allocations: 3.938 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.1396, allocations: 4 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1397, allocations: 4 kB / 0.5449 GB, free: 14.72 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.0001248/0.1398, allocations: 133.7 kB / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.1398, allocations: 7.953 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1399, allocations: 13.41 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1399, allocations: 8 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1399, allocations: 0 / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1399, allocations: 0 / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1404, allocations: 399.2 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1404, allocations: 0 / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.1404, allocations: 8 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1404, allocations: 4 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1405, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1405, allocations: 3.938 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1405, allocations: 4.031 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1407, allocations: 204.3 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1408, allocations: 89.02 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1408, allocations: 4 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.1409, allocations: 3.938 kB / 0.5457 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.141, allocations: 11.98 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.141, allocations: 8 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1411, allocations: 140.9 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1414, allocations: 23.94 kB / 0.5459 GB, free: 13.57 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.002118/0.1435, allocations: 1.083 MB / 0.5469 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1437, allocations: 67.89 kB / 0.547 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1437, allocations: 64 / 0.547 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.1438, allocations: 31.92 kB / 0.547 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1442, allocations: 30 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.146, allocations: 1.641 MB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1464, allocations: 0.708 MB / 0.5494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1465, allocations: 17.17 kB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.1466, allocations: 31.42 kB / 0.5494 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1466, allocations: 0 / 0.5494 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.1715, allocations: 3.407 MB / 0.5527 GB, free: 6.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/7.898, allocations: 3.625 kB / 0.5527 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_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_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.211860539973713] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.019108477048576 8.041278065 7.902341004 Calling exit ...