Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001293/0.001293, allocations: 121.8 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.001273/0.001273, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.641/1.641, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2549/0.2549, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",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.002324/0.002324, allocations: 83.88 kB / 0.4913 GB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1572, allocations: 65.97 MB / 0.5557 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003929/0.1611, allocations: 1.984 MB / 0.5577 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1635, allocations: 1.209 MB / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1636, allocations: 0 / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.1644, allocations: 199.3 kB / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.1649, allocations: 199.3 kB / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.1654, allocations: 166.9 kB / 0.5594 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.1658, allocations: 267.2 kB / 0.5596 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.166, allocations: 24.28 kB / 0.5597 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1661, allocations: 111.5 kB / 0.5598 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1663, allocations: 115.5 kB / 0.5599 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1663, allocations: 12 kB / 0.5599 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.1665, allocations: 55.97 kB / 0.5599 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.1666, allocations: 71.69 kB / 0.56 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1667, allocations: 79.42 kB / 0.5601 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1671, allocations: 250.9 kB / 0.5603 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1671, allocations: 0 / 0.5603 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1671, allocations: 3.938 kB / 0.5603 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1671, allocations: 0 / 0.5603 GB, free: 1.625 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009824/0.1681, allocations: 0.5659 MB / 0.5609 GB, free: 1.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1682, allocations: 8.031 kB / 0.5609 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1682, allocations: 30.75 kB / 0.5609 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.1683, allocations: 28.8 kB / 0.5609 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.1687, allocations: 291.7 kB / 0.5612 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1687, allocations: 8.375 kB / 0.5612 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1688, allocations: 4.375 kB / 0.5612 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.169, allocations: 104.3 kB / 0.5613 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.169, allocations: 0 / 0.5613 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.169, allocations: 4 kB / 0.5613 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.169, allocations: 4 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1692, allocations: 43.91 kB / 0.5614 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.1698, allocations: 389.7 kB / 0.5618 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1701, allocations: 113.2 kB / 0.5619 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.1702, allocations: 41.7 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1702, allocations: 3.938 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.1704, allocations: 121 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1704, allocations: 3.938 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005129/0.1709, allocations: 173.9 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.171, allocations: 106.8 kB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1714, allocations: 355.3 kB / 0.5626 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1715, allocations: 33.7 kB / 0.5627 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1716, allocations: 136.1 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1716, allocations: 43.73 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.1717, allocations: 25.72 kB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1718, allocations: 342.8 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.1719, allocations: 36.03 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1721, allocations: 77.14 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1722, allocations: 95.38 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1722, allocations: 0 / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002879/0.1725, allocations: 141.5 kB / 0.5635 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1726, allocations: 8 kB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1726, allocations: 0 / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1726, allocations: 4.062 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1727, allocations: 31.92 kB / 0.5636 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1727, allocations: 0 / 0.5636 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.1728, allocations: 15.94 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1728, allocations: 4 kB / 0.5636 GB, free: 13.97 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001723/0.173, allocations: 162.7 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.173, allocations: 27.81 kB / 0.5638 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.1731, allocations: 29.83 kB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1731, allocations: 4 kB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1731, allocations: 4.125 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1731, allocations: 0 / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1734, allocations: 261.5 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1734, allocations: 0 / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.1734, allocations: 11.98 kB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1734, allocations: 0 / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1734, allocations: 8 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1734, allocations: 0 / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1734, allocations: 0 / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1738, allocations: 193.6 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.1739, allocations: 96.95 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.1739, allocations: 8 kB / 0.5643 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.174, allocations: 7.984 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.174, allocations: 8 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.174, allocations: 7.984 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.1743, allocations: 261.9 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1743, allocations: 0 / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1746, allocations: 43.86 kB / 0.5647 GB, free: 12.76 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002102/0.1767, allocations: 1.033 MB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.177, allocations: 83.89 kB / 0.5658 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.177, allocations: 0 / 0.5658 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1771, allocations: 43.92 kB / 0.5658 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1775, allocations: 68.48 kB / 0.5659 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.1807, allocations: 2.352 MB / 0.5682 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1811, allocations: 0.748 MB / 0.5689 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1813, allocations: 37.92 kB / 0.5689 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.1814, allocations: 71.41 kB / 0.569 GB, free: 8.316 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1814, allocations: 4 kB / 0.569 GB, free: 8.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.2121, allocations: 5.817 MB / 0.5747 GB, free: 2.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.3, allocations: 11.98 kB / 0.5747 GB, free: 2.555 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.58278578100726] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'booleanTable.y', 'booleanTable.combiTimeTable.y[1]', 'booleanTable.realToBoolean.y'] 8.427025626879185 8.449423543 8.279262505 Calling exit ...