Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001258/0.001258, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001589/0.001589, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.428/1.428, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2281/0.2281, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",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.00227/0.00227, allocations: 87.84 kB / 0.4918 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.133, allocations: 66.04 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003518/0.1365, allocations: 1.732 MB / 0.5579 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1384, allocations: 1.038 MB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.1385, allocations: 0 / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1389, allocations: 55.75 kB / 0.559 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.1392, allocations: 99.53 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1394, allocations: 83.66 kB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1396, allocations: 103.7 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1398, allocations: 12 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1399, allocations: 47.77 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.14, allocations: 35.8 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.14, allocations: 4 kB / 0.5594 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1401, allocations: 43.98 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.1401, allocations: 35.84 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1402, allocations: 39.67 kB / 0.5595 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1405, allocations: 139.4 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1405, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1405, allocations: 0 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1405, allocations: 0 / 0.5596 GB, free: 2.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007353/0.1412, allocations: 454.3 kB / 0.5601 GB, free: 1.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1413, allocations: 16.03 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.1413, allocations: 34.73 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1414, allocations: 16.84 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.1418, allocations: 235.7 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1419, allocations: 384 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1419, allocations: 4.375 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1421, allocations: 61.73 kB / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1421, allocations: 0 / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1421, allocations: 0 / 0.5604 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1421, allocations: 4 kB / 0.5604 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.1422, allocations: 27.91 kB / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1427, allocations: 296.9 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1429, allocations: 54.67 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1429, allocations: 16.86 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.143, allocations: 7.984 kB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1432, allocations: 71.33 kB / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1432, allocations: 0 / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006541/0.1438, allocations: 193.2 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1439, allocations: 51.41 kB / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.1442, allocations: 279.9 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1442, allocations: 33.7 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1443, allocations: 116.1 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1444, allocations: 23.84 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1444, allocations: 17.72 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1446, allocations: 334.8 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.1447, allocations: 20.36 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.1447, allocations: 37.7 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1449, allocations: 61.64 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1449, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002554/0.1451, allocations: 113.5 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1451, allocations: 6.188 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1452, allocations: 4 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1452, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1453, allocations: 15.98 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1453, allocations: 0 / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1453, allocations: 8.031 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1453, allocations: 4 kB / 0.5621 GB, free: 15.23 MB / 430.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.0001574/0.1455, allocations: 143.2 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1455, allocations: 15.91 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.1456, allocations: 21.58 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1456, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1456, allocations: 3.938 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1456, allocations: 3.938 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.1462, allocations: 415.2 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1462, allocations: 0 / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1462, allocations: 15.92 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1462, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1462, allocations: 4 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1463, allocations: 3.938 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1463, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1465, allocations: 204.3 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.1466, allocations: 93 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1466, allocations: 4 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1467, allocations: 7.938 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1467, allocations: 7.984 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1467, allocations: 4 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.147, allocations: 216.5 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.147, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1473, allocations: 39.88 kB / 0.5633 GB, free: 13.94 MB / 430.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.002258/0.1495, allocations: 1.089 MB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1497, allocations: 63.83 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1497, allocations: 4 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1498, allocations: 27.92 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1502, allocations: 27.98 kB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1526, allocations: 1.859 MB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.153, allocations: 0.7197 MB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1531, allocations: 25.16 kB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.1532, allocations: 47.42 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1532, allocations: 0 / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.1785, allocations: 3.874 MB / 0.5708 GB, free: 6.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.198, allocations: 10.17 kB / 0.5708 GB, free: 6.277 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.226929169148207] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.319888710044324 8.340897257 8.196510267 Calling exit ...