Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.001692/0.001692, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002026/0.002026, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.49/1.49, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2417/0.2417, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",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.002366/0.002366, allocations: 83.88 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004105/0.1381, allocations: 2.339 MB / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.1412, allocations: 1.701 MB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1415, allocations: 7.938 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.142, allocations: 147.2 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007195/0.1427, allocations: 290.8 kB / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1444, allocations: 0.521 MB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000925/0.1453, allocations: 0.5843 MB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1455, allocations: 49.06 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.1458, allocations: 239 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1461, allocations: 238.9 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-05/0.1462, allocations: 28 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.1466, allocations: 183.8 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.1468, allocations: 139.4 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.147, allocations: 210.6 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.1477, allocations: 0.5991 MB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1477, allocations: 0 / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1477, allocations: 0 / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1478, allocations: 4 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001553/0.1493, allocations: 0.9327 MB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1494, allocations: 8.031 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.1494, allocations: 42.73 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1496, allocations: 64.56 kB / 0.5642 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.1503, allocations: 484.5 kB / 0.5647 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1503, allocations: 12.61 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.1504, allocations: 20.34 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.1509, allocations: 269 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1509, allocations: 0 / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1509, allocations: 8 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1509, allocations: 4 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.1513, allocations: 107.9 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1524, allocations: 0.8836 MB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.1532, allocations: 282.5 kB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1535, allocations: 103.4 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.1535, allocations: 12.05 kB / 0.5663 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.1539, allocations: 210.6 kB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.1539, allocations: 0 / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001049/0.155, allocations: 409 kB / 0.5669 GB, free: 10.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.1552, allocations: 354.1 kB / 0.5673 GB, free: 9.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.1561, allocations: 0.6592 MB / 0.5679 GB, free: 9.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.1561, allocations: 41.64 kB / 0.568 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1564, allocations: 244.5 kB / 0.5682 GB, free: 8.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.1564, allocations: 63.53 kB / 0.5683 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1565, allocations: 65.69 kB / 0.5683 GB, free: 8.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1568, allocations: 366.8 kB / 0.5687 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.157, allocations: 83.94 kB / 0.5687 GB, free: 8.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.1574, allocations: 241.1 kB / 0.569 GB, free: 7.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1579, allocations: 235.7 kB / 0.5692 GB, free: 7.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1579, allocations: 0 / 0.5692 GB, free: 7.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007286/0.1586, allocations: 325 kB / 0.5695 GB, free: 7.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1587, allocations: 8 kB / 0.5695 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1587, allocations: 0 / 0.5695 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1587, allocations: 4 kB / 0.5695 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.159, allocations: 59.91 kB / 0.5696 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.159, allocations: 3.938 kB / 0.5696 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1592, allocations: 35.75 kB / 0.5696 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.1592, allocations: 16.11 kB / 0.5696 GB, free: 7.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002727/0.1595, allocations: 213.8 kB / 0.5698 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1596, allocations: 59.88 kB / 0.5699 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.1597, allocations: 64.23 kB / 0.57 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1597, allocations: 7.984 kB / 0.57 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.1597, allocations: 7.938 kB / 0.57 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.1597, allocations: 4 kB / 0.57 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.1602, allocations: 417.2 kB / 0.5704 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1602, allocations: 0 / 0.5704 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1604, allocations: 35.91 kB / 0.5704 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1604, allocations: 0 / 0.5704 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1604, allocations: 8 kB / 0.5704 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1604, allocations: 4 kB / 0.5704 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.1604, allocations: 11.91 kB / 0.5704 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.1611, allocations: 370.9 kB / 0.5708 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1613, allocations: 128.8 kB / 0.5709 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.1613, allocations: 12 kB / 0.5709 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1615, allocations: 11.98 kB / 0.5709 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1616, allocations: 43.89 kB / 0.571 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1617, allocations: 15.98 kB / 0.571 GB, free: 5.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006165/0.1623, allocations: 486.8 kB / 0.5715 GB, free: 5.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1623, allocations: 8 kB / 0.5715 GB, free: 5.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004361/0.1627, allocations: 99.86 kB / 0.5716 GB, free: 5.152 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002698/0.1654, allocations: 1.253 MB / 0.5728 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.166, allocations: 219.9 kB / 0.573 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.166, allocations: 0 / 0.573 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.1664, allocations: 160.3 kB / 0.5731 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.1671, allocations: 157.7 kB / 0.5733 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006274/0.1734, allocations: 4.289 MB / 0.5775 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.1739, allocations: 0.8467 MB / 0.5783 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.1742, allocations: 87.23 kB / 0.5784 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.1745, allocations: 179.4 kB / 0.5786 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1745, allocations: 0 / 0.5786 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.2139, allocations: 12.84 MB / 0.5911 GB, free: 1.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.874/9.088, allocations: 6.094 kB / 0.5911 GB, free: 1.117 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599161 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.444001874886453] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.458394288085401 9.472885976 9.322428283 Calling exit ...