Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.001236/0.001236, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001261/0.001261, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.558/1.558, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2556/0.2556, allocations: 46.89 MB / 357.4 MB, free: 10.49 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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",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.002238/0.002238, allocations: 75.88 kB / 0.4913 GB, free: 8.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1533, allocations: 65.98 MB / 0.5557 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003248/0.1565, allocations: 1.829 MB / 0.5575 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1585, allocations: 1.114 MB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1586, allocations: 3.938 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.1592, allocations: 299.3 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.1598, allocations: 247.2 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1601, allocations: 111.6 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.1604, allocations: 259.3 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.31e-05/0.1605, allocations: 13.69 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1606, allocations: 131.6 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1609, allocations: 215.9 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1609, allocations: 8 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1611, allocations: 43.98 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1612, allocations: 140.5 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.1614, allocations: 146.8 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.1618, allocations: 370.2 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1618, allocations: 0 / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1618, allocations: 0 / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1618, allocations: 0 / 0.5605 GB, free: 1.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00103/0.1629, allocations: 0.75 MB / 0.5612 GB, free: 480 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1629, allocations: 19.91 kB / 0.5612 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.163, allocations: 34.75 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.163, allocations: 48.61 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.1638, allocations: 456.3 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1638, allocations: 4.359 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1638, allocations: 4.375 kB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.164, allocations: 95.42 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.164, allocations: 0 / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1641, allocations: 7.984 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1641, allocations: 4 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1642, allocations: 23.98 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1646, allocations: 374.4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1649, allocations: 101.2 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.1649, allocations: 37.7 kB / 0.5624 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.165, allocations: 3.984 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.1652, allocations: 117 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1652, allocations: 0 / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004756/0.1657, allocations: 201.2 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.1657, allocations: 77.11 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1669, allocations: 1.022 MB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1669, allocations: 33.7 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1671, allocations: 236.1 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1672, allocations: 27.78 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1672, allocations: 29.72 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1674, allocations: 362.8 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.1675, allocations: 27.98 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1676, allocations: 59.91 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1678, allocations: 95.36 kB / 0.5646 GB, free: 12.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1678, allocations: 0 / 0.5646 GB, free: 12.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003029/0.1681, allocations: 177.1 kB / 0.5648 GB, free: 12.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1681, allocations: 8 kB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1681, allocations: 64 / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1682, allocations: 7.938 kB / 0.5648 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1683, allocations: 23.98 kB / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1683, allocations: 0 / 0.5648 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.1684, allocations: 11.95 kB / 0.5648 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1684, allocations: 7.938 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002499/0.1686, allocations: 229.6 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.1687, allocations: 51.61 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.1688, allocations: 60.09 kB / 0.5651 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1688, allocations: 4 kB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1688, allocations: 0 / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1688, allocations: 7.984 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.1692, allocations: 333.5 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1692, allocations: 7.938 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1692, allocations: 7.984 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1692, allocations: 0 / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1692, allocations: 4.125 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1692, allocations: 4 kB / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1692, allocations: 0 / 0.5655 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1696, allocations: 213.5 kB / 0.5657 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1697, allocations: 140.7 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.1698, allocations: 3.984 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.1699, allocations: 4 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1699, allocations: 11.98 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.1699, allocations: 4 kB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008141/0.1707, allocations: 0.7721 MB / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1707, allocations: 0 / 0.5666 GB, free: 10.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.171, allocations: 43.94 kB / 0.5667 GB, free: 10.56 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001963/0.1729, allocations: 1.05 MB / 0.5677 GB, free: 9.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1732, allocations: 79.84 kB / 0.5678 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1732, allocations: 0 / 0.5678 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1733, allocations: 39.91 kB / 0.5678 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1737, allocations: 71.17 kB / 0.5679 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.1795, allocations: 4.477 MB / 0.5722 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.1802, allocations: 0.8426 MB / 0.5731 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.1803, allocations: 54.94 kB / 0.5731 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.1805, allocations: 151.4 kB / 0.5733 GB, free: 3.801 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1806, allocations: 4 kB / 0.5733 GB, free: 3.797 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.2139, allocations: 8.978 MB / 0.582 GB, free: 10.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/8.83, allocations: 11.86 kB / 0.582 GB, free: 10.86 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.396313277073205] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.957923240959644 9.259131096 8.815258848 Calling exit ...