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.001452/0.001452, allocations: 116.9 kB / 18.5 MB, free: 4.543 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.001779/0.001779, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2494/0.2494, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.002276/0.002276, allocations: 80.67 kB / 0.4912 GB, free: 26.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1252, allocations: 65.98 MB / 0.5556 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004326/0.1295, allocations: 2.341 MB / 0.5579 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1326, allocations: 1.699 MB / 0.5596 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1327, allocations: 7.938 kB / 0.5596 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.1332, allocations: 147.2 kB / 0.5597 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.1339, allocations: 286.8 kB / 0.56 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1353, allocations: 0.532 MB / 0.5605 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007849/0.1361, allocations: 0.5649 MB / 0.5611 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1362, allocations: 53.27 kB / 0.5611 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1366, allocations: 242.9 kB / 0.5614 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1369, allocations: 239 kB / 0.5616 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.1369, allocations: 28 kB / 0.5616 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.1373, allocations: 179.8 kB / 0.5618 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1374, allocations: 139.5 kB / 0.5619 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1377, allocations: 206.6 kB / 0.5621 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.1384, allocations: 0.5992 MB / 0.5627 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1384, allocations: 0 / 0.5627 GB, free: 1.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1384, allocations: 0 / 0.5627 GB, free: 1.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1384, allocations: 0 / 0.5627 GB, free: 1.785 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001383/0.1398, allocations: 0.9288 MB / 0.5636 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1399, allocations: 8.031 kB / 0.5636 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.1399, allocations: 50.73 kB / 0.5637 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.14, allocations: 60.56 kB / 0.5637 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.1408, allocations: 496.4 kB / 0.5642 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.1409, allocations: 12.61 kB / 0.5642 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1409, allocations: 12.38 kB / 0.5642 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1414, allocations: 261.1 kB / 0.5645 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1414, allocations: 0 / 0.5645 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.1414, allocations: 8 kB / 0.5645 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1414, allocations: 4 kB / 0.5645 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1417, allocations: 111.8 kB / 0.5646 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.143, allocations: 0.8835 MB / 0.5655 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.1436, allocations: 286.5 kB / 0.5657 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1439, allocations: 107.4 kB / 0.5658 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.1439, allocations: 8.219 kB / 0.5658 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.1443, allocations: 218.6 kB / 0.566 GB, free: 14.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1443, allocations: 0 / 0.566 GB, free: 14.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009966/0.1453, allocations: 406 kB / 0.5664 GB, free: 13.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002482/0.1456, allocations: 346.1 kB / 0.5668 GB, free: 13.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.1464, allocations: 0.6631 MB / 0.5674 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.1465, allocations: 41.7 kB / 0.5674 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1467, allocations: 240.5 kB / 0.5677 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.1468, allocations: 67.45 kB / 0.5677 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1469, allocations: 65.64 kB / 0.5678 GB, free: 12.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1471, allocations: 370.8 kB / 0.5682 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1473, allocations: 79.95 kB / 0.5682 GB, free: 11.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.1477, allocations: 241.1 kB / 0.5685 GB, free: 11.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.1481, allocations: 230.8 kB / 0.5687 GB, free: 11.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1481, allocations: 0 / 0.5687 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006624/0.1488, allocations: 325 kB / 0.569 GB, free: 10.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1488, allocations: 4 kB / 0.569 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1488, allocations: 7.938 kB / 0.569 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1488, allocations: 4.234 kB / 0.569 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1491, allocations: 59.91 kB / 0.5691 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1491, allocations: 11.94 kB / 0.5691 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.1493, allocations: 27.88 kB / 0.5691 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1493, allocations: 8.125 kB / 0.5691 GB, free: 10.7 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.0002699/0.1496, allocations: 229.7 kB / 0.5693 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.1497, allocations: 55.62 kB / 0.5694 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.1498, allocations: 56.25 kB / 0.5694 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1498, allocations: 4 kB / 0.5694 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.1498, allocations: 7.938 kB / 0.5694 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1498, allocations: 3.984 kB / 0.5695 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.1503, allocations: 417.2 kB / 0.5699 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1503, allocations: 0 / 0.5699 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1504, allocations: 31.92 kB / 0.5699 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1504, allocations: 0 / 0.5699 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.1505, allocations: 15.98 kB / 0.5699 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1505, allocations: 0 / 0.5699 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1505, allocations: 3.938 kB / 0.5699 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.1512, allocations: 378.9 kB / 0.5703 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1514, allocations: 132.7 kB / 0.5704 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.1514, allocations: 15.98 kB / 0.5704 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1516, allocations: 19.92 kB / 0.5704 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1517, allocations: 39.91 kB / 0.5705 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.1517, allocations: 11.98 kB / 0.5705 GB, free: 9.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007323/0.1525, allocations: 498.8 kB / 0.5709 GB, free: 8.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1525, allocations: 4 kB / 0.571 GB, free: 8.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006677/0.1531, allocations: 91.94 kB / 0.571 GB, free: 8.621 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.003088/0.1562, allocations: 1.249 MB / 0.5723 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006564/0.1569, allocations: 223.5 kB / 0.5725 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1569, allocations: 3.938 kB / 0.5725 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.1572, allocations: 167.8 kB / 0.5726 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1579, allocations: 155.1 kB / 0.5728 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.164, allocations: 4.274 MB / 0.577 GB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1645, allocations: 0.8467 MB / 0.5778 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.1648, allocations: 91.22 kB / 0.5779 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.1651, allocations: 175.4 kB / 0.578 GB, free: 1.391 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1651, allocations: 4 kB / 0.578 GB, free: 1.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04044/0.2055, allocations: 12.85 MB / 0.5906 GB, free: 4.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.092/9.297, allocations: 3.984 kB / 0.5906 GB, free: 4.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 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.29701965674758] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.42825659783557 9.444698651 9.302847214 Calling exit ...